File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ jobs:
298298 # install tensorflow
299299 python3 -m pip install --no-cache-dir pytest pytest-xdist "tensorflow" "pandas" --user
300300 # install pytorch
301- python3 -m pip install --no-cache-dir "torch==1.13 .1" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu
301+ python3 -m pip install --no-cache-dir "torch<=2.2 .1" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu
302302 # install java
303303 sudo apt update -y && sudo apt install openjdk-11-jdk -y
304304
Original file line number Diff line number Diff line change 7878
7979client : learning
8080 cd $(CLIENT_DIR ) && \
81- python3 -m pip install ${PIP_ARGS} " torch==1.13 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
81+ python3 -m pip install ${PIP_ARGS} " torch<=2.2 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
8282 python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
8383 export PATH=$(PATH ) :$(HOME ) /.local/bin && \
8484 python3 setup.py build_ext --inplace --user && \
@@ -90,7 +90,7 @@ client: learning
9090
9191coordinator : client
9292 cd $(COORDINATOR_DIR ) && \
93- python3 -m pip install ${PIP_ARGS} " torch==1.13 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
93+ python3 -m pip install ${PIP_ARGS} " torch<=2.2 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
9494 python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
9595 python3 setup.py build_builtin && \
9696 python3 -m pip install --user --editable $(COORDINATOR_DIR ) && \
@@ -174,7 +174,7 @@ $(LEARNING_DIR)/graphlearn/built/lib/libgraphlearn_shared.$(SUFFIX):
174174
175175prepare-client :
176176 cd $(CLIENT_DIR ) && \
177- pip3 install ${PIP_ARGS} " torch==1.13 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
177+ pip3 install ${PIP_ARGS} " torch<=2.2 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
178178 pip3 install ${PIP_ARGS} -r requirements.txt --user && \
179179 pip3 install ${PIP_ARGS} -r requirements-dev.txt --user && \
180180 python3 setup.py build_proto
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ graphscope-client-manylinux2014-py3-nodocker:
174174 cd $(WORKING_DIR ) /../../python; \
175175 export PATH=/opt/python/$$ py/bin:$$ PATH; \
176176 python3 -m pip install ${PIP_ARGS} -U pip; \
177- python3 -m pip install ${PIP_ARGS} " torch==1.13 .1" --index-url https://download.pytorch.org/whl/cpu --user; \
177+ python3 -m pip install ${PIP_ARGS} " torch<=2.2 .1" --index-url https://download.pytorch.org/whl/cpu --user; \
178178 if [[ " $$ py" == " cp311-cp311" ]]; then \
179179 if [[ " ${ARCH} " == " aarch64" ]]; then \
180180 python3 -m pip install ${PIP_ARGS} grpcio==1.49.1 --no-binary grpcio; \
@@ -218,7 +218,7 @@ graphscope-client-manylinux2014-py3-nodocker:
218218
219219graphscope-client-darwin-py3 :
220220 cd $(WORKING_DIR ) /../../python && \
221- python3 -m pip install ${PIP_ARGS} " torch==1.13 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
221+ python3 -m pip install ${PIP_ARGS} " torch<=2.2 .1" " networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
222222 python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
223223 cd $(WORKING_DIR ) /../../learning_engine/graph-learn && \
224224 (git submodule update --init third_party/pybind11 || true) && \
You can’t perform that action at this time.
0 commit comments