Skip to content

Your first Jupyter workspace

A workspace is an interactive environment you use from your browser, with Jupyter. Here you start one with the PyTorch image prepared for HRIA and one H200 GPU.

You must be enrolled on the platform first: see Getting started.

1. Open the form

In the left menu choose Workload manager → Workloads, then NEW WORKLOAD → Workspace.

The NEW WORKLOAD menu with the workload types

2. Choose the project

Cluster is already filled in (hria-matrix). Under Projects choose your project, for example t8-default.

Choosing the cluster and the project

3. Choose the template

Under Template choose jupyter-pytorch-cuda: the HRIA image with Jupyter, PyTorch and CUDA.

The available templates

4. Name it and open the settings

Type a name under Workspace name: lowercase letters, digits and hyphens, for example my-first-workspace.

Do not press CREATE WORKSPACE yet. Press the arrow next to the button and choose Advanced setup: the memory has to be changed in step 6.

The workspace name and the Advanced setup menu

5. Check the image and Jupyter

Under Environment the image is already filled in from the template. Under Tools you see Jupyter: this is how you will open the workspace in your browser. You do not need to change anything here.

The Environment section with the HRIA image

The Tools section with Jupyter

6. Resources: GPU and memory

Under Compute resources:

  • GPU devices: 1. Leave GPU fractioning off.
  • Open CPU resources and under CPU memory change the unit from MB to GB, then set Request 16 and Limit 64.

The Compute resources section

Do not skip the memory

The template comes with a memory limit of only 64 MB. With it, Jupyter or PyTorch stops immediately, without a clear message. Set the limit in GB, as above. If you work with large data in memory, you can request more.

7. The data

Under Data & storage the directories on the shared storage (NFS) are already added. They are set by the administrator and must not be changed: inside the workspace you find them at /hria/home/<username> and /hria/shared/datasets.

The Data & storage section, filled in automatically

8. Start the workspace

Press CREATE WORKSPACE. You return to the workload list, where the workspace goes through Creating, Pending and Initializing to Running. The first start can take a few minutes while the image is downloaded.

The workload list

If it stays in Pending for a long time, see Troubleshooting.

9. Open Jupyter

When the status is Running, tick the workspace in the list, press CONNECT and choose Jupyter. Jupyter opens in a new tab.

10. Work in your own directory

Jupyter starts in /home/runai-home, a temporary directory: whatever you save there is lost when the workspace stops. Open a terminal in Jupyter and move to your personal directory (use your username, the part of your email before the @):

cd /hria/home/ion.popescu

Keep your notebooks, code and results there. Details in Storage.

11. Stop the workspace when you are done

A running workspace keeps its GPU busy even when nothing runs in it. When you are done, tick it in the list and press STOP. The files in /hria/home stay; next time press RUN on the same workspace.