Installation Guideยค
run docker container
cd ClimaX
docker run --gpus all -it --rm --user $(id -u):$(id -g) \
-v $(pwd):/code -v /mnt/data:/data --workdir /code -e PYTHONPATH=/code/src \
ClimaX:latest
Note
--gpus all -it --rm --user $(id -u):$(id -g)
: enables using all GPUs and runs an interactive session with current user's UID/GUID to avoiddocker
writing files as root.-v $(pwd):/code -v /mnt/data:/data --workdir /code
: mounts current directory and data directory (i.e. the cloned git repo) to/code
and/data
respectively, and use thecode
directory as the current working directory.