diffusers issue
This software is the most trouble on installation which has the lowest installation success rate I've ever encountered.
I deployed it locally via command line as notice in webpage, but a issue of diffusers failing always show in command line as the install of the requirements list, even after updating with pip install diffusers by manual.
then, I choose AI-Toolkit-Easy-Install instead, the installation goes smoothly without any diffusers issues, but after entering the training interface and setting the parameters, clicking start, the new DOS window doesn't appear which is a signal of training works. There are no warnings or explanations for why it's not starting properly.
requirement list: "git+https://github.com/huggingface/diffusers.git@dc8d9032171c83741fd37ed2b12bc9d8274464f3 #pip install git+https://github.com/huggingface/diffusers.git@refs/pull/13432/head"
they are always fail in installation.
PS D:\lora\AI-Toolkit> pip install -r requirements.txt Collecting git+https://github.com/huggingface/diffusers.git@dc8d9032171c83741fd37ed2b12bc9d8274464f3 (from -r D:\lora\AI-Toolkit\requirements_base.txt (line 3)) Cloning https://github.com/huggingface/diffusers.git (to revision dc8d9032171c83741fd37ed2b12bc9d8274464f3) to C:\Users\Owen\AppData\Local\Temp\pip-req-build-wghv0m6l Running command git clone --filter=blob:none --quiet https://github.com/huggingface/diffusers.git 'C:\Users\Owen\AppData\Local\Temp\pip-req-build-wghv0m6l' fatal: unable to access 'https://github.com/huggingface/diffusers.git/': Recv failure: Connection was reset error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/huggingface/diffusers.git 'C:\Users\Owen\AppData\Local\Temp\pip-req-build-wghv0m6l' did not run successfully. │ exit code: 128 ╰─> No available output.
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'git+https://github.com/huggingface/diffusers.git@dc8d9032171c83741fd37ed2b12bc9d8274464f3' when git clone --filter=blob:none --quiet https://github.com/huggingface/diffusers.git 'c:\users\owen\appdata\local\temp\pip-req-build-wghv0m6l' PS D:\lora\AI-Toolkit>
same problem
For windows users try in ur powershell in ur ai-toolkit folder : git pull afterwards Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\venv\Scripts\activate
then pip uninstall -y diffusers pip install -r requirements.txt pip install --upgrade diffusers accelerate transformers huggingface_hub
Hi. I don't know if it's the same problem. I'm trying to train a LTX 2.3 Lora. Ai toolkit is running on Stability Matrix in Windows. The job starts and then stays forever. When stopped in the dos powershell there is that error message 'RuntimeErrorRuntimeError: : Failed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback): numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObjectFailed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback):' I've tried the ZappZack patch, but the error stays the same.
Hi. I don't know if it's the same problem. I'm trying to train a LTX 2.3 Lora. Ai toolkit is running on Stability Matrix in Windows. The job starts and then stays forever. When stopped in the dos powershell there is that error message 'RuntimeErrorRuntimeError: : Failed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback): numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObjectFailed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback):' I've tried the ZappZack patch, but the error stays the same.
I think it is different issue, : )
For windows users try in ur powershell in ur ai-toolkit folder : git pull afterwards Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\venv\Scripts\activate
then pip uninstall -y diffusers pip install -r requirements.txt pip install --upgrade diffusers accelerate transformers huggingface_hub
Thanks! I tried your method that diffuser issue was solved but scipy had problem. Then I found it came from python 3.13 followed with comfyui latest version requirement. Then I replaced it as python 3.12 and got good result later. I think I should follow up all detail version mentioned in notice in future. Thank you very much again!
On DGX Spark, loaded the most recent release with a git pull, got this (and other related errors):
ImportErrorImportError: : cannot import name 'LTX2VocoderWithBWE' from 'diffusers.pipelines.ltx2.vocoder'
I've tried all of the diffusers fixes listed above but none of them work. Running suggests updating diffusers but it doesn't fix it.
On DGX Spark, this command fixed the diffusers problem (in the venv):
pip uninstall diffusers -y pip install git+https://github.com/huggingface/diffusers.git
This issue has been automatically closed due to inactivity. It has had no activity for 3 months.
If this issue is still relevant, please feel free to reopen it with updated information or context. We apologize for any inconvenience.