This repository contains scripts and instructions on how to run uv on apptainer on a SLURM cluster like HYDRA.
- Copy the
clusterfolder to the root of your project (for other locations, you need to adjust the paths in the scripts in theclusterfolder) - On the cluster, run
python3 cluster/submit_job.py --mode build
- To start a job, run
python3 cluster/submit_job.py --mode=gpu /path/to/your/script.py --args ...
This will call uv run /path/to/your/script.py --args ... in the apptainer container.
scripts/taill.sh can be used to tail the latest log file in a folder.
./scripts/taill.sh /path/to/your/log_folder