Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade PyTorch version to 1.13.1 #561

Draft
wants to merge 3 commits into
base: mainline
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
draft upgrade to torch 1.13.1
  • Loading branch information
vicilliar committed Aug 2, 2023
commit 426cd4c387b092ab6fce5acb66c1b6076cc1dfa0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG CUDA_VERSION=11.4.3
ARG CUDA_VERSION=11.7
FROM nvidia/cuda:${CUDA_VERSION}-cudnn8-runtime-ubuntu20.04 as cuda_image
FROM ubuntu:20.04
VOLUME /var/lib/docker
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ more_itertools
boto3==1.25.4
botocore==1.28.4
nltk==3.7
torch==1.12.1
torchvision==0.13.1
torch==1.13.1
torchvision==0.14.1
Pillow==9.3.0
numpy==1.23.4
validators==0.20.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_torch_amd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ if ! [[ "$TARGETPLATFORM" ]]; then
fi

if [[ "$TARGETPLATFORM" != "linux/arm64" ]]; then
pip3 install --no-cache-dir torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113 --upgrade
pip3 install --no-cache-dir torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu117 --upgrade
fi
2 changes: 1 addition & 1 deletion src/marqo/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.1.0"
__version__ = "1.1.0-torch1-13-1"


def get_version() -> str:
Expand Down