Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sd15 lora saving error #1097

Closed
sneccc opened this issue Oct 24, 2024 · 0 comments
Closed

sd15 lora saving error #1097

sneccc opened this issue Oct 24, 2024 · 0 comments

Comments

@sneccc
Copy link

sneccc commented Oct 24, 2024

2024-10-24 16:23:58,181 [INFO] Saving current state to output/glyph_icons_sd15/checkpoint-50
StableDiffusionLoraLoaderMixin.save_lora_weights() got an unexpected keyword argument 'transformer_lora_layers'
Traceback (most recent call last):
  File "/notebooks/SimpleTuner/train.py", line 49, in <module>
    trainer.train()
  File "/notebooks/SimpleTuner/helpers/training/trainer.py", line 2716, in train
    self.accelerator.save_state(save_path)
  File "/notebooks/SimpleTuner/.venv/lib/python3.10/site-packages/accelerate/accelerator.py", line 3031, in save_state
    hook(self._models, weights, output_dir)
  File "/notebooks/SimpleTuner/helpers/training/save_hooks.py", line 339, in save_model_hook
    self._save_lora(models=models, weights=weights, output_dir=output_dir)
  File "/notebooks/SimpleTuner/helpers/training/save_hooks.py", line 249, in _save_lora
    self.pipeline_class.save_lora_weights(
TypeError: StableDiffusionLoraLoaderMixin.save_lora_weights() got an unexpected keyword argument 'transformer_lora_layers'
bghira pushed a commit that referenced this issue Oct 26, 2024
bghira added a commit that referenced this issue Oct 26, 2024
@bghira bghira closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants