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

kohya-LoRA-trainer-XL pillow and torch error #347

Open
Copynoa opened this issue Mar 15, 2024 · 5 comments
Open

kohya-LoRA-trainer-XL pillow and torch error #347

Copynoa opened this issue Mar 15, 2024 · 5 comments

Comments

@Copynoa
Copy link

Copynoa commented Mar 15, 2024

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.
imageio 2.31.6 requires pillow<10.1.0,>=8.3.2, but you have pillow 10.2.0 which is incompatible.
torchvision 0.17.1+cu121 requires torch==2.2.1, but you have torch 2.1.0 which is incompatible.

ValueError: Could not find the operator torchvision::nms. Please make sure you have already
registered the operator and (if registered from C++) loaded it via torch.ops.load_library.

@kybercore
Copy link

Same dependency issue here

@DEX-1101
Copy link

replace xformers code to !pip install -q xformers==0.0.26.dev767

@Copynoa
Copy link
Author

Copynoa commented Mar 17, 2024

replace xformers code to !pip install -q xformers==0.0.26.dev767

Thank you so much,it works!

@joneschunghk
Copy link

ERROR: Could not find a version that satisfies the requirement xformers==0.0.26.dev767 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.16rc424, 0.0.16rc425, 0.0.16, 0.0.17rc481, 0.0.17rc482, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.22.post7, 0.0.23, 0.0.23.post1, 0.0.24, 0.0.25, 0.0.26.dev768, 0.0.26.dev769)
ERROR: No matching distribution found for xformers==0.0.26.dev767

It has an error but can still be trained

@DEX-1101
Copy link

DEX-1101 commented Mar 22, 2024

ERROR: Could not find a version that satisfies the requirement xformers==0.0.26.dev767 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.16rc424, 0.0.16rc425, 0.0.16, 0.0.17rc481, 0.0.17rc482, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.22.post7, 0.0.23, 0.0.23.post1, 0.0.24, 0.0.25, 0.0.26.dev768, 0.0.26.dev769)
ERROR: No matching distribution found for xformers==0.0.26.dev767

It has an error but can still be trained

change to xformers==0.0.26.dev769 , somehow they removed the .dev767 version

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

4 participants