File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed
Tools/machines/lassen-llnl Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,7 @@ python3 -m pip install --upgrade pip
114114python3 -m pip cache purge
115115python3 -m pip install --upgrade wheel
116116python3 -m pip install --upgrade cython
117- # see https://github.com/numpy/numpy/issues/24673
118- python3 -m pip install --upgrade numpy==1.22
117+ python3 -m pip install --upgrade numpy
119118python3 -m pip install --upgrade pandas
120119python3 -m pip install --upgrade -Ccompile-args=" -j10" scipy
121120python3 -m pip install --upgrade mpi4py --no-cache-dir --no-build-isolation --no-binary mpi4py
Original file line number Diff line number Diff line change 3737 cd ${HOME} /src/pytorch
3838 git fetch
3939 git checkout .
40- git checkout v2.1.0-rc3
40+ git checkout v2.0.1
4141 git submodule update --init --recursive
4242 cd -
4343else
44- git clone -b v2.1.0-rc3 --recurse-submodules https://github.com/pytorch/pytorch.git ${HOME} /src/pytorch
44+ git clone -b v2.0.1 --recurse-submodules https://github.com/pytorch/pytorch.git ${HOME} /src/pytorch
4545fi
4646cd ${HOME} /src/pytorch
4747rm -rf build
4848
49- # see https://github.com/pytorch/pytorch/issues/108931
50- # https://github.com/pytorch/pytorch/pull/108932
51- wget -q -O - https://github.com/pytorch/pytorch/pull/108932 .patch | git apply
49+ # see https://github.com/pytorch/pytorch/issues/97497#issuecomment-1499069641
50+ # https://github.com/pytorch/pytorch/pull/98511
51+ wget -q -O - https://github.com/pytorch/pytorch/pull/98511 .patch | git apply
5252
5353python3 -m pip install -r requirements.txt
54- CXX=g++ CC=gcc USE_CUDA=1 BLAS=OpenBLAS MAX_JOBS=64 ATEN_AVX512_256=OFF BUILD_TEST=0 python3 setup.py develop
54+
55+ # see https://github.com/pytorch/pytorch/issues/108984#issuecomment-1712938737
56+ LDFLAGS=" -L${CUDA_HOME} /nvidia/targets/ppc64le-linux/lib/" \
57+ USE_CUDA=1 BLAS=OpenBLAS MAX_JOBS=64 ATEN_AVX512_256=OFF BUILD_TEST=0 python3 setup.py develop
5558# (optional) If using torch.compile with inductor/triton, install the matching version of triton
5659# make triton
5760rm -rf build
Original file line number Diff line number Diff line change 33
44# required dependencies
55module load cmake/3.23.1
6- module load clang/12.0.1-gcc-8.3 .1
6+ module load gcc/11.2 .1
77module load cuda/12.0.0
88
99# optional: for QED lookup table generation support
@@ -46,8 +46,8 @@ export AMREX_CUDA_ARCH=7.0
4646export CUDAARCHS=70
4747
4848# compiler environment hints
49- export CC=$(which clang )
50- export CXX=$(which clang ++)
49+ export CC=$(which gcc )
50+ export CXX=$(which g ++)
5151export FC=$(which gfortran)
5252export CUDACXX=$(which nvcc)
5353export CUDAHOSTCXX=${CXX}
You can’t perform that action at this time.
0 commit comments