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

Convert old LoRA format to the new format #3595

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://github.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.

Signed-off-by: newgrit1004 <flowmad@naver.com>
@samurdhikaru
Copy link
Collaborator

/blossom-ci

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.

2 participants