Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 0 additions & 136 deletions docker/Dockerfile-rocm-full

This file was deleted.

2 changes: 1 addition & 1 deletion docs-old/installation/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The following commands vary depending on the version of Invoke being installed a

- If you are on Windows or Linux with an Nvidia GPU, use `--torch-backend=cu128`.
- If you are on Linux with no GPU, use `--torch-backend=cpu`.
- If you are on Linux with an AMD GPU, use `--torch-backend=rocm6.3`.
- If you are on Linux with an AMD GPU, use `--torch-backend=rocm7.1`.
- **In all other cases, do not use a torch backend.**

=== "Invoke v5.10.0 to v5.11.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/start-here/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ The following commands vary depending on the version of Invoke being installed a
<TabItem label="Linux + AMD GPU">
Use:
```sh
--torch-backend=rocm6.3
--torch-backend=rocm7.1
```
</TabItem>
<TabItem label="All other cases">
Expand Down
17 changes: 10 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies = [
"safetensors",
"sentencepiece==0.2.0", # 0.2.1 coredumps windows when loading t5 tokenizer
"spandrel",
"torch~=2.7.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]`
"torch>=2.7.0,<3.0", # torch and related dependencies are loosely pinned, will respect requirement of `diffusers[torch]`
"torchsde", # diffusers needs this for SDE solvers, but it is not an explicit dep of diffusers
"torchvision",
"transformers>=4.56.0",
Expand Down Expand Up @@ -93,9 +93,9 @@ dependencies = [
"cpu" = ["torch==2.7.1+cpu", "torchvision==0.22.1+cpu"]
"cuda" = ["torch==2.7.1+cu128", "torchvision==0.22.1+cu128"]
"rocm" = [
"torch==2.7.1+rocm6.3",
"torchvision==0.22.1+rocm6.3",
"pytorch-triton-rocm",
"torch==2.10.0+rocm7.1",
"torchvision==0.25.0+rocm7.1",
"triton-rocm==3.6.0; sys_platform == 'linux'",
]

"onnx" = ["onnxruntime"]
Expand Down Expand Up @@ -130,6 +130,9 @@ dependencies = [
override-dependencies = ["opencv-python; sys_platform=='never'"]
conflicts = [[{ extra = "cpu" }, { extra = "cuda" }, { extra = "rocm" }]]
index-strategy = "unsafe-best-match"
# We do not publish or support ARM Linux builds; restrict resolution to
# x86_64 Linux, Windows, and macOS. (ROCm in particular is x86_64-only.)
environments = ["sys_platform == 'win32' or sys_platform == 'darwin' or (sys_platform == 'linux' and platform_machine == 'x86_64')"]

[tool.uv.sources]
torch = [
Expand All @@ -142,8 +145,8 @@ torchvision = [
{ index = "torch-cuda", extra = "cuda" },
{ index = "torch-rocm", extra = "rocm" },
]
pytorch-triton-rocm = [
{ index = "torch-rocm", extra = "rocm", marker = "sys_platform == 'linux'" },
triton-rocm = [
{ index = "torch-rocm", marker = "sys_platform == 'linux'" },
]

[[tool.uv.index]]
Expand All @@ -158,7 +161,7 @@ explicit = true

[[tool.uv.index]]
name = "torch-rocm"
url = "https://download.pytorch.org/whl/rocm6.3"
url = "https://download.pytorch.org/whl/rocm7.1"
explicit = true

[project.scripts]
Expand Down
Loading