Skip to content

venondev/ApptainerUV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

UV on apptainer

This repository contains scripts and instructions on how to run uv on apptainer on a SLURM cluster like HYDRA.

Steps

  1. Copy the cluster folder to the root of your project (for other locations, you need to adjust the paths in the scripts in the cluster folder)
  2. On the cluster, run
python3 cluster/submit_job.py --mode build
  1. 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.

Other scripts

scripts/taill.sh can be used to tail the latest log file in a folder.

./scripts/taill.sh /path/to/your/log_folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors