mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-20 03:23:00 +08:00
Add env TORCH_AMD_CUDNN_ENABLED (fix typo)
This commit is contained in:
parent
90ba86a95f
commit
de408d5f2c
@ -343,7 +343,7 @@ try:
|
|||||||
"0", "off", "false", "disable", "disabled", "no"}
|
"0", "off", "false", "disable", "disabled", "no"}
|
||||||
if not torch.backends.cudnn.enabled:
|
if not torch.backends.cudnn.enabled:
|
||||||
logging.info(
|
logging.info(
|
||||||
"ComfyUI has set torch.backends.cudnn.enabled to False for better AMD performance. Set environment var TORCH_AMD_CUDDNN_ENABLED=1 to enable it again.")
|
"ComfyUI has set torch.backends.cudnn.enabled to False for better AMD performance. Set environment var TORCH_AMD_CUDNN_ENABLED=1 to enable it again.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
rocm_version = tuple(map(int, str(torch.version.hip).split(".")[:2]))
|
rocm_version = tuple(map(int, str(torch.version.hip).split(".")[:2]))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user