Skip to content

Commit 3adee71

Browse files
authored
Create torch apis 2.11 (#2767)
Fix #2756 --------- Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
1 parent 65ebb01 commit 3adee71

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
"""Stable APIs for PyTorch 2.11."""
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+
16+
from onnxscript._framework_apis.torch_2_9 import (
17+
check_model,
18+
convert_version,
19+
get_torchlib_ops,
20+
optimize,
21+
save_model_with_external_data,
22+
)

0 commit comments

Comments
 (0)