Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

LoRA Dreambooth Dependency Error #346

Open
s0ulessb0nes opened this issue Mar 14, 2024 · 3 comments
Open

LoRA Dreambooth Dependency Error #346

s0ulessb0nes opened this issue Mar 14, 2024 · 3 comments

Comments

@s0ulessb0nes
Copy link

Error on installing dependencies for current Collab version of LoRA Dreambooth:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tf-keras 2.15.1 requires tensorflow<2.16,>=2.15, but you have tensorflow 2.16.1 which is incompatible. torchaudio 2.2.1+cu121 requires torch==2.2.1, but you have torch 2.1.0 which is incompatible. torchtext 0.17.1 requires torch==2.2.1, but you have torch 2.1.0 which is incompatible.

@DEX-1101
Copy link

try change xformers to !pip install xformers==0.0.24 --no-deps

@Macgiy
Copy link

Macgiy commented Mar 15, 2024

try change xformers to !pip install xformers==0.0.24 --no-deps

where should I put it? I tried both in requirements.txt and the main but it doesn't work

@DEX-1101
Copy link

try change xformers to !pip install xformers==0.0.24 --no-deps

where should I put it? I tried both in requirements.txt and the main but it doesn't work

main or requirements should work, did you replaced the old one?
or if still can't i have fork that worked, you might can try it : https://github.com/DEX-1101/kohya-trainer/blob/main/kohya_LoRA_trainer_XL_v1.ipynb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants