Skip to content

Convert old LoRA format to the new format #3595

New issue

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

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

Already on ? Sign in to your account

Open
wants to merge 1 commit into
base: release/9.2
Choose a base branch
from

Conversation

newgrit1004
Copy link

Refitting the weights of the engine using old LoRA format was enable In TensorRT 9.1.

https://.com/NVIDIA/TensorRT/tree/release/9.1/demo/Diffusion
python3 demo_txt2img.py "A pokemon with green eyes and red legs." --hf-token=$HF_TOKEN --lora-weights="sayakpaul/sd-model-finetuned-lora-t4" --lora-scale=1.0

However it is currently not available in TensorRT 9.2.

I modify the code based on the warning message.

@samurdhikaru
Copy link
Collaborator

/blossom-ci

Sign up for free to join this conversation on . Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants