We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f3f1f commit ec9f193Copy full SHA for ec9f193
tests/models/test_modeling_gemma2.py
@@ -17,6 +17,7 @@
17
import logging
18
import os
19
import subprocess
20
+import sys
21
import tempfile
22
import unittest
23
@@ -32,10 +33,14 @@
32
33
from ..utils import check_causal_lm_output_quality
34
35
36
+is_linux_ci = sys.platform.startswith("linux") and os.environ.get("GITHUB_ACTIONS") == "true"
37
+
38
39
@pytest.mark.skipif(
40
parse(torchao.__version__) < parse("0.11.0.dev0"),
41
reason="Only available on torchao >= 0.11.0.dev0",
42
)
43
+@pytest.mark.skipif(is_linux_ci, reason="OOM on linux runner")
44
class ExecuTorchModelIntegrationTest(unittest.TestCase):
45
def __init__(self, *args, **kwargs):
46
super().__init__(*args, **kwargs)
0 commit comments