Get Started with the Cluster¶
This section helps you in your first steps on the cluster. Below is an overview of the steps, from arriving at Mila to train your first model on the Mila cluster.
Enable your cluster access¶
- Obtain your Mila account
- Read the IT onboarding guide
- Submit the quiz
- Accept compute cluster terms and conditions
Set up MFA¶
- Get your temporary registration code
- Use it to log in https://mfa.mila.quebec/
- Install a TOTP authenticator app
- Add at least one TOTP token
- Add other token (TOTP, Push, email validation) if you wish
Connect to the cluster¶
- Install
uv - Install
milatools - Run
mila initto configuremilatools -
sshon the cluster to check your access - Install
uvon the cluster
Run your first job¶
- Create a project directory on the cluster
- Start VSCode on a compute node
- Create the project files
- Run the script in the VSCode terminal
Train your first model¶
- Submit the job through Slurm
- Monitor the job