File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments