You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error trying to use your Omnigen node after installation.
Thank you in advance for your help.
Best regards,
Error importing OmniGen: cannot import name 'PeftAdapterMixin' from 'diffusers.loaders' (C:\Program Files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\loaders.py)
!!! Exception during processing !!! Failed to import OmniGen. Please check if the code was downloaded correctly.
Traceback (most recent call last):
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 32, in init
from OmniGen import OmniGenPipeline
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen_init_.py", line 1, in
from .model import OmniGen
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\model.py", line 9, in
from diffusers.loaders import PeftAdapterMixin
ImportError: cannot import name 'PeftAdapterMixin' from 'diffusers.loaders' (C:\Program Files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\loaders.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
obj = class_def()
^^^^^^^^^^^
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 36, in init
raise RuntimeError("Failed to import OmniGen. Please check if the code was downloaded correctly.")
RuntimeError: Failed to import OmniGen. Please check if the code was downloaded correctly.
The text was updated successfully, but these errors were encountered:
It looks like you're encountering an import error due to a missing or incompatible component, specifically PeftAdapterMixin from diffusers.loaders. This could be due to either an outdated or incompatible version of the diffusers library.
Update the diffusers library: Make sure you're using the latest version of diffusers by running: pip install --upgrade diffusers
i was have the same issue, after update the diffusers, the error gone.
Hello,
I got this error trying to use your Omnigen node after installation.
Thank you in advance for your help.
Best regards,
Error importing OmniGen: cannot import name 'PeftAdapterMixin' from 'diffusers.loaders' (C:\Program Files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\loaders.py)
!!! Exception during processing !!! Failed to import OmniGen. Please check if the code was downloaded correctly.
Traceback (most recent call last):
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 32, in init
from OmniGen import OmniGenPipeline
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen_init_.py", line 1, in
from .model import OmniGen
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\model.py", line 9, in
from diffusers.loaders import PeftAdapterMixin
ImportError: cannot import name 'PeftAdapterMixin' from 'diffusers.loaders' (C:\Program Files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\loaders.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
obj = class_def()
^^^^^^^^^^^
File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 36, in init
raise RuntimeError("Failed to import OmniGen. Please check if the code was downloaded correctly.")
RuntimeError: Failed to import OmniGen. Please check if the code was downloaded correctly.
The text was updated successfully, but these errors were encountered: