Skip to content

Commit

Permalink
Add info on GPU hardware discovery to quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianZaccaria authored and openshift-ci[bot] committed Oct 12, 2023
1 parent 576c53e commit 2049ceb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
13 changes: 13 additions & 0 deletions Quick-Start-ODH-V2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ The CodeFlare-SDK was built to make managing distributed compute infrastructure

This stack integrates well with [Open Data Hub](https://opendatahub.io/), and helps to bring batch workloads, jobs, and queuing to the Data Science platform.

## Automatic deployment

As a quick alternative to the following manual deployment steps an automatic *makefile* script can be used to deploy the CodeFlare stack. This script also deploys the prerequisite operators and the entire CodeFlare stack up to the step [Using an Openshift Dedicated or ROSA Cluster](#using-an-openshift-dedicated-or-rosa-cluster).
To use this script, clone the repo and execute:

```bash
make all-in-one
```

> Note : Execute ```make help``` to list additional available operations.
## Prerequisites

### Resources
Expand Down Expand Up @@ -48,6 +59,8 @@ suffice.

If you want to run GPU enabled workloads, you will need to install the [Node Feature Discovery Operator](https://github.com/openshift/cluster-nfd-operator) and the [NVIDIA GPU Operator](https://github.com/NVIDIA/gpu-operator) from the OperatorHub. For instructions on how to install and configure these operators, we recommend [this guide](https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/openshift/steps-overview.html#high-level-steps).

In order for your OpenShift cluster to discover GPU hardware a ClusterPolicy CR must be created. For more information, this can be done by following the instructions [here](https://docs.nvidia.com/datacenter/cloud-native/openshift/23.6.1/install-gpu-ocp.html#create-the-clusterpolicy-instance). The defaults will suffice.

## Creating K8s resources

1. Create the opendatahub namespace with the following command:
Expand Down
13 changes: 2 additions & 11 deletions Quick-Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ The CodeFlare-SDK was built to make managing distributed compute infrastructure

This stack integrates well with [Open Data Hub](https://opendatahub.io/), and helps to bring batch workloads, jobs, and queuing to the Data Science platform.

## Automatic deployment

As a quick alternative to the following manual deployment steps an automaic *makefile* script can be used to deploy the CodeFlare stack. This script also deploys the prerequisite operators and the entire CodeFlare stack up to the step [Submit your first job](#submit-your-first-job).
To use this script, clone the repo and execute:

```bash
make all-in-one
```

> Note : Execute ```make help``` to list additional available operations.
## Prerequisites

### Red Hat OpenShift
Expand Down Expand Up @@ -62,6 +51,8 @@ The CodeFlare operator must be installed from the OperatorHub on your OpenShift

If you want to run GPU enabled workloads, you will need to install the [Node Feature Discovery Operator](https://github.com/openshift/cluster-nfd-operator) and the [NVIDIA GPU Operator](https://github.com/NVIDIA/gpu-operator) from the OperatorHub. For instructions on how to install and configure these operators, we recommend [this guide](https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/openshift/steps-overview.html#high-level-steps).

In order for your OpenShift cluster to discover GPU hardware a ClusterPolicy CR must be created. For more information, this can be done by following the instructions [here](https://docs.nvidia.com/datacenter/cloud-native/openshift/23.6.1/install-gpu-ocp.html#create-the-clusterpolicy-instance). The defaults will suffice.


## Creating K8s resources

Expand Down

0 comments on commit 2049ceb

Please sign in to comment.