Hi,
I encountered the following error when trying to run training
TypeError: Linear.forward() got an unexpected keyword argument 'scale'
Traceback (most recent call last):
File "training.py", line 37, in
main(conf)
File "training.py", line 16, in main
cfr_lora_training(conf.MACE)
File "src/cfr_lora_training.py", line 522, in main
model_pred = unet(noisy_latents, timesteps, encoder_hidden_states).sample
...
File "src/mace_lora_atten_processor.py", line 43, in call
query = attn.to_q(hidden_states, scale=scale)
TypeError: Linear.forward() got an unexpected keyword argument 'scale'
My environment:
python 3.10.18
diffusers 0.22.0
transformers 4.46.2
huggingface-hub 0.25.2
Hi,
I encountered the following error when trying to run training
TypeError: Linear.forward() got an unexpected keyword argument 'scale'
Traceback (most recent call last):
File "training.py", line 37, in
main(conf)
File "training.py", line 16, in main
cfr_lora_training(conf.MACE)
File "src/cfr_lora_training.py", line 522, in main
model_pred = unet(noisy_latents, timesteps, encoder_hidden_states).sample
...
File "src/mace_lora_atten_processor.py", line 43, in call
query = attn.to_q(hidden_states, scale=scale)
TypeError: Linear.forward() got an unexpected keyword argument 'scale'
My environment:
python 3.10.18
diffusers 0.22.0
transformers 4.46.2
huggingface-hub 0.25.2