Skip to content

Commit a439360

Browse files
committed
TPU simple tests
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
1 parent 53d09eb commit a439360

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/tpu-tests.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ jobs:
7171
run: |
7272
# Config tests that passed
7373
python -m pytest tests/sft/config_test.py -v --tb=short
74-
75-
74+
7675
# Checkpoint manager test that passed
7776
python -m pytest tests/sft/checkpoint_manager_test.py::CheckpointManagerTest::test_empty_root_directory -v --tb=short
7877
@@ -143,9 +142,15 @@ jobs:
143142
python -m pytest tests/distillation/strategies/logit_test.py::LogitStrategyTest::test_init_valid_alpha_zero -v --tb=short
144143
python -m pytest tests/distillation/strategies/logit_test.py::LogitStrategyTest::test_init_valid_valid -v --tb=short
145144
146-
- name: Run tunix RL tests (basic)
145+
- name: Run tunix RL tests (PASSED only)
147146
run: |
148-
python -m pytest tests/rl/common_test.py -v --tb=short -m "not cpu_only and not gpu_only"
147+
# RL common tests that passed
148+
python -m pytest tests/rl/common_test.py::CommonTest::test_build_positions_from_mask -v --tb=short
149+
python -m pytest tests/rl/common_test.py::CommonTest::test_compute_kl_divergence_kl -v --tb=short
150+
python -m pytest tests/rl/common_test.py::CommonTest::test_compute_kl_divergence_mse_kl -v --tb=short
151+
python -m pytest tests/rl/common_test.py::CommonTest::test_make_causal_attn_mask -v --tb=short
152+
python -m pytest tests/rl/common_test.py::CommonTest::test_make_completion_mask -v --tb=short
153+
python -m pytest tests/rl/common_test.py::CommonTest::test_pad_to_length -v --tb=short
149154
150155
- name: Test tunix imports
151156
run: |

0 commit comments

Comments
 (0)