Add training args to capture device profiling traces#117
Merged
Conversation
bhargaveede
approved these changes
Mar 19, 2024
bhargaveede
reviewed
Mar 19, 2024
| Number of steps to ignore for profling. | ||
| profiling_steps (`int`, *optional*, defaults to 0): | ||
| Number of steps to be captured when enabling profiling. | ||
| profiling_record_shapes (`boolean`, *optional*, defaults to True): |
There was a problem hiding this comment.
Where are we using it? Default value is taken from original transformers?
Author
There was a problem hiding this comment.
This has nothing to do with current change. I just added a missing comment for PT profiler. Its being used in PT profiler initialization in trainer.py, it is habana specific argument (not there in original transformers).
bhargaveede
pushed a commit
that referenced
this pull request
May 16, 2024
bhargaveede
pushed a commit
that referenced
this pull request
May 16, 2024
astachowiczhabana
pushed a commit
that referenced
this pull request
Jan 23, 2025
* Initial commit => add overrides to support bnb on HPU * Change quantizer file name * Added HPU specific checks and updates (#52) * supports hpu nf4 quant/dequant * added tranformer/quantizers to bitsandbytes * Deleted transformer/quantizers * Fix BnB inference (#60) * update inference test (#63) * Added 4-bit training script (#69) * adapted test files with framework * Adjusted test files format --------- Co-authored-by: Vivek <vgoel@habana.ai>
rsshaik1
added a commit
that referenced
this pull request
Jan 24, 2025
libinta
pushed a commit
that referenced
this pull request
Feb 5, 2025
xinyu-intel
pushed a commit
that referenced
this pull request
Mar 4, 2025
* Initial commit => add overrides to support bnb on HPU * Change quantizer file name * Added HPU specific checks and updates (#52) * supports hpu nf4 quant/dequant * added tranformer/quantizers to bitsandbytes * Deleted transformer/quantizers * Fix BnB inference (#60) * update inference test (#63) * Added 4-bit training script (#69) * adapted test files with framework * Adjusted test files format --------- Co-authored-by: Vivek <vgoel@habana.ai>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
Add training args to capture device profiling traces
Fixes # (issue)
Before submitting