Skip to content

Commit 5c77d54

Browse files
Merge pull request #2796 from AI-Hypercomputer:chengnuojin-skip-aot
PiperOrigin-RevId: 841983264
2 parents 7ebcc9a + 2e0e0cd commit 5c77d54

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/run_tests_against_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ jobs:
111111
fi
112112
# TODO: Fix the skipped tests and remove the deselect flags
113113
[ "${{ inputs.total_workers }}" -gt 1 ] && .venv/bin/python3 -m pip install --quiet pytest-split && SPLIT_ARGS="--splits ${{ inputs.total_workers }} --group ${{ inputs.worker_group }}" || SPLIT_ARGS=""
114-
.venv/bin/python3 -m pytest ${{ inputs.pytest_addopts }} -v -m "${FINAL_PYTEST_MARKER}" --durations=0 --deselect "tests/aot_hlo_identical_test.py::AotHloIdenticalTest::test_default_hlo_match" --deselect "tests/tokenizer_test.py::TokenizerTest::test_detokenize" $SPLIT_ARGS
114+
.venv/bin/python3 -m pytest ${{ inputs.pytest_addopts }} -v -m "${FINAL_PYTEST_MARKER}" --durations=0 --deselect "tests/tokenizer_test.py::TokenizerTest::test_detokenize" $SPLIT_ARGS

.github/workflows/run_tests_internal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ jobs:
8181
python3 -m pip install -e . --no-dependencies
8282
[ "${{ inputs.total_workers }}" -gt 1 ] && python3 -m pip install --quiet pytest-split && SPLIT_ARGS="--splits ${{ inputs.total_workers }} --group ${{ inputs.worker_group }}" || SPLIT_ARGS=""
8383
export LIBTPU_INIT_ARGS='--xla_tpu_scoped_vmem_limit_kib=65536'
84-
python3 -m pytest ${{ inputs.pytest_addopts }} -v -m "${FINAL_PYTEST_MARKER}" --durations=0 --deselect "tests/aot_hlo_identical_test.py::AotHloIdenticalTest::test_default_hlo_match" $SPLIT_ARGS
84+
python3 -m pytest ${{ inputs.pytest_addopts }} -v -m "${FINAL_PYTEST_MARKER}" --durations=0 $SPLIT_ARGS

tests/aot_hlo_identical_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,19 @@ def assert_compile_and_real_match_hlo(self, test_name, *extra_args):
153153
print("AOT Compiled and train HLO files are identical for test {test_name}!")
154154

155155
@pytest.mark.tpu_only
156+
@pytest.mark.skip(reason="FileNotFoundError: /tmp/aot_test_dump. Skipped until fixing b/463839714.")
156157
def test_default_hlo_match(self):
157158
self.assert_compile_and_real_match_hlo("default_run")
158159

159160
@pytest.mark.tpu_only
160161
@pytest.mark.scheduled_only
162+
@pytest.mark.skip(reason="FileNotFoundError: /tmp/aot_test_dump. Skipped until fixing b/463839714.")
161163
def test_int8_hlo_match(self):
162164
self.assert_compile_and_real_match_hlo("int8", "quantization=int8")
163165

164166
@pytest.mark.tpu_only
165167
@pytest.mark.scheduled_only
168+
@pytest.mark.skip(reason="FileNotFoundError: /tmp/aot_test_dump. Skipped until fixing b/463839714.")
166169
def test_llama2_7b_hlo_match(self):
167170
self.assert_compile_and_real_match_hlo(
168171
"llama2-7b",

0 commit comments

Comments
 (0)