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

Fix lora script #64

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ronigoldnexar
Copy link

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