Skip to content

Fix lora script#64

Open
ronigoldnexar wants to merge 2 commits intopixeli99:mainfrom
ronigoldnexar:fix-lora-script
Open

Fix lora script#64
ronigoldnexar wants to merge 2 commits intopixeli99:mainfrom
ronigoldnexar:fix-lora-script

Conversation

@ronigoldnexar
Copy link
Copy Markdown

This pull request resolves an issue in train_svd_lora.py where the save_lora_weights attribute caused an AttributeError in StableVideoDiffusionPipeline. The fix replaces the incorrect reference with StableDiffusionLoraLoaderMixin, ensuring that Lora fine-tuning works as expected on latest version of diffusers.

This change has been tested and verified to work without errors.

…ith StableDiffusionLoraLoaderMixin

Resolved the AttributeError by replacing the incorrect 'save_lora_weights' call with 'StableDiffusionLoraLoaderMixin'. This enables proper handling of Lora fine-tuning in StableVideoDiffusionPipeline.
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

Successfully merging this pull request may close these issues.

1 participant