Skip to content

Commit 57def74

Browse files
author
tibuch
committed
Fix singularity recipe.
1 parent 8aeb0ec commit 57def74

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Build Python package:
66
`python setup.py bdist_wheel`
77

88
Build singularity recipe:
9-
`neurodocker generate singularity -b nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04 -p apt --copy /home/tibuch/Gitrepos/FourierImageTransformer/dist/fourier_image_transformers-0.1.0-py3-none-any.whl /fourier_image_transformers-0.1.0-py3-none-any.whl --miniconda create_env=fit conda_install='python=3.7 astra-toolbox -c astra-toolbox/label/dev pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch' pip_install='/fourier_image_transformers-0.1.0-py3-none-any.whl' activate=true --entrypoint "/neurodocker/startup.sh python" > v0.1.0.Singularity`
9+
`neurodocker generate singularity -b nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04 -p apt --copy /home/tibuch/Gitrepos/FourierImageTransformer/dist/fourier_image_transformers-0.1.0-py3-none-any.whl /fourier_image_transformers-0.1.0-py3-none-any.whl --miniconda create_env=fit conda_install='python=3.7 astra-toolbox pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch -c astra-toolbox/label/dev' pip_install='/fourier_image_transformers-0.1.0-py3-none-any.whl' activate=true --entrypoint "/neurodocker/startup.sh python" > v0.1.0.Singularity`
1010

1111
Build singularity container:
1212
`sudo singularity build fit.simg fit.Singularity`

singularity/v0.1.0.Singularity

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated by: Neurodocker version 0.7.0
22
# Latest release: Neurodocker version 0.7.0
3-
# Timestamp: 2020/12/29 15:21:22 UTC
3+
# Timestamp: 2020/12/29 15:40:35 UTC
44
#
55
# Thank you for using Neurodocker. If you discover any issues
66
# or ways to improve this software, please submit an issue or
@@ -53,14 +53,14 @@ conda create -y -q --name fit
5353
conda install -y -q --name fit \
5454
"python=3.7" \
5555
"astra-toolbox" \
56-
"-c" \
57-
"astra-toolbox/label/dev" \
5856
"pytorch" \
5957
"torchvision" \
6058
"torchaudio" \
6159
"cudatoolkit=10.2" \
6260
"-c" \
63-
"pytorch"
61+
"pytorch" \
62+
"-c" \
63+
"astra-toolbox/label/dev"
6464
sync && conda clean -y --all && sync
6565
bash -c "source activate fit
6666
pip install --no-cache-dir \
@@ -102,14 +102,14 @@ echo '{
102102
\n "conda_install": [
103103
\n "python=3.7",
104104
\n "astra-toolbox",
105-
\n "-c",
106-
\n "astra-toolbox/label/dev",
107105
\n "pytorch",
108106
\n "torchvision",
109107
\n "torchaudio",
110108
\n "cudatoolkit=10.2",
111109
\n "-c",
112-
\n "pytorch"
110+
\n "pytorch",
111+
\n "-c",
112+
\n "astra-toolbox/label/dev"
113113
\n ],
114114
\n "pip_install": [
115115
\n "/fourier_image_transformers-0.1.0-py3-none-any.whl"

0 commit comments

Comments
 (0)