For instructions on
- how to prepare your code for submission, please see Preparing your model for submission.
- how to submit your container, please see Submission instructions.
- Install Apptainer You need to install Apptainer (formerly Singularity) to build and run your container. Installation instructions by platform:
If using MacOS and Windows please follow this guide from within your virtual environment.
Once you have installed it, verify your Apptainer installation with:
apptainer --versionapptainer build --fakeroot /path/to/save/your/container.sif path/to/Apptainer.def --arch amd64To run the local validator first install the required packages (in the distro or VM where apptainer is also executed)
pip install -r requirements.txt
Use the following command and replace TASK with one of the valid tasks: task1, task2, task3, task4, task5, and task6_and_7 and the dummy path with the path to your container
python3 container_validator/validate.py --task TASK --sif PATH/TO/YOUR/CONTAINER.sif
relevant flags:
--no-gpu to test without requiring local GPU libraries.
Once your container is valid you will see the following output (where X is the number of tests we run for that task):
================================================================
ALL X TESTS PASSED — container is ready to submit!
================================================================