Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit c2fda17

Browse files
committed
Remove extract_constant from export
1 parent 4e7df69 commit c2fda17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchchat/export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ def export_for_et(model, device, output_path) -> str:
304304
edge_manager = edge_manager.to_backend(XnnpackDynamicallyQuantizedPartitioner())
305305
export_program = edge_manager.to_executorch(
306306
ExecutorchBackendConfig(
307-
extract_constant_segment=True,
308307
extract_delegate_segments=True,
309308
passes=[
310309
QuantFusionPass(),

0 commit comments

Comments
 (0)