The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix device print on old torch version.
comfyanonymousff6b047a7474
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex 69542cc37..34d22429a 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -204,7 +204,11 @@ print(f"Set vram state to: {vram_state.name}")def get_torch_device_name(device):if hasattr(device, 'type'):if device.type == "cuda":- return "{} {} : {}".format(device, torch.cuda.get_device_name(device), torch.cuda.get_allocator_backend())+ try:+ allocator_backend = torch.cuda.get_allocator_backend()+ except:+ allocator_backend = ""+ return "{} {} : {}".format(device, torch.cuda.get_device_name(device), allocator_backend)else:return "{}".format(device.type)else: