mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-14 00:00:57 +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")
|
||||
return model,
|
||||
except OSError:
|
||||
torch._inductor.utils.clear_inductor_caches()
|
||||
try:
|
||||
torch._inductor.utils.clear_inductor_caches() # pylint: disable=no-member
|
||||
except Exception:
|
||||
pass
|
||||
raise
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user