error AttributeError: module diffusers has no attribute EDMDPMSolverMultistepScheduler. Did you mean: 'DPMSolverMultistepScheduler'?

#5
by nebula - opened

Loading pipeline components...: 29%|██████████████████▎ | 2/7 [00:00<00:00, 19.80it/s]
The config attributes {'latents_mean': [-1.6574, 1.886, -1.383, 2.5155], 'latents_std': [8.4927, 5.9022, 6.5498, 5.2299]} were passed to AutoencoderKL, but are not expected and will be ignored. Please verify your config.json configuration file.
/home/miniconda3/envs/cl/lib/python3.10/site-packages/diffusers/models/lora.py:300: FutureWarning: LoRACompatibleConv is deprecated and will be removed in version 1.0.0. Use of LoRACompatibleConv is deprecated. Please switch to PEFT backend by installing PEFT: pip install peft.
deprecate("LoRACompatibleConv", "1.0.0", deprecation_message)
/home/miniconda3/envs/cl/lib/python3.10/site-packages/diffusers/models/lora.py:384: FutureWarning: LoRACompatibleLinear is deprecated and will be removed in version 1.0.0. Use of LoRACompatibleLinear is deprecated. Please switch to PEFT backend by installing PEFT: pip install peft.
deprecate("LoRACompatibleLinear", "1.0.0", deprecation_message)
Loading pipeline components...: 71%|█████████████████████████████████████████████▋ | 5/7 [00:00<00:00, 14.77it/s]
Traceback (most recent call last):
File "/home/ybwork/sample_pg2.py", line 9, in
pipe = DiffusionPipeline.from_pretrained(
File "/home/miniconda3/envs/cl/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/miniconda3/envs/cl/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1263, in from_pretrained
loaded_sub_model = load_sub_model(
File "/home/miniconda3/envs/cl/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 443, in load_sub_model
class_obj, class_candidates = get_class_obj_and_candidates(
File "/home/miniconda3/envs/cl/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 347, in get_class_obj_and_candidates
class_obj = getattr(library, class_name)
File "/home/miniconda3/envs/cl/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 697, in getattr
raise AttributeError(f"module {self.name} has no attribute {name}")
AttributeError: module diffusers has no attribute EDMDPMSolverMultistepScheduler. Did you mean: 'DPMSolverMultistepScheduler'?

all with latest diffusers transformers

I think you have to install it from main as it is not released yet with this scheduler

Same here

I think you have to install it from main as it is not released yet with this scheduler

u mean install diffusers from git main?

I think you have to install it from main as it is not released yet with this scheduler

u mean install diffusers from git main?

nah
that did not work for me
same error

I think you have to install it from main as it is not released yet with this scheduler

this is the way and the transformers is latest

pip install git+https://github.com/huggingface/diffusers

pip install git+https://github.com/huggingface/diffusers

it works.thanks!

pip install git+https://github.com/huggingface/diffusers

thx , i figured it out too ;)

Meanwhile it stops at any percentage of progress. Without error messages or exceptions. Any Ideas. Running on Windows. On my MAC everything works fine

Sign up or log in to comment