Skip to content

Convert old LoRA format to the new format #3595

New issue

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

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

Already on GitHub? # 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://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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants