mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-26 14:20:27 +08:00
Fix pylint error
This commit is contained in:
parent
a5467b897d
commit
02d186b0c6
@ -92,7 +92,10 @@ class TorchCompileModel(CustomNode):
|
|||||||
logging.warning("Encountered a model that cannot be compiled")
|
logging.warning("Encountered a model that cannot be compiled")
|
||||||
return model,
|
return model,
|
||||||
except OSError:
|
except OSError:
|
||||||
torch._inductor.utils.clear_inductor_caches()
|
try:
|
||||||
|
torch._inductor.utils.clear_inductor_caches() # pylint: disable=no-member
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user