mirror of
https://github.com/Comfy-Org/ComfyUI-Standalone-Environments.git
synced 2026-11-04 23:47:22 +00:00
[PR #1] [MERGED] fix: pin AMD Windows ROCm and torch versions to prevent CPU fallback #5
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Standalone-Environments#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/pull/1
Author: @Kosinkadink
Created: 3/14/2026
Status: ✅ Merged
Merged: 3/14/2026
Merged by: @Kosinkadink
Base:
main← Head:fix/pin-amd-win-torch-versions📝 Commits (1)
18d4a00fix: pin AMD Windows ROCm and torch versions to prevent CPU fallback📊 Changes
1 file changed (+8 additions, -7 deletions)
View changed files
📝
requirements-amd-win.txt(+8 -7)📄 Description
Problem
The
win-amdstandalone build ships withtorch 2.10.0+cpuinstead of the ROCm-enabled torch. This happens because:requirements-amd-win.txtuses--find-linksto point to the ROCm repo, but lists baretorch/torchvision/torchaudiowithout version pins--find-linksmerely adds the ROCm repo as an additional source — it doesn't restrict resolution to ittorch 2.10.0(CPU-only, from PyPI) is newer thantorch 2.9.1+rocmsdk20260116(from ROCm repo), pip prefers the newer CPU wheelThis can be confirmed in the published
manifests.jsonwherewin-amdshowstorch_version: "2.10.0+cpu".Fix
Pin all ROCm SDK and torch packages to the exact versions available on
repo.radeon.com/rocm/windows/rocm-rel-7.2/. This is consistent with how the legacy desktop app (desktop/src/constants.ts) installs AMD packages via direct wheel URLs.Verification
After this change, the CI build for
win-amdshould produce a manifest withtorch_version: "2.9.1+rocmsdk20260116"instead of2.10.0+cpu.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.