Skip to content
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

[QEff Finetune]: Added support for gradient checkpointing in the finetuning script. #338

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

quic-meetkuma
Copy link

Added --gradient_checkpointing new CLI flag to enable this feature.
Currently this is enabled for all the HF models which has "supports_gradient_checkpointing" attribute set to True.

@quic-meetkuma quic-meetkuma marked this pull request as draft April 2, 2025 12:33
@quic-meetkuma quic-meetkuma force-pushed the grad_checkpointing branch 4 times, most recently from 58c13e9 to 0b1c369 Compare April 7, 2025 10:50
@quic-meetkuma quic-meetkuma marked this pull request as ready for review April 7, 2025 11:04
@quic-mamta quic-mamta changed the title Added support for gradient checkpointing in the finetuning script. [QEff Finetune]: Added support for gradient checkpointing in the finetuning script. Apr 9, 2025
Copy link
Author

@quic-meetkuma quic-meetkuma left a comment

Choose a reason for hiding this comment

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

I will add eager team's code reference for qaic_debug API changes.

Copy link
Author

@quic-meetkuma quic-meetkuma left a comment

Choose a reason for hiding this comment

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

Need to fix couple of comments.

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