mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-20 03:23:00 +08:00
Merge branch 'master' into dr-support-pip-cm
This commit is contained in:
commit
1c8c9f7f4d
@ -294,6 +294,9 @@ def amd_min_version(device=None, min_rdna_version=0):
|
|||||||
if not is_amd():
|
if not is_amd():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if is_device_cpu(device):
|
||||||
|
return False
|
||||||
|
|
||||||
arch = torch.cuda.get_device_properties(device).gcnArchName
|
arch = torch.cuda.get_device_properties(device).gcnArchName
|
||||||
if arch.startswith('gfx') and len(arch) == 7:
|
if arch.startswith('gfx') and len(arch) == 7:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user