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

Commit 15cf464

Browse files
committed
Import
1 parent 35db1f9 commit 15cf464

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
@@ -48,6 +48,8 @@ def export_for_server(
4848
Returns:
4949
The path to the exported model.
5050
"""
51+
from torch._inductor.package import package_aoti
52+
5153
if dynamic_shapes:
5254
input = (
5355
torch.tensor([[1, 9038, 2501, 263, 931]], dtype=torch.int, device=device),

0 commit comments

Comments
 (0)