Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Singularity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Automate
Agent sessions
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMGW
Singularity
Commits
7cd0e013
Commit
7cd0e013
authored
Oct 17, 2019
by
Marty Kandes
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+2
-2
2 additions, 2 deletions
README
definition-files/comet/pytorch/pytorch-cpu.def
+14
-4
14 additions, 4 deletions
definition-files/comet/pytorch/pytorch-cpu.def
definition-files/comet/pytorch/pytorch-gpu.def
+6
-4
6 additions, 4 deletions
definition-files/comet/pytorch/pytorch-gpu.def
with
22 additions
and
10 deletions
README
+
2
−
2
View file @
7cd0e013
...
@@ -46,8 +46,8 @@ AUTHOR
...
@@ -46,8 +46,8 @@ AUTHOR
VERSION
VERSION
0.8.
5
0.8.
6
LAST UPDATED
LAST UPDATED
Friday, Septem
ber
2
7th, 2019
Thursday, Octo
ber
1
7th, 2019
This diff is collapsed.
Click to expand it.
definition-files/comet/pytorch/pytorch-cpu.def
+
14
−
4
View file @
7cd0e013
...
@@ -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 2019
0927
LAST_UPDATED 2019
1015
%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))/../"}
e
xport 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
This diff is collapsed.
Click to expand it.
definition-files/comet/pytorch/pytorch-gpu.def
+
6
−
4
View file @
7cd0e013
...
@@ -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 2019
0927
LAST_UPDATED 2019
1014
%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))/../"}
e
xport 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment