mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-15 16:02:32 +08:00
Add pytorch-triton-rocm to dependencies when targeting AMD because accelerate needs to find it in the rocm repo
This commit is contained in:
parent
0fcd07962f
commit
c0fc1d1458
1
setup.py
1
setup.py
@ -146,6 +146,7 @@ def dependencies(force_nightly: bool = False) -> List[str]:
|
|||||||
index_urls += [nvidia_torch_index]
|
index_urls += [nvidia_torch_index]
|
||||||
elif _is_amd():
|
elif _is_amd():
|
||||||
index_urls += [amd_torch_index]
|
index_urls += [amd_torch_index]
|
||||||
|
_dependencies += ["pytorch-triton-rocm"]
|
||||||
else:
|
else:
|
||||||
index_urls += [cpu_torch_index]
|
index_urls += [cpu_torch_index]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user