Skip to content

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

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 init to configure milatools
  • ssh on the cluster to check your access
  • Install uv on 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
__skill-mila-account-setup __skill-mila-connect-cluster __skill-mila-local-setup

Comments