Skip to content

[QEff. Finetuning]: Adding PP support in HF trainer stack#813

Merged
quic-swatia merged 3 commits intoquic:ft_experimentalfrom
quic-swatia:PP
Feb 27, 2026
Merged

[QEff. Finetuning]: Adding PP support in HF trainer stack#813
quic-swatia merged 3 commits intoquic:ft_experimentalfrom
quic-swatia:PP

Conversation

@quic-swatia
Copy link
Copy Markdown
Contributor

@quic-swatia quic-swatia commented Feb 26, 2026

  • Added PP support in HF trainer stack.
  • Updated the documentation for the same.
  • Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m QEfficient.cloud.finetune_experimental QEfficient/finetune/experimental/configs/sample_pp_config.yaml

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Copy link
Copy Markdown
Contributor

@quic-akuruvil quic-akuruvil left a comment

Choose a reason for hiding this comment

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

Could you add the sample command used to test only PP through CLI args.

Comment thread QEfficient/finetune/experimental/core/utils/device_map_utils.py
@quic-swatia
Copy link
Copy Markdown
Contributor Author

Could you add the sample command used to test only PP through CLI args.

CLI in HF stack for any FT job will work properly after #795 fix. Meanwhile, PP can be tested through yaml file.

@quic-swatia
Copy link
Copy Markdown
Contributor Author

Could you add the sample command used to test only PP through CLI args.

CLI args option in HF stack for any FT job will be functional with the changes of #795. PP can be tested through yaml file, command is mentioned in desc.

Comment thread QEfficient/finetune/experimental/core/utils/device_map_utils.py Outdated
Copy link
Copy Markdown
Contributor

@quic-akuruvil quic-akuruvil left a comment

Choose a reason for hiding this comment

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

Also please reverify DDP with the new changes. Just to make sure this new PP changes doesn't affect it.

Comment thread QEfficient/finetune/experimental/configs/sample_pp_config.yaml
Comment thread QEfficient/finetune/experimental/core/config_manager.py
Comment thread QEfficient/finetune/experimental/core/config_manager.py Outdated
Comment thread QEfficient/finetune/experimental/core/model.py Outdated
Comment thread QEfficient/cloud/finetune_experimental.py Outdated
Comment thread QEfficient/cloud/finetune_experimental.py Outdated
Comment thread QEfficient/cloud/finetune_experimental.py Outdated
Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
@quic-swatia quic-swatia self-assigned this Feb 26, 2026
@quic-swatia quic-swatia changed the title Adding PP support in HF trainer stack [QEff. Finetuning]: Adding PP support in HF trainer stack Feb 26, 2026
@quic-swatia
Copy link
Copy Markdown
Contributor Author

Also please reverify DDP with the new changes. Just to make sure this new PP changes doesn't affect it.

Yes, verified that it's working.

@quic-swatia quic-swatia merged commit c0ef8cc into quic:ft_experimental Feb 27, 2026
3 checks passed
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 6, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 6, 2026
* Added PP support in HF trainer stack.
* Updated the documentation for the same.
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
Signed-off-by: Sharvari Medhe <smedhe@qti.qualcomm.com>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 6, 2026
* Added PP support in HF trainer stack.
* Updated the documentation for the same.
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
Signed-off-by: Sharvari Medhe <smedhe@qti.qualcomm.com>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 8, 2026
* Added PP support in HF trainer stack.
* Updated the documentation for the same.
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
Signed-off-by: Sharvari Medhe <smedhe@qti.qualcomm.com>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 8, 2026
* Added PP support in HF trainer stack.
* Updated the documentation for the same.
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
Signed-off-by: Sharvari Medhe <smedhe@qti.qualcomm.com>

Signed-off-by: Sharvari Medhe <smedhe@qti.qualcomm.com>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 8, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
Signed-off-by: Sharvari Medhe <smedhe@qti.qualcomm.com>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 9, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 10, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 17, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 23, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 23, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 23, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
smedhe pushed a commit to smedhe/QEff_Sharvari that referenced this pull request Mar 24, 2026
* Added PP support in HF trainer stack. 
* Updated the documentation for the same. 
* Sample command to test PP : QAIC_VISIBLE_DEVICES=0,1 python -m
QEfficient.cloud.finetune_experimental
QEfficient/finetune/experimental/configs/sample_pp_config.yaml

---------

Signed-off-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm.com>
Co-authored-by: Swati Allabadi <sallabad@qti.qualcomm>
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