-
Notifications
You must be signed in to change notification settings - Fork 63
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
RHOAIENG-10783: fix(rocm): de-vendor the bundled rocm libraries from pytorch #652
RHOAIENG-10783: fix(rocm): de-vendor the bundled rocm libraries from pytorch #652
Conversation
Skipping CI for Draft Pull Request. |
Awesome! /lgtm |
/lgtm Nicely done! 🙂 Update: per the comments from the RHEL AI member on the slack, this script hasn't been tested ever... so I suppose we truly need to assure that we don't break anything with this! |
Lets see if prow is able to build this without running of of ephemeral-storage; if I can't get a build, I can't test it. |
/hold awesome work in tracking and implementing this. Kept this on hold, |
Can we do the same thing for |
…ytorch Use the script from instructlab to remove the duplicate copy of rocm libs from the image. This will make the image significantly smaller. Script lives at https://github.com/tiran/instructlab-containers/blob/main/containers/rocm/de-vendor-torch.sh
and it is the same thing on
/lgtm |
@jiridanek: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/unhold |
/lgtm |
/lgtm |
/approved /override ci/prow/runtime-rocm-pytorch-ubi9-python-3-9-pr-image-mirror build failed on openshift-ci, this is known issue
|
@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/images, ci/prow/rocm-notebooks-e2e-tests, ci/prow/rocm-runtimes-ubi9-e2e-tests, ci/prow/runtime-rocm-pytorch-ubi9-python-3-9-pr-image-mirror In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/override ci/prow/notebook-rocm-jupyter-pyt-ubi9-python-3-9-pr-image-mirror |
@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/notebook-rocm-jupyter-pyt-ubi9-python-3-9-pr-image-mirror In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: 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 |
* Add images based on python 3.11 * Apply #656 to Python 3.11 images * Fix expected TF vesion on the test file * Fix labels for Python 3.11 * Apply #652 to Python 3.11 images * Update lock to fix debugpy package version * Apply #635 to Python 3.11 images * Replace 3-9 -> 3-11 leftovers * Fix runtime rocm image name according to openshift/release * Apply #667 to Python 3.11 images * Adapt test code for Python 3.11 images
Use the script from instructlab to remove the duplicate copy of rocm libs from the image. This will make the image significantly smaller.
Script lives at https://github.com/tiran/instructlab-containers/blob/main/containers/rocm/de-vendor-torch.sh
Description
This gives me
While on master we currently have
This way the torch image size is in line with tensorflow image size
In conclusion, 10 GB was saved.
How Has This Been Tested?
Merge criteria: