Skip to content

Commit 3df0678

Browse files
committed
Lint
1 parent 1b0c5e4 commit 3df0678

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extension/llm/export/builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,9 @@ def pt2e_quantize(self, quantizers: Optional[List[Quantizer]]) -> "LLMEdgeManage
330330
assert (
331331
self.pre_autograd_graph_module is not None
332332
), "Please run export() first"
333-
m = prepare_pt2e(self.pre_autograd_graph_module, composed_quantizer) # pyre-ignore[6]: In call `prepare_pt2e`, for 1st positional argument, expected `GraphModule` but got `Module`.
333+
m = prepare_pt2e(
334+
self.pre_autograd_graph_module, composed_quantizer
335+
) # pyre-ignore[6]: In call `prepare_pt2e`, for 1st positional argument, expected `GraphModule` but got `Module`.
334336
logging.info(
335337
f"Calibrating with tasks: {self.calibration_tasks}, limit: {self.calibration_limit}, calibration_data: {self.calibration_data}, tokenizer_path: {self.tokenizer_path}, seq_length: {self.calibration_seq_length}"
336338
)

0 commit comments

Comments
 (0)