Commit 14366af
authored
[reland] Update export api to be the latest version. (#228)
Summary:
the issue from torch nightly has been fixed for the new export API. relanding.
Test Plan:
Also tested on #227
```
=================================================================================== test session starts ===================================================================================
platform linux -- Python 3.12.11, pytest-7.3.2, pluggy-1.6.0
rootdir: /data/users/zhxchen17/autoparallel
plugins: xdoctest-1.1.0, hypothesis-5.35.1, xdist-3.3.1, subtests-0.13.1, rerunfailures-14.0, flakefinder-1.1.0, cpp-2.3.0, anyio-4.10.0
collected 21 items
tests/test_aot_eager.py ..x [ 14%]
tests/test_api.py .... [ 33%]
tests/test_dtensor.py .... [ 52%]
tests/test_optimize_placement.py ........ [ 90%]
tests/test_ordered_sharding.py .. [100%]
======================================================================== 20 passed, 1 xfailed in 86.30s (0:01:26) =========================================================================
```1 parent b1c4909 commit 14366af
1 file changed
+2
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | 161 | | |
178 | 162 | | |
179 | 163 | | |
| |||
298 | 282 | | |
299 | 283 | | |
300 | 284 | | |
301 | | - | |
| 285 | + | |
302 | 286 | | |
303 | 287 | | |
304 | 288 | | |
| |||
0 commit comments