I’ve had luck getting GPUs quickly on graham.computecanada.ca
, so I suggest you use something else.
On the login node:
Previously I was explicitly specifying a new StdEnv, but for now, the latest one is the default. This is not necessary right now but for future reference.
|
|
Figure grab the least stale python and cuda
Grab specific versions
Or if you’re feeling lucky, I usually just module load python cuda
Create a Python virtual environment, I’ll name it jaxenv
|
|
Activate and update it, using --no-index
goes after cluster-built wheels, preventing dependency hell.
Get an interactive session with a GPU just to kick the tires.
|
|
Once you’re in that worker’s shell
Once you’ve got an interactive Python session
should say GPU.
Then sometimes I’ll run a little GPU code to see if anything exciting blows up.
In an interactive session with a GPU attached: