Skip to content

Commit 37449fe

Browse files
jiangyangmuThe tunix Authors
authored andcommitted
update nightly regression test
PiperOrigin-RevId: 907885739
1 parent bbd5396 commit 37449fe

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/tpu-nightly-regression.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ jobs:
6363
run: |
6464
pip install -e .[prod,test]
6565
66+
# override vLLM and tpu-inference
67+
export VLLM_TARGET_DEVICE=tpu
68+
pip install -r requirements/requirements.txt
69+
pip install -r requirements/special_requirements.txt
70+
6671
- name: Verify TPU availability
6772
run: |
6873
python -c "
@@ -126,7 +131,7 @@ jobs:
126131
pip install jax==0.8.1 flax==0.12.0 libtpu==0.0.24
127132
pip list | egrep 'jax|flax|libtpu'
128133
cd tunix
129-
134+
130135
echo "📦 Executing: scripts/grpo_demo_llama3_qwen2.py with sglang_jax in colocated mode ..."
131136
python scripts/grpo_demo_llama3_qwen2.py --root-dir=/tmp/grpo_test --num-batches=20 --rollout-engine=sglang_jax || FAILED=1
132137
@@ -139,7 +144,7 @@ jobs:
139144
# echo "📦 Executing: scripts/grpo_demo_llama3_qwen2.py with sglang_jax with LoRA ..."
140145
# python scripts/grpo_demo_llama3_qwen2.py --root-dir=/tmp/grpo_test --num-batches=20 --rollout-engine sglang_jax --enable-lora --lora-target-modules all || FAILED=1
141146
142-
147+
143148
if [ "$FAILED" -ne 0 ]; then
144149
echo "One or more scripts failed!"
145150
exit 1

0 commit comments

Comments
 (0)