Skip to content

Commit

Permalink
Merge pull request #71 from Yhlong00/main
Browse files Browse the repository at this point in the history
fix: incorrect cuda
  • Loading branch information
Yhlong00 authored Sep 24, 2024
2 parents 83549ee + 3eefd14 commit 521a178
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion official-templates/pytorch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
- To specify the platform, use `docker buildx bake <target> --set <target>.platform=linux/amd64`.

Example:

```bash
docker buildx bake 240-py311-cuda1240-devel-ubuntu2204 --set 240-py311-cuda1240-devel-ubuntu2204.platform=linux/amd64
docker buildx bake 240-py311-cuda1241-devel-ubuntu2204 --set 240-py311-cuda1241-devel-ubuntu2204.platform=linux/amd64
```

## Exposed Ports
Expand Down
2 changes: 1 addition & 1 deletion official-templates/pytorch/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ target "240-py311-cuda1241-devel-ubuntu2204" {
args = {
BASE_IMAGE = "nvidia/cuda:12.4.1-devel-ubuntu22.04"
PYTHON_VERSION = "3.11"
TORCH = "torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0"
TORCH = "torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124"
}
}

Expand Down

0 comments on commit 521a178

Please sign in to comment.