mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-16 17:42:58 +08:00
Log message for cudnn disable on AMD. (#10418)
This commit is contained in:
parent
a4787ac83b
commit
2c2aa409b0
@ -333,6 +333,7 @@ SUPPORT_FP8_OPS = args.supports_fp8_compute
|
|||||||
try:
|
try:
|
||||||
if is_amd():
|
if is_amd():
|
||||||
torch.backends.cudnn.enabled = False # Seems to improve things a lot on AMD
|
torch.backends.cudnn.enabled = False # Seems to improve things a lot on AMD
|
||||||
|
logging.info("Set: torch.backends.cudnn.enabled = False for better AMD performance.")
|
||||||
try:
|
try:
|
||||||
rocm_version = tuple(map(int, str(torch.version.hip).split(".")[:2]))
|
rocm_version = tuple(map(int, str(torch.version.hip).split(".")[:2]))
|
||||||
except:
|
except:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user