Skip to content

Commit 2d603fb

Browse files
authored
Create torch_2_8 apis (#2419)
Signed-off-by: Justin Chu <[email protected]>
1 parent 188411f commit 2d603fb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
"""Stable APIs for PyTorch 2.7."""
4+
5+
from __future__ import annotations
6+
7+
__all__ = [
8+
"check_model",
9+
"convert_version",
10+
"get_torchlib_ops",
11+
"optimize",
12+
"save_model_with_external_data",
13+
]
14+
15+
from onnxscript._framework_apis.torch_2_6 import (
16+
check_model,
17+
convert_version,
18+
get_torchlib_ops,
19+
optimize,
20+
save_model_with_external_data,
21+
)

0 commit comments

Comments
 (0)