Skip to content
Snippets Groups Projects
Commit 7cd0e013 authored by Marty Kandes's avatar Marty Kandes
Browse files

naked-singularity-v0.8.6 :: updated pytorch-cpu.def and pytorch-gpu.def

for comet to PyTorch v1.2.0
parent 427590da
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,8 @@ AUTHOR ...@@ -46,8 +46,8 @@ AUTHOR
VERSION VERSION
0.8.5 0.8.6
LAST UPDATED LAST UPDATED
Friday, September 27th, 2019 Thursday, October 17th, 2019
...@@ -5,7 +5,7 @@ OSVersion: xenial ...@@ -5,7 +5,7 @@ OSVersion: xenial
%labels %labels
APPLICATION_NAME pytorch APPLICATION_NAME pytorch
APPLICATION_VERSION 1.1.0 APPLICATION_VERSION 1.2.0
APPLICATION_URL http://pytorch.org/ APPLICATION_URL http://pytorch.org/
SYSTEM_NAME comet SYSTEM_NAME comet
...@@ -17,7 +17,7 @@ OSVersion: xenial ...@@ -17,7 +17,7 @@ OSVersion: xenial
AUTHOR_NAME Marty Kandes AUTHOR_NAME Marty Kandes
AUTHOR_EMAIL mkandes@sdsc.edu AUTHOR_EMAIL mkandes@sdsc.edu
LAST_UPDATED 20190927 LAST_UPDATED 20191015
%setup %setup
...@@ -154,6 +154,7 @@ OSVersion: xenial ...@@ -154,6 +154,7 @@ OSVersion: xenial
conda install -y cffi conda install -y cffi
conda install -y typing conda install -y typing
conda install -y mkldnn -c mingfeima conda install -y mkldnn -c mingfeima
conda install -y future
# Install common python packages for data science and machine # Install common python packages for data science and machine
# learning applications # learning applications
...@@ -193,7 +194,7 @@ OSVersion: xenial ...@@ -193,7 +194,7 @@ OSVersion: xenial
export TORCH_CUDA_ARCH_LIST="NONE" export TORCH_CUDA_ARCH_LIST="NONE"
git clone --recursive https://github.com/pytorch/pytorch git clone --recursive https://github.com/pytorch/pytorch
cd /opt/pytorch cd /opt/pytorch
git checkout v1.1.0 git checkout v1.2.0
git submodule sync git submodule sync
git submodule update --init git submodule update --init
python setup.py install python setup.py install
...@@ -206,7 +207,7 @@ OSVersion: xenial ...@@ -206,7 +207,7 @@ OSVersion: xenial
# Install PyTorch dependencies for python3 # Install PyTorch dependencies for python3
export PATH="/opt/miniconda3/bin:${PATH}" export PATH="/opt/miniconda3/bin:${PATH}"
xport CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
conda install -y numpy conda install -y numpy
conda install -y ninja conda install -y ninja
conda install -y pyyaml conda install -y pyyaml
...@@ -217,6 +218,7 @@ OSVersion: xenial ...@@ -217,6 +218,7 @@ OSVersion: xenial
conda install -y cffi conda install -y cffi
conda install -y typing conda install -y typing
conda install -y mkldnn -c mingfeima conda install -y mkldnn -c mingfeima
conda install -y future
# Install common python3 packages for data science and machine # Install common python3 packages for data science and machine
# learning applications # learning applications
...@@ -253,4 +255,12 @@ OSVersion: xenial ...@@ -253,4 +255,12 @@ OSVersion: xenial
%runscript %runscript
echo " "
echo " __________________ __ _______________ "
echo " -----/ ____/ __ \/ |/ / ____/_ __/ "
echo " --/ / / / / / /|_/ / __/ / / "
echo " / /___/ /_/ / / / / /___ / / "
echo " \____/\____/_/ /_/_____/ /_/ "
echo " "
%test %test
...@@ -5,7 +5,7 @@ OSVersion: xenial ...@@ -5,7 +5,7 @@ OSVersion: xenial
%labels %labels
APPLICATION_NAME pytorch APPLICATION_NAME pytorch
APPLICATION_VERSION 1.1.0 APPLICATION_VERSION 1.2.0
APPLICATION_URL http://pytorch.org/ APPLICATION_URL http://pytorch.org/
SYSTEM_NAME comet SYSTEM_NAME comet
...@@ -17,7 +17,7 @@ OSVersion: xenial ...@@ -17,7 +17,7 @@ OSVersion: xenial
AUTHOR_NAME Marty Kandes AUTHOR_NAME Marty Kandes
AUTHOR_EMAIL mkandes@sdsc.edu AUTHOR_EMAIL mkandes@sdsc.edu
LAST_UPDATED 20190927 LAST_UPDATED 20191014
%setup %setup
...@@ -347,6 +347,7 @@ OSVersion: xenial ...@@ -347,6 +347,7 @@ OSVersion: xenial
conda install -y cffi conda install -y cffi
conda install -y typing conda install -y typing
conda install -y mkldnn -c mingfeima conda install -y mkldnn -c mingfeima
conda install -y future
# Add LAPACK support for the GPU # Add LAPACK support for the GPU
conda install -y magma-cuda92 -c pytorch conda install -y magma-cuda92 -c pytorch
...@@ -389,7 +390,7 @@ OSVersion: xenial ...@@ -389,7 +390,7 @@ OSVersion: xenial
export TORCH_CUDA_ARCH_LIST='3.7;6.0;7.0' export TORCH_CUDA_ARCH_LIST='3.7;6.0;7.0'
git clone --recursive https://github.com/pytorch/pytorch git clone --recursive https://github.com/pytorch/pytorch
cd /opt/pytorch cd /opt/pytorch
git checkout v1.1.0 git checkout v1.2.0
git submodule sync git submodule sync
git submodule update --init git submodule update --init
python setup.py install python setup.py install
...@@ -402,7 +403,7 @@ OSVersion: xenial ...@@ -402,7 +403,7 @@ OSVersion: xenial
# Install PyTorch dependencies for python3 # Install PyTorch dependencies for python3
export PATH="/opt/miniconda3/bin:${PATH}" export PATH="/opt/miniconda3/bin:${PATH}"
xport CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
conda install -y numpy conda install -y numpy
conda install -y ninja conda install -y ninja
conda install -y pyyaml conda install -y pyyaml
...@@ -413,6 +414,7 @@ OSVersion: xenial ...@@ -413,6 +414,7 @@ OSVersion: xenial
conda install -y cffi conda install -y cffi
conda install -y typing conda install -y typing
conda install -y mkldnn -c mingfeima conda install -y mkldnn -c mingfeima
conda install -y future
# Add LAPACK support for the GPU # Add LAPACK support for the GPU
conda install -y magma-cuda92 -c pytorch conda install -y magma-cuda92 -c pytorch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment