Commit 2ac99c0
Add onnxscript 0.5.4 as a dependency (#127)
* Add onnxscript 0.5.4 as a dependency
According to the pytorch docs (https://docs.pytorch.org/docs/stable/onnx_export.html),
onnx export depends on onnxscript being installed. In PyTorch 2.9, the export behavior
now defaults to torch.export instead of torch.onnx, which is a codepath that imports
onnxscript eagerly.
---------
Co-authored-by: ClemensSchwarke <clemens.schwarke@gmail.com>1 parent 34fcf09 commit 2ac99c0
2 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments