-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add support for Habana 1.17.1 #695
Conversation
Skipping CI for Draft Pull Request. |
b5a1cc0
to
3856c94
Compare
@atheo89 I did the squash already, so I don't know if the label will be required anymore. |
/retest |
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.
Hey Daniel, I found some minor changes that are needed.
habana/1.17.1/ubi9-python-3.11/kustomize/base/kustomization.yaml
Outdated
Show resolved
Hide resolved
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.
Thank you for this. I put couple of comments.
Yay, glad to see someone looked at the approach in my other PR. Yeah, the intent is to make upgrading very smooth since as long as they remain on the same Python version, upgrades of the Gaudi software stack should be as easy as swapping the base image out |
Hey @daniellutz Could you please point me to the generated image for Habana 1.17 to take a look? Moreover, you will need to open a PR on ocp-ci on |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
They are available on the following quay, for my tests: https://quay.io/repository/dlutz/workbench-images?tab=tags I pushed the changes, so soon they might be available in the Quay for the notebooks repository images as well. |
USER root | ||
|
||
## Label the image with details required by ODH | ||
LABEL name="odh-notebook-habana-jupyter-1.17.1-ubi9-python-3.11" \ |
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.
I wonder whether the naming isn't a bit confusing here; let's have the version right after habana word?
LABEL name="odh-notebook-habana-jupyter-1.17.1-ubi9-python-3.11" \ | |
LABEL name="odh-notebook-habana-1.17.1-jupyter-ubi9-python-3.11" \ |
similarly for other cases?
# - https://github.com/HabanaAI/Setup_and_Install/blob/r1.17.1/dockerfiles/pytorch/Dockerfile.rhel9.4 | ||
FROM vault.habana.ai/gaudi-docker/1.17.1/rhel9.4/habanalabs/pytorch-installer-2.3.1:1.17.1-40 as base | ||
|
||
LABEL name="odh-notebook-base-habana-python-3.11" \ |
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.
maybe we should include the habana version also in these labels here?
Thank you for the updates, Daniel. I commented just on some of the threads; other changes LGTM. I would like to give this a more time with one more full review again a bit later. Also, to get rid of the CI failures, I think all what you need to do is to update the |
Hey Daniel! Looks better now in one single Dockerfile, with this we will have less maintenance in the future 🙂 Just two things:
|
- Add structure for Habana 1.17.1 image - Fix reference to Python 3.10 - Add Habana 1.17.1 Python 3.11 base image to Makefile - Fix references in README files from older Habana images - Fix references to Habana official documentation - Fix README for Habana 1.17.1 - Fix Habana Vault container image reference - Fix Habana 1.17.1's Pipfile and Pipfile.lock files - Add Habana 1.17.1 to Makefile's refresh-pipfilelock-files function - Change entrypoint's chmod for Habana 1.17.1 - Fix Makefile call for Habana 1.17.1 - Add missing newline at end of Dockerfile - Add Habana 1.17.1 images to Github Actions matrix jobs - Add instructions to run the build and push commands for Habana 1.17.1
5440fb6
to
99691e4
Compare
@daniellutz: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
PR needs rebase. 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. |
Thank you so much for working on this. 💯 |
Add support for Habana 1.17.1 based on Python 3.11, same structure from #533.
Description
habana-python-3.11
, based from gaudi-docker/1.17.1/rhel9.4/habanalabs/pytorch-installer-2.3.1habana/1.17.1/ubi9-python-3.11
habana-jupyter-1.17.1-ubi9-python-3.11
.github/workflows/build-notebooks.yaml
directly link to image:
quay.io/dlutz/workbench-images:habana-jupyter-1.17.1-ubi9-python-3.11-2024a_20240916
How Has This Been Tested?
This has been manually built and tested
Merge criteria: