File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 99# ... or similar
1010# - torch is expected to be at $HOME/torch
1111
12- rm -Rf build PyBuild.so dist * .egg-info cbuild
12+ if [[ x${INCREMENTAL} == x ]]; then {
13+ rm -Rf build PyBuild.so dist * .egg-info cbuild
14+ pip uninstall -y PyTorch
15+ } fi
1316# python setup.py build_ext -i || exit 1
17+
1418if [[ x${CYTHON} != x ]]; then { python setup.py cython_only || exit 1; } fi
15- mkdir cbuild
19+
20+ mkdir -p cbuild
1621export TORCH_INSTALL=$( dirname $( dirname $( which luajit) ) )
1722(cd cbuild; cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${TORCH_INSTALL} && make -j 4 install) || exit 1
18- pip uninstall -y PyTorch
1923python setup.py install || exit 1
2024
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def get_file_datetime(filepath):
139139
140140setup (
141141 name = 'PyTorch' ,
142- version = '2.4.0-SNAPSHOT ' ,
142+ version = '2.5.0 ' ,
143143 author = 'Hugh Perkins' ,
144144 author_email = 'hughperkins@gmail.com' ,
145145 description = (
You can’t perform that action at this time.
0 commit comments