Skip to content

The Snellius AI Guide is designed to assist users in migrating their machine learning applications from smaller-scale computing environments to the Snellius supercomputer.

License

Notifications You must be signed in to change notification settings

SURF-ML/Snellius-AI-Guide

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snellius AI guide

This Guide is adapted from the excellent LUMI-AI-Guide

This guide is designed to assist users in migrating their machine learning applications from smaller-scale computing environments to Snellius. We will walk you through a detailed example of training an image classification model using PyTorch's Vision Transformer (VIT) on the ImageNet dataset.

All Python and bash scripts referenced in this guide are accessible in this GitHub repository. We start with a basic python script, visiontransformer.py, that could run on your local machine and modify it over the next chapters to run it efficiently on Snellius.

Even though this guide uses PyTorch, most of the covered topics are independent of the used machine learning framework. We therefore believe this guide is helpful for all new ML users on Snellius while also providing a concrete example that runs on Snellius.

Requirements

Before proceeding, please ensure you meet the following prerequisites:

  • A basic understanding of machine learning concepts and Python programming. This guide will focus primarily on aspects specific to training models on Snellius.
  • An active user account on Snellius and familiarity with its basic operations.
  • If you wish to run the included examples, you need to be part of a project with GPU hours on Snellius.

Set up

To use this tutorial, you must first clone this repository to your Snellius via the following command:

git clone https://github.com/surf-ml/Snellius-AI-guide

We recommend using your /project/ or /scratch-shared/ directory to clone the repository as your home directory ($HOME) has a capacity of 20 GB and is intended to store user configuration files and personal data.

Table of contents

The guide is structured into the following sections:

Further reading

About

The Snellius AI Guide is designed to assist users in migrating their machine learning applications from smaller-scale computing environments to the Snellius supercomputer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.5%
  • Shell 22.3%
  • Makefile 1.2%