Skip to content

Commit 6108432

Browse files
committed
pytorch2.3 with ROCM6.0
Signed-off-by: Alexander Piskun <[email protected]>
1 parent 01eb71f commit 6108432

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ build-push:
2525
docker login ghcr.io
2626
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/cloud-py-api/ai_image_generator_bot:2.1.0 .
2727

28-
.PHONY: build-push-last
29-
build-push-last:
28+
.PHONY: build-push-latest
29+
build-push-latest:
3030
docker login ghcr.io
3131
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/cloud-py-api/ai_image_generator_bot:latest .
3232

lib/hw_install.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def hw_install():
5151
if defined_accelerator == "cpu":
5252
requirements = "torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu"
5353
elif defined_accelerator == "rocm":
54-
# TO-DO: upcoming PyTorch 2.3 will have ROCM 6.0 by default
55-
requirements = "--pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0"
54+
requirements = "torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.0"
5655
else:
5756
requirements = "torch torchvision torchaudio"
5857

0 commit comments

Comments
 (0)