-
Notifications
You must be signed in to change notification settings - Fork 768
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
Support arm64 for Hugging Face trainer #2028
Support arm64 for Hugging Face trainer #2028
Conversation
Signed-off-by: tariq-hasan <[email protected]>
Signed-off-by: tariq-hasan <[email protected]>
Signed-off-by: tariq-hasan <[email protected]>
Signed-off-by: tariq-hasan <[email protected]>
55946f9
to
e7f4623
Compare
@tariq-hasan Great work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/hold
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tariq-hasan, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 8263475761Details
💛 - Coveralls |
Thanks for this. |
* echoed disk usage before cleanup Signed-off-by: tariq-hasan <[email protected]> * pruned docker images Signed-off-by: tariq-hasan <[email protected]> * moved docker data directory Signed-off-by: tariq-hasan <[email protected]> * added arm64 in the list of platforms for trainer-huggingface Signed-off-by: tariq-hasan <[email protected]> --------- Signed-off-by: tariq-hasan <[email protected]>
* echoed disk usage before cleanup Signed-off-by: tariq-hasan <[email protected]> * pruned docker images Signed-off-by: tariq-hasan <[email protected]> * moved docker data directory Signed-off-by: tariq-hasan <[email protected]> * added arm64 in the list of platforms for trainer-huggingface Signed-off-by: tariq-hasan <[email protected]> --------- Signed-off-by: tariq-hasan <[email protected]> Signed-off-by: deepanker13 <[email protected]>
* echoed disk usage before cleanup Signed-off-by: tariq-hasan <[email protected]> * pruned docker images Signed-off-by: tariq-hasan <[email protected]> * moved docker data directory Signed-off-by: tariq-hasan <[email protected]> * added arm64 in the list of platforms for trainer-huggingface Signed-off-by: tariq-hasan <[email protected]> --------- Signed-off-by: tariq-hasan <[email protected]>
* echoed disk usage before cleanup Signed-off-by: tariq-hasan <[email protected]> * pruned docker images Signed-off-by: tariq-hasan <[email protected]> * moved docker data directory Signed-off-by: tariq-hasan <[email protected]> * added arm64 in the list of platforms for trainer-huggingface Signed-off-by: tariq-hasan <[email protected]> --------- Signed-off-by: tariq-hasan <[email protected]>
What this PR does / why we need it:
Following suggestion from @tenzen-y I have implemented a fix in the CI workflow to add support for multi-platform linux/amd64 and linux/arm64 image building for the Hugging Face trainer.
The necessary code changes follow from kserve/kserve#3411.
In particular, docker images are pruned and the docker data directory is moved from the root volume to the /mnt volume.
The resulting reduction in disk space usage in the root volume helps the CI workflow to complete without errors.
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #1986
Checklist: