-
Couldn't load subscription status.
- Fork 1.8k
[https://nvbugs/5510879][fix] Fix pytorch & TRT-python flows fused LoRA adapter modules weight split with TP>1 #8063
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
Merged
amitz-nv
merged 16 commits into
NVIDIA:main
from
amitz-nv:dev-fix-lora-fused-modules-weights
Oct 12, 2025
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
79e6534
Interleave mlp_gate_up LoRA weights for TP, move the mapping argument…
amitz-nv 5658312
Refactor fused LoRA module weight interleaving logic into its own fun…
amitz-nv 9c9030d
Remove small code duplication
amitz-nv 43174b9
Minor fix
amitz-nv f7000d1
Added test_lora_fused_modules_output_on_tp2_identical_to_tp1 to pytor…
amitz-nv 7b1dff0
Add inline comment
amitz-nv 8e37957
Using Python 3.8 type hints
amitz-nv 5e0c767
Remove unnecessary import
amitz-nv 8b7dda8
Remove passing of removed runtime_mapping argument in call to lora_ma…
amitz-nv 00da932
Pass mapping correctly in TRT-python flow as well
amitz-nv 2fcb040
In TRT-python flow use mapping only from engine_config.pretrained_con…
amitz-nv 446716a
Refactor 'prepare fused lora modules for TP' logic into its own inner…
amitz-nv d532a79
Convert more fields of ModelConfig class from binding
amitz-nv 98bd056
Improve comments
amitz-nv ac03c28
Convert model_config.num_layers from binding class to python class wi…
amitz-nv 30e6fb5
Mark test to run only when there are 2 GPUs, improve documentation
amitz-nv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.