[NFC] [inductor] [compile async] Warn exception if pickler failed (#152401)

A NFC to help us to find issues

See https://github.com/pytorch/pytorch/issues/151904

CC @aorenste

Pull Request resolved: https://github.com/pytorch/pytorch/pull/152401
Approved by: https://github.com/Skylion007
This commit is contained in:
Chuanqi Xu 2025-05-06 07:12:35 +00:00 committed by PyTorch MergeBot
parent 1dd36ad2d4
commit 689e14ae00

View File

@ -486,7 +486,7 @@ class _SerializedFxCompile(FxCompile):
# 'make_opaque_unary_fn.<locals>.OpaqueUnaryFn'
# TODO: scuba record about not being able to do this?
log.debug("Unable to pickle input graph or example inputs", exc_info=True)
log.warning("Unable to pickle input graph or example inputs", exc_info=True)
return None