Skip to content

Commit

Permalink
[torch-frontend] update torch to 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyunqu committed Oct 23, 2024
1 parent 4c96ed9 commit 06131ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontends/torch-frontend/scripts/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function prepare_for_build_with_prebuilt() {
pushd ${PROJ_DIR}
# install requirements
python3 -m pip install -r build-requirements.txt
# python3 -m pip install --no-cache-dir torch==2.1.0+cu118 torchvision==0.16.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html

# initialize submodule
git submodule update --init -f $TORCH_MLIR_ROOT
Expand All @@ -49,10 +48,11 @@ function prepare_for_build() {
pushd ${PROJ_DIR}
# install requirements
python3 -m pip install -r build-requirements.txt
# python3 -m pip install --no-cache-dir torch==2.1.0+cu118 torchvision==0.16.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html

# initialize submodule
git submodule update --init --recursive -f $TORCH_MLIR_ROOT

apply_patches
}

# python3 -m pip install --no-cache-dir torch==2.1.0+cu118 torchvision==0.16.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
4 changes: 2 additions & 2 deletions frontends/torch-frontend/torch-cpu-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--extra-index-url https://download.pytorch.org/whl/cpu
--pre
torch==2.1.0+cpu
torchvision==0.16.0+cpu
torch==2.4.1+cpu
torchvision==0.19.1+cpu
4 changes: 2 additions & 2 deletions frontends/torch-frontend/torch-cuda-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--extra-index-url https://download.pytorch.org/whl/cu118
--pre
torch==2.1.0+cu118
torchvision==0.16.0+cu118
torch==2.4.1+cu118
torchvision==0.19.1+cu118

0 comments on commit 06131ce

Please sign in to comment.