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