Skip to content

Commit 13bfd47

Browse files
author
Tyler Titsworth
authored
Merge branch 'main' into tylertitsworth/jax
2 parents 1298d5b + 6860ada commit 13bfd47

File tree

4 files changed

+96
-0
lines changed

4 files changed

+96
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Intel® Gaudi AI Software Tools Containers on OpenShift AI
2+
3+
Intel® Gaudi AI Software Tools for OpenShift AI(RedHat OpenShift Data Science/RHODS) is a suite of containers that enables the AI practitioners to utilize Intel® Gaudi accelerator for AI workflows on OpenShift platforms. You can access these containers using the RHODS Jupyter dashboard. More details about each container is described in the table below.
4+
5+
## Gaudi Notebook Containers
6+
7+
| Notebook Container Name | Tools | Image Name |
8+
| -----------------------------| ------------- | ------------- |
9+
| Intel Gaudi Notebook Container | [Intel® Gaudi Software Stack*](https://docs.habana.ai/en/latest/Installation_Guide/Bare_Metal_Fresh_OS.html), [Intel® Gaudi PyTorch](https://docs.habana.ai/en/latest/PyTorch/index.html), [Intel® Gaudi vLLM](https://github.com/HabanaAI/vllm-fork.git), [Intel® Gaudi DeepSpeed](https://github.com/HabanaAI/DeepSpeed) | [`registry.connect.redhat.com/intel/gaudi-notebooks:1.17.0-495-rhel-9.2`](registry.connect.redhat.com/intel/gaudi-notebooks@sha256:a62baf968caa7dd23b7f4cdcddc26e109d894f1436e247b4ea1e2fb4a5c94d54) |
10+
11+
## Run Gaudi Notebook Containers
12+
13+
You can access the Intel® Gaudi AI SW Tools containers from OpenShift* AI dashboard.
14+
15+
### Prerequisite
16+
17+
1. Make sure you have access to [OpenShift* Container Platform](https://docs.openshift.com/container-platform/4.14/installing/index.html) and [OpenShift* AI operator](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_cloud_service/1/html/installing_and_uninstalling_openshift_ai_cloud_service/installing-and-deploying-openshift-ai_install#installing-and-deploying-openshift-ai_install) is installed if you want to access the containers from OpenShift* AI dashboard.
18+
19+
2. To utilize the Intel® Gaudi accelerator with the notebook please, install the Intel® Gaudi Base Operator for OpenShift([instructions](https://catalog.redhat.com/software/container-stacks/detail/6683b2cce45daa25e36bddcb)) and the accelerate profile using the following command on your machine connected to the OCP cluster. You need to be logged into the OCP cluster for this command to work.
20+
21+
```bash
22+
oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/e2e/inference/accelerator_profile_gaudi.yaml
23+
```
24+
25+
3. Install the [Intel® Gaudi AI SW Tool Operator](https://catalog.redhat.com/software/container-stacks/detail/66d7aa630eb66a02febc8103).
26+
27+
4. Create the CRD to install Gaudi notebook into OpenShift AI Jupyter dashboard using following command.
28+
29+
```bash
30+
oc apply -f https://raw.githubusercontent.com/intel/ai-containers/main/enterprise/redhat/openshift-ai/gaudi/crd-sample.yaml
31+
```
32+
33+
### Start the jupyter notebook from RHODS dashboard
34+
35+
To access the jupyter notebook from the jupyter server running inside the Gaudi notebook container in OpenShift AI follow the steps below.
36+
37+
1. Once the OpenShift AI operator is installed correctly, you can access the dashboard by following the instructions below.
38+
39+
1. Go to the *Routes* menu in your OCP console in the menu left side in the *Networking* tab.
40+
41+
2. Select the project as `redhat-ods-applications` from the menu at the top.
42+
43+
3. You will see list of all the routes available to you in the project. You will also see the corresponding link to access the routes. Please select the link in the row named *rhods-dashboard* as shown in the picture. This will take you to the OpenShift AI dashboard. Please refer to the screenshot below for more details.
44+
45+
![Step-1](../oneapi/assets/step-1.png)
46+
47+
2. Once on the OpenShift AI dashboard you can select the link to `Launch Application` inside the *Jupyter* tile in the *Enabled* applications from the left menu. Please refer to the screenshot below for more details.
48+
49+
![Step-2](../oneapi/assets/step-2.png)
50+
51+
3. If you've followed step 3 in [prerequisites](#prerequisite) to import images you should be able to see the Intel® Gaudi AI Software Tools images in the dashboard as shown in the screenshot below.
52+
53+
![Step-3](./assets/step-3.png)
54+
55+
4. Select the size of the resources you want to request from the dropdown menu *Container Size*. The options available are `Small`, `Medium`, `Large`, `X-Large`. The sizes describes the request of resources like CPU, RAM and Disk Space for the jupyter server container.
56+
57+
5. (*Optional*) To utilize the Intel® Gaudi accelerators select the accelerator profile from the dropdown menu as shown in the screenshot below.
58+
59+
![Step-4](./assets/step-4.png)
60+
61+
6. Once all options are selected click on the *Start Server* button to start the jupyter server.
62+
63+
## Troubleshooting and Support
64+
65+
If you need more help feel free to submit an [issue](https://github.com/intel/ai-containers/issues).
66+
67+
---
68+
\* Other names and brands may be claimed as the property of others. Trademarks
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright (c) 2024 Intel Corporation
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
apiVersion: aitools.intel/v1
16+
kind: GaudiAIToolsContainer
17+
metadata:
18+
name: intel-gaudi-1.17.0-495
19+
spec:
20+
nameOverride: ""
21+
fullnameOverride: ""
22+
imagespec:
23+
registry: registry.connect.redhat.com
24+
repo: intel/gaudi-notebooks
25+
tags:
26+
- gaudi_software: "1.17.0-495"
27+
rhel_os: "9.2"
28+
namespace: redhat-ods-applications

0 commit comments

Comments
 (0)