Skip to main content

Using MetaX C500 GPUs

Currently, OAsis HPC is connecting with one Kubernetes cluster (gcc500), which has only one compute node and is equipped with 2 MetaX C500 GPUs. This guide walks through how to request and utilize MetaX C500 GPUs on the platform by examples.

Click on the Kubernetes tab to see the cluster's high-level information and the container images prepared for you.

gcc500-overview1.png

One cluster named gcc500 is available to you, with two C500 GPUs.

gcc500-overview2.png

Several containers are prepared in the cluster using MetaX MACA technology.

Creating a disk for persistent storage

Before requesting computing resources, we may create a disk to store our codes and data. Open the Disks tab, and make a disk as follows:

gcc500-disk.png

Create a 10GB disk named mydata.

Storage class is the storage tier, which may incur a different monthly rate; please select default.

Interactive workspace

Platform support requesting a temporary interactive workspace. We can quickly launch a Jupyter Lab container with a workspace. 

gcc500-workspace.png

  1. Select the prepared Jupyter container from the registry.

  2. Request for one C500 GPU.

  3. Enter the command to launch Jupyter Lab with a preset token, and set the working directory to our mounted disk.

  4. Notify the system to expose the web service to the internet.

  5. Mount the disk created in the last step.

Now, we are ready to start the Jupyter Lab workspace and get access to it.

gcc500-workspace2.png

Click the Play button to start the workspace. After a while, click the Jupyter Lab button to get access to it.

gcc500-workspace3.png

Create a new notebook and verify that we can use Pytorch with the C500 GPU.

After you are done using the workspace, please remember to stop it by clicking the Stop button and release the GPU for other users.