-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Description
Describe the bug
Hello,
I have met an ImportError when I run from diffusers.loaders import LoraLoaderMixin
. When I searched for the source code of this class LoraLoaderMixin
, I could not find the page. Can anyone help me with that? Thanks!
Reproduction
```from diffusers.loaders import LoraLoaderMixin``
Logs
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-8-a5769eb9fd75> in <cell line: 55>()
53 UNet2DConditionModel,
54 )
---> 55 from diffusers.loaders import LoraLoaderMixin
56 from diffusers.optimization import get_scheduler
57 from diffusers.training_utils import _set_state_dict_into_text_encoder, cast_training_params
ImportError: cannot import name 'LoraLoaderMixin' from 'diffusers.loaders' (/usr/local/lib/python3.10/dist-packages/diffusers/loaders/__init__.py)
System Info
🤗 Diffusers version: 0.30.0.dev0
Platform: Linux-6.1.85+-x86_64-with-glibc2.35
Running on a notebook?: No
Running on Google Colab?: No
Python version: 3.10.12
PyTorch version (GPU?): 2.3.1+cu121 (True)
Flax version (CPU?/GPU?/TPU?): 0.8.4 (gpu)
Jax version: 0.4.26
JaxLib version: 0.4.26
Huggingface_hub version: 0.23.4
Transformers version: 4.42.4
Accelerate version: not installed
PEFT version: not installed
Bitsandbytes version: not installed
Safetensors version: 0.4.3
xFormers version: not installed
Accelerator: NVIDIA L4, 23034 MiB VRAM
Using GPU in script?:
Using distributed or parallel set-up in script?:
Who can help?
No response