-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathSingularity
executable file
·29 lines (23 loc) · 1.02 KB
/
Singularity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) 2024 NVIDIA Corporation. All rights reserved.
# To build this : $ singularity build --fakeroot --sandbox End-to-End-AI-for-Science.sif Singularity
# To Run this : $ singularity run --writable --nv End-to-End-AI-for-Science.sif jupyter-lab --no-browser --allow-root --ip=0.0.0.0 --port=8888 --NotebookApp.token="" --notebook-dir=/workspace/python
Bootstrap: docker
FROM: nvcr.io/nvidia/modulus/modulus:24.04
%environment
%post
pip3 install gdown ipympl cdsapi
pip3 install --upgrade nbconvert
python3 /workspace/python/source_code/dataset.py
python3 /workspace/python/source_code/fourcastnet/decompress.py
rm -rf /workspace/python/source_code/fourcastnet/pre_data
apt update && apt install ffmpeg -y
pip install torch-harmonics==0.6.5
pip install "makani[all] @ git+https://github.com/NVIDIA/[email protected]"
pip install earth2studio[all]==0.2.0
pip install cartopy mlflow
%files
workspace/* /workspace/
%runscript
"$@"
%labels
AUTHOR aswkumar