Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Sep 16, 2024
2 parents 3a99b43 + b1ff110 commit d9fda4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/unittest/linux/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ dependencies:
- coverage
- h5py
- orjson
# - onnx
# - onnxscript
# - onnxruntime
6 changes: 4 additions & 2 deletions test/test_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from pathlib import Path
from typing import Any

import onnxruntime

import pytest

import torch
Expand Down Expand Up @@ -797,6 +795,8 @@ def test_onnx_export_module(self, tmpdir):

path = Path(tmpdir) / "file.onnx"
onnx_program.save(str(path))
import onnxruntime

ort_session = onnxruntime.InferenceSession(
path, providers=["CPUExecutionProvider"]
)
Expand Down Expand Up @@ -832,6 +832,8 @@ def test_onnx_export_seq(self, tmpdir):

path = Path(tmpdir) / "file.onnx"
onnx_program.save(str(path))
import onnxruntime

ort_session = onnxruntime.InferenceSession(
path, providers=["CPUExecutionProvider"]
)
Expand Down

0 comments on commit d9fda4a

Please sign in to comment.