From 6ba9f14fa189b9f67695ac60e2b905ef8f8c3002 Mon Sep 17 00:00:00 2001 From: Kyle Sayers Date: Thu, 17 Jul 2025 18:26:31 -0400 Subject: [PATCH 1/2] remove tracing blame Signed-off-by: Kyle Sayers --- src/llmcompressor/pipelines/sequential/helpers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/llmcompressor/pipelines/sequential/helpers.py b/src/llmcompressor/pipelines/sequential/helpers.py index d2e4988ee..6f19b8ade 100644 --- a/src/llmcompressor/pipelines/sequential/helpers.py +++ b/src/llmcompressor/pipelines/sequential/helpers.py @@ -74,8 +74,6 @@ def forward(self, *args, **kwargs) -> Dict[str, Any]: raise RuntimeError( "Raised an exception during execution of the following code:\n" f"```\n{add_line_numbers(self._code.src)}\n```\n" - "This is likely due to a violation of shape assumptions made when " - "tracing" ) from exception return outputs From 8db448b3e8cb839957667874ccdf2e889636be77 Mon Sep 17 00:00:00 2001 From: Kyle Sayers Date: Tue, 29 Jul 2025 13:14:57 -0400 Subject: [PATCH 2/2] remove extra line break Signed-off-by: Kyle Sayers --- src/llmcompressor/pipelines/sequential/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmcompressor/pipelines/sequential/helpers.py b/src/llmcompressor/pipelines/sequential/helpers.py index 6f19b8ade..de9723a9f 100644 --- a/src/llmcompressor/pipelines/sequential/helpers.py +++ b/src/llmcompressor/pipelines/sequential/helpers.py @@ -73,7 +73,7 @@ def forward(self, *args, **kwargs) -> Dict[str, Any]: except Exception as exception: raise RuntimeError( "Raised an exception during execution of the following code:\n" - f"```\n{add_line_numbers(self._code.src)}\n```\n" + f"```\n{add_line_numbers(self._code.src)}\n```" ) from exception return outputs