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

Commit a26c231

Browse files
committed
Import
1 parent b84c13b commit a26c231

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

torchchat/export.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def export_for_server(
5050
Returns:
5151
The path to the exported model.
5252
"""
53+
from torch._inductor.package import package_aoti
54+
5355
if dynamic_shapes:
5456
example_inputs = (
5557
torch.tensor([[1, 9038, 2501, 263, 931]], dtype=torch.int, device=device),

0 commit comments

Comments
 (0)