how to use "flux1-canny-dev-lora" with diffusers #10149
Replies: 2 comments 1 reply
Loading LoRA Weights in Your PipelineWhen implementing LoRA (Low-Rank Adaptation) in your model, ensure that you have the correct path to your LoRA weights. Here’s a guideline on how to load them properly: Check Your LoRA Path: Verify that the path specified for the LoRA weights is correct. Loading Weights: Use the following code snippet to load your LoRA weights into the pipeline: Load LoRA weightspipe.load_lora_weights(path_of_lora, adapter_name="default") Define the path to your LoRA weightspath_of_lora = "path/to/your/lora/weights" Load the weights into the pipelinepipe.load_lora_weights(path_of_lora, adapter_name="your_adapter_name") ` |
|
@todochenxi This should now be supported as #9999 is merged. Could you try again? |
Uh oh!
There was an error while loading. Please reload this page.
I got a error: laod error:: Invalid LoRA checkpoint.
All reactions