mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 22:30:50 +08:00
Add warning for old pytorch. (#11718)
This commit is contained in:
parent
b6c79a648a
commit
21e8425087
@ -19,6 +19,7 @@ try:
|
|||||||
cuda_version = tuple(map(int, str(torch.version.cuda).split('.')))
|
cuda_version = tuple(map(int, str(torch.version.cuda).split('.')))
|
||||||
if cuda_version < (13,):
|
if cuda_version < (13,):
|
||||||
ck.registry.disable("cuda")
|
ck.registry.disable("cuda")
|
||||||
|
logging.warning("WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.")
|
||||||
|
|
||||||
ck.registry.disable("triton")
|
ck.registry.disable("triton")
|
||||||
for k, v in ck.list_backends().items():
|
for k, v in ck.list_backends().items():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user