Skip to content

Commit

Permalink
distro: bump up version to v0.2.0.dev, limit vllm version
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin committed Feb 20, 2025
1 parent 9448762 commit 5379cf5
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
pytest -s -x test_rvdz.py
2 changes: 2 additions & 0 deletions .github/workflows/e2e_digit_completion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e_gsm8k.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e_gsm8k_megatron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e_lora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e_sft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ray_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/vllm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/yapf_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies = [
"ray>=2.10",
"tensordict<0.6",
"transformers",
"vllm<=0.6.3.post1",
"vllm<=0.6.3",
'wandb',
]

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ pylatexenc
ray
tensordict<0.6
transformers
vllm==0.6.3.post1
vllm<=0.6.3
wandb
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'ray>=2.10',
'tensordict<0.6',
'transformers',
'vllm<=0.6.3.post1',
'vllm<=0.6.3',
'wandb',
]

Expand Down
41 changes: 41 additions & 0 deletions tests/kill_github_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/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."
2 changes: 1 addition & 1 deletion verl/version/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2
0.2.0.dev

0 comments on commit 5379cf5

Please sign in to comment.