Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: skip test_data_equal on the GPU machine #4260

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/tests/consistent/io/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
DeepEval,
)

from ...utils import (
CI,
TEST_DEVICE,
)

infer_path = Path(__file__).parent.parent.parent / "infer"


Expand Down Expand Up @@ -66,6 +71,7 @@ def tearDown(self):
elif Path(ii).is_dir():
shutil.rmtree(ii)

@unittest.skipIf(TEST_DEVICE != "cpu" and CI, "Only test on CPU.")
njzjz marked this conversation as resolved.
Show resolved Hide resolved
def test_data_equal(self):
prefix = "test_consistent_io_" + self.__class__.__name__.lower()
for backend_name in ("tensorflow", "pytorch", "dpmodel", "jax"):
Expand Down
Loading