mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-13 07:40:50 +08:00
Update model_management.py
This commit is contained in:
parent
9dea868c65
commit
1d7cbcdcb2
@ -273,9 +273,7 @@ def get_torch_device_name(device):
|
||||
|
||||
try:
|
||||
torch_device_name = get_torch_device_name(get_torch_device())
|
||||
|
||||
|
||||
|
||||
|
||||
if "[ZLUDA]" in torch_device_name:
|
||||
print(" ")
|
||||
print("***----------------------ZLUDA--------------------------***")
|
||||
@ -288,6 +286,7 @@ try:
|
||||
print("***-----------------------------------------------------***")
|
||||
print(" :: Device:", torch_device_name)
|
||||
print(" ")
|
||||
|
||||
except:
|
||||
print("Could not pick default device.")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user