Unverified Commit edbf2d60 authored by Richard Zou's avatar Richard Zou Committed by GitHub
Browse files

[easy] Fix logspam on PiecewiseBackend errors (#17138)


Signed-off-by: default avatarrzou <zou3519@gmail.com>
parent 999328be
......@@ -241,6 +241,8 @@ class PiecewiseCompileInterpreter(torch.fx.Interpreter):
self.graph_pool = graph_pool
self.vllm_config = vllm_config
self.vllm_backend = vllm_backend
# When True, it annoyingly dumps the torch.fx.Graph on errors.
self.extra_traceback = False
def run(self, *args):
fake_args = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment