Skip to content

Commit 1964f51

Browse files
authored
Merge pull request #318 from RBLN-SW/release-0.10.0
2 parents 388e810 + 3218466 commit 1964f51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3498
-904
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Thank you for contributing to vllm-rbln! 🚀
33
This template will help us understand and review your pull request efficiently.
44
Please fill out all required sections. You may delete optional ones if not applicable.
5-
see: https://github.com/rebellions-sw/vllm-rbln/blob/main/CONTRIBUTING.md
5+
see: https://github.com/rbln-sw/vllm-rbln/blob/main/CONTRIBUTING.md
66
-->
77

88
### 🚀 Summary of Changes

.github/workflows/pkg_create_pr.yaml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,10 @@ on:
1010
description: "Optimum version to update"
1111
required: true
1212
type: string
13-
secrets:
14-
REBEL_PYPI_USERNAME:
15-
required: true
16-
REBEL_PYPI_PASSWORD:
17-
required: true
18-
REBEL_SW_DEVELOP_USERNAME:
19-
required: true
20-
REBEL_SW_DEVELOP_PASSWORD:
21-
required: true
22-
GIT_PAT:
23-
required: true
13+
2414
jobs:
2515
create-pr:
26-
runs-on: ubuntu-latest-rbln
16+
runs-on: rbln-sw-k8s-general
2717
steps:
2818
- name: Checkout
2919
uses: actions/checkout@v4
@@ -51,32 +41,15 @@ jobs:
5141
done
5242
echo "All retries with --cache-dir failed."
5343
exit 1
54-
env:
55-
UV_INDEX_REBELLIONS_USERNAME: ${{ secrets.REBEL_PYPI_USERNAME }}
56-
UV_INDEX_REBELLIONS_PASSWORD: ${{ secrets.REBEL_PYPI_PASSWORD }}
57-
58-
- name: Update Optimum Version in requirements.txt
59-
id: update-requirements-txt
60-
run: |
61-
if [ ! -f requirements.txt ]; then
62-
echo "Error: requirements.txt not found"
63-
exit 1
64-
fi
65-
VERSION="${{ inputs.optimum-version }}"
66-
VERSION="${VERSION#v}"
67-
sed -i "s/optimum-rbln>=.*/optimum-rbln>=${VERSION}/" requirements.txt
68-
echo "Updated requirements.txt:"
69-
cat requirements.txt
7044
7145
- name: Create PR for updated files
7246
id: create-pr-step
73-
if: ${{ steps.uv-update-optimum-rbln.outcome == 'success' && steps.update-requirements-txt.outcome == 'success' }}
47+
if: ${{ steps.uv-update-optimum-rbln.outcome == 'success' }}
7448
uses: peter-evans/create-pull-request@v7
7549
with:
7650
token: ${{ secrets.GIT_PAT }}
7751
add-paths: |
7852
pyproject.toml
79-
requirements.txt
8053
commit-message: "Update optimum-rbln to ${{ inputs.optimum-version }}"
8154
title: "Auto-update optimum-rbln to ${{ inputs.optimum-version }}"
8255
body: "Updated optimum-rbln to ${{ inputs.optimum-version }}."

.github/workflows/pkg_update.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
check-skip:
16-
runs-on: ubuntu-latest-rbln
16+
runs-on: rbln-sw-k8s-general
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
@@ -41,6 +41,8 @@ jobs:
4141
else
4242
VERSION=${{ inputs.optimum-version }}
4343
fi
44+
# Remove 'v' prefix if present
45+
VERSION="${VERSION#v}"
4446
echo "version=$VERSION" >> $GITHUB_OUTPUT
4547
4648
- name: Check Skip PR (vllm-rbln)
@@ -69,15 +71,10 @@ jobs:
6971
with:
7072
python-version: ${{ inputs.python-version }}
7173
optimum-version: ${{ needs.check-skip.outputs.target-version }}
72-
secrets:
73-
REBEL_PYPI_USERNAME: ${{ secrets.REBEL_PYPI_USERNAME }}
74-
REBEL_PYPI_PASSWORD: ${{ secrets.REBEL_PYPI_PASSWORD }}
75-
REBEL_SW_DEVELOP_USERNAME: ${{ secrets.REBEL_SW_DEVELOP_USERNAME }}
76-
REBEL_SW_DEVELOP_PASSWORD: ${{ secrets.REBEL_SW_DEVELOP_PASSWORD }}
77-
GIT_PAT: ${{ secrets.GIT_PAT }}
74+
secrets: inherit
7875

7976
summary:
80-
runs-on: ubuntu-latest-rbln
77+
runs-on: rbln-sw-k8s-general
8178
needs: [check-skip, vllm-rbln-pr]
8279
if: always() # Run even if dependencies fail or are skipped
8380
env:

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
pre-commit:
8-
runs-on: ubuntu-latest-rbln
8+
runs-on: rbln-sw-k8s-general
99
steps:
1010
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1111
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0

.github/workflows/rbln_deploy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99

1010
jobs:
1111
deploy:
12-
runs-on: ubuntu-20.04-rbln
12+
runs-on: rbln-sw-k8s-general
1313
continue-on-error: true
1414
steps:
1515
- name: Checkout the repository
1616
uses: actions/checkout@v4
1717
with:
18-
repository: rebellions-sw/vllm-rbln
18+
repository: rbln-sw/vllm-rbln
1919
fetch-depth: 0
2020
ref: ${{ inputs.version }}
2121
token: ${{ secrets.GITHUB_TOKEN }}
@@ -25,14 +25,14 @@ jobs:
2525
python-version: "3.13"
2626
- name: Install build dependencies
2727
run: |
28-
pip3 install packaging setuptools wheel setuptools_scm
28+
pip3 install packaging setuptools wheel setuptools_scm build
2929
- name: Build package
3030
run: |
31-
python3 setup.py bdist_wheel
31+
python3 -m build --wheel
3232
- name: Publish package
3333
run: |
3434
pip3 install twine
3535
TWINE_USERNAME=__token__ \
36-
TWINE_PASSWORD=${{ secrets.PYPI_ORG_PASSWORD }} \
36+
TWINE_PASSWORD=${{ secrets.PKG_ORG_GATE }} \
3737
TWINE_NON_INTERACTIVE=1 \
3838
twine upload --skip-existing dist/vllm_rbln*.whl

.github/workflows/rbln_dispatch_trigger_on_pr_ci.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@ on:
77
description: "GitHub PR URL (e.g., https://github.com/ORG/REPO/pull/123)"
88
required: true
99
type: string
10+
rebel_compiler_version:
11+
description: "Version of rebel-compiler to use (optional)"
12+
required: false
13+
type: string
14+
optimum_rbln_version:
15+
description: "Version of optimum-rbln to use (optional)"
16+
required: false
17+
type: string
1018

1119
permissions:
1220
contents: write
1321

1422
jobs:
1523
sync-and-call:
16-
runs-on: runner-vllm-ci
24+
runs-on: rbln-sw-k8s-general
1725
permissions:
1826
contents: write
1927
outputs:
@@ -72,16 +80,18 @@ jobs:
7280
needs: sync-and-call
7381
uses: ./.github/workflows/pre-commit.yml
7482

75-
check_device_run:
83+
check_internal_tests:
7684
needs: sync-and-call
7785
uses: ./.github/workflows/rbln_trigger_internal_test.yaml
7886
with:
7987
ref: ${{ needs.sync-and-call.outputs.sync_branch }}
88+
rebel_compiler_version: ${{ inputs.rebel_compiler_version }}
89+
optimum_rbln_version: ${{ inputs.optimum_rbln_version }}
8090
secrets: inherit
8191

8292
cleanup:
83-
runs-on: runner-vllm-ci
84-
needs: [sync-and-call, check_code_quaility, check_device_run]
93+
runs-on: rbln-sw-k8s-general
94+
needs: [sync-and-call, check_code_quaility, check_internal_tests]
8595
if: always()
8696
permissions:
8797
contents: write

0 commit comments

Comments
 (0)