Skip to content

[QEff. Finetune] Fixed reporting of single value of loss and ppl across devices.#496

Merged
quic-swatia merged 9 commits intoquic:mainfrom
quic-meetkuma:jitender_fixes_v2
Jul 16, 2025
Merged

[QEff. Finetune] Fixed reporting of single value of loss and ppl across devices.#496
quic-swatia merged 9 commits intoquic:mainfrom
quic-meetkuma:jitender_fixes_v2

Conversation

@quic-meetkuma
Copy link
Copy Markdown
Contributor

  • Fixed reporting of single value of loss and ppl across devices.
  • Minor refactoring changes and variable name changes to make it consistent.

Comment thread QEfficient/finetune/utils/train_utils.py Outdated
Comment thread QEfficient/finetune/utils/train_utils.py Outdated
Comment thread QEfficient/finetune/utils/train_utils.py Outdated
@quic-meetkuma quic-meetkuma marked this pull request as ready for review July 8, 2025 05:31
Comment thread QEfficient/finetune/utils/train_utils.py Outdated
Comment thread QEfficient/finetune/utils/train_utils.py
@quic-meetkuma quic-meetkuma changed the title Fixed reporting of single value of loss and ppl across devices. [QEff. Finetune] Fixed reporting of single value of loss and ppl across devices. Jul 9, 2025
Comment thread QEfficient/finetune/utils/train_utils.py
Comment thread QEfficient/finetune/utils/train_utils.py
Comment thread QEfficient/finetune/utils/train_utils.py
Comment thread QEfficient/finetune/utils/dataset_utils.py
@quic-meetkuma quic-meetkuma marked this pull request as draft July 10, 2025 09:02
Comment thread QEfficient/finetune/utils/train_utils.py
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
@quic-meetkuma quic-meetkuma force-pushed the jitender_fixes_v2 branch 2 times, most recently from 76f7a67 to b7401c4 Compare July 16, 2025 06:11
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
@quic-swatia quic-swatia marked this pull request as ready for review July 16, 2025 06:53
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Comment thread tests/finetune/test_finetune.py Outdated
Comment thread tests/finetune/test_finetune.py Outdated
0.6566, # expected_train_loss
0.5055, # expected_train_metric
0.6188, # expected_eval_loss
0.6904, # expected_eval_metric
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we change intermediate_step_save at line 85 and other places to 10, we don't need to save the weights for testing after each step.

Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
@quic-swatia quic-swatia merged commit 5fb7532 into quic:main Jul 16, 2025
4 checks passed
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.

3 participants