Unverified Commit 0a1b16f8 by HL Committed by GitHub

distro: bump up version to v0.2.0.dev, limit vllm version (#327)

parent 94487625
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/dataset.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/dataset.yml
......@@ -37,4 +39,4 @@ jobs:
- name: Running ray test using cupy (move it to L20 when dockerfile ready)
run: |
cd tests/ray
pytest -s -x test_rvdz.py
\ No newline at end of file
pytest -s -x test_rvdz.py
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_digit_completion.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_digit_completion.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_gsm8k.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_gsm8k.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_gsm8k_megatron.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_gsm8k_megatron.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_lora.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_lora.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_sft.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/e2e_sft.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/model.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/model.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/ray_test.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/ray_test.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/sandbox.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/sandbox.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/sanity.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/sanity.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/vllm.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/vllm.yml
......
......@@ -6,12 +6,14 @@ on:
push:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/yapf_format.yml
pull_request:
branches:
- main
- v0.2.x
paths:
- "**/*.py"
- .github/workflows/yapf_format.yml
......
......@@ -44,7 +44,7 @@ dependencies = [
"ray>=2.10",
"tensordict<0.6",
"transformers",
"vllm<=0.6.3.post1",
"vllm<=0.6.3",
'wandb',
]
......
......@@ -15,5 +15,5 @@ pylatexenc
ray
tensordict<0.6
transformers
vllm==0.6.3.post1
vllm<=0.6.3
wandb
......@@ -36,7 +36,7 @@ install_requires = [
'ray>=2.10',
'tensordict<0.6',
'transformers',
'vllm<=0.6.3.post1',
'vllm<=0.6.3',
'wandb',
]
......
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Usage: $0 YOUR_GITHUB_TOKEN"
echo "Please provide exactly one input argument for your github token."
exit 1
fi
# Set your GitHub repository details
OWNER="volcengine"
REPO="verl"
TOKEN=$1
# API URL for workflow runs
API_URL="https://api.github.com/repos/$OWNER/$REPO/actions/runs?status=queued"
# Check required commands
command -v jq >/dev/null 2>&1 || { echo "jq is required but not installed. Aborting."; exit 1; }
# Get queued workflow runs
response=$(curl -s -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.v3+json" "$API_URL")
# Run this for debugging
# echo $response
# Extract run IDs
queued_run_ids=$(echo "$response" | jq -r '.workflow_runs[] | .id')
if [ -z "$queued_run_ids" ]; then
echo "No queued workflow runs found."
exit 0
fi
# Cancel each queued run
for run_id in $queued_run_ids; do
echo "Cancelling run $run_id"
cancel_url="https://api.github.com/repos/$OWNER/$REPO/actions/runs/$run_id/cancel"
curl -s -X POST -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.v3+json" "$cancel_url"
done
echo "Cancelled all queued workflow runs."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment