Skip to content

Conversation

@StarMingGao
Copy link

Motivation

To solve #265 , we give a script that can map from Lora to diffusers.

Modifications

Add the script "examples/flux.1-dev-lora-to-diffusers.py". You can modify the lora path in the script to your own lora path, and then run the script to generate the corresponding converted lora weights in your lora path directory. The converted lora weights end with 'contentverted.safesensors'.

Checklist

  • Code is formatted using Pre-Commit hooks.
  • Relevant unit tests are added in the tests directory following the guidance in tests/README.md.
  • README and example scripts in examples are updated if necessary.
  • Throughput/latency benchmarks and quality evaluations are included where applicable.
  • For reviewers: If you're only helping merge the main branch and haven't contributed code to this PR, please remove yourself as a co-author when merging.
  • Please feel free to join our Slack, Discord or WeChat to discuss your PR.

@lmxyy lmxyy changed the title #265 fix: fix the LoRA loading issue in #265 Jul 7, 2025
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