Skip to content

fix: PEFT parameter statistics only count the first model chunk - #5562

Merged
cuichenx merged 6 commits into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:codequality/setup-peft-parameter-statistics-only-count
Aug 25, 2026
Merged

fix: PEFT parameter statistics only count the first model chunk#5562
cuichenx merged 6 commits into
NVIDIA-NeMo:mainfrom
andrewwhitecdw:codequality/setup-peft-parameter-statistics-only-count

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This PR addresses the following issue in src/megatron/bridge/training/setup.py: PEFT parameter statistics only count the first model chunk.

Changes

  • src/megatron/bridge/training/setup.py: PEFT parameter statistics only count the first model chunk.

Details

See the Files changed tab for the exact diff.

Tests

  • tests/unit_tests/bridge/training/test_setup.py

Contributor guidelines

Per this repo's CONTRIBUTING.md:

  • All commits are signed off (Signed-off-by trailer, DCO).

Signed-off-by: andrewwhitecdw <andrewwhitecdw@users.noreply.github.com>
@copy-pr-bot

copy-pr-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@yaoyu-33 yaoyu-33 added bug Something isn't working area:peft Parameter-efficient fine-tuning (LoRA, adapters) needs-review PR is ready for code review and waiting on a reviewer labels Aug 13, 2026
@kamran-nvidia
kamran-nvidia requested a review from cuichenx August 13, 2026 15:42
@yaoyu-33

Copy link
Copy Markdown
Contributor

/ok to test 525f843

yaoyu-33
yaoyu-33 previously approved these changes Aug 13, 2026
@yaoyu-33 yaoyu-33 added ready-to-merge PR is approved, current, and only waiting for CI to pass before merge and removed needs-review PR is ready for code review and waiting on a reviewer labels Aug 13, 2026
@kamran-nvidia

Copy link
Copy Markdown
Contributor

@andrewwhitecdw Please address the CI failures, I will retrigger CI afterwards

cuichenx
cuichenx previously approved these changes Aug 13, 2026
@kamran-nvidia

Copy link
Copy Markdown
Contributor

/ok to test 188c86f

@kamran-nvidia

Copy link
Copy Markdown
Contributor

/ok to test ae35199

@kamran-nvidia

Copy link
Copy Markdown
Contributor

@andrewwhitecdw Please address the CI failures

@kamran-nvidia

Copy link
Copy Markdown
Contributor

/ok to test 19726bc

@kamran-nvidia

Copy link
Copy Markdown
Contributor

@andrewwhitecdw Please check the CI failures

Signed-off-by: adityavavreNVDA <avavre@nvidia.com>
@adityavavreNVDA
adityavavreNVDA dismissed stale reviews from yaoyu-33 and cuichenx via d1c9ac2 August 24, 2026 22:17
@adityavavreNVDA

Copy link
Copy Markdown
Contributor

/ok to test 8fcad42

@cuichenx
cuichenx merged commit 46c710e into NVIDIA-NeMo:main Aug 25, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:peft Parameter-efficient fine-tuning (LoRA, adapters) bug Something isn't working community-request ready-to-merge PR is approved, current, and only waiting for CI to pass before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants