Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Configuration for actionlint
# https://github.com/rhysd/actionlint/blob/main/docs/config.md

self-hosted-runner:
# Labels for self-hosted runners used in this repository
labels:
- rbln-sw-k8s-general
- rbln-sw-k8s-ca22-1
- rbln-sw-k8s-ca22-4
- rbln-sw-k8s-ca22-8
- fsw-r18s-atom-ext-rbln-sw-general-c3m48a1
- fsw-r18s-atom-ext-rbln-sw-general-c1m12
33 changes: 26 additions & 7 deletions .github/workflows/rbln_optimum_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,30 @@ on:
description: "ref to checkout"
required: false
type: string
pr_number:
description: "PR number to checkout (optional)"
required: false
type: string
rebel_compiler_version:
description: "Version of rebel-compiler to use (optional)"
required: true
description: "Version of rebel-compiler to use (optional, will fetch latest if not provided)"
required: false
type: string
optimum_rbln_version:
description: "Version of optimum-rbln to use (optional)"
required: true
required: false
type: string
workflow_call:
inputs:
ref:
description: "ref to checkout"
required: false
type: string
pr_number:
description: "PR number to checkout (optional)"
required: false
type: string
rebel_compiler_version:
description: "Version of rebel-compiler to use (optional)"
description: "Version of rebel-compiler to use"
required: false
type: string
optimum_rbln_version:
Expand All @@ -34,7 +42,14 @@ env:
REBEL_VLLM_PRE_COMPILED_DIR: ${{ secrets.VLLM_PRE_COMPILED_DIR }}

jobs:
get-compiler-version:
if: ${{ !inputs.rebel_compiler_version }}
uses: ./.github/workflows/rbln_utils_get_compiler_version_ci.yaml
secrets: inherit

test_vllm_rbln_rsd1:
needs: [get-compiler-version]
if: ${{ always() && !cancelled() }}
name: Optimum Test CI RSD 1
runs-on: rbln-sw-k8s-ca22-1
container:
Expand All @@ -59,7 +74,7 @@ jobs:
apt-get install -y build-essential
export CXX=$(which g++)
uv pip uninstall --system rebel-compiler
VERSION=${{ inputs.rebel_compiler_version }}
VERSION=${{ inputs.rebel_compiler_version || needs.get-compiler-version.outputs.compiler_version }}
uv pip install --system --extra-index-url ${{ secrets.DEV_PKG_URL }} rebel-compiler==${VERSION}

- name: Checkout current repository
Expand Down Expand Up @@ -121,6 +136,8 @@ jobs:
--golden_json ${{ env.REBEL_VLLM_PRE_COMPILED_DIR }}/golden/golden_bge_m3_result_qp_prompts.json

test_vllm_rbln_rsd4:
needs: [get-compiler-version]
if: ${{ always() && !cancelled() }}
name: Optimum Test CI RSD 4
runs-on: rbln-sw-k8s-ca22-4
container:
Expand All @@ -145,7 +162,7 @@ jobs:
apt-get install -y build-essential
export CXX=$(which g++)
uv pip uninstall --system rebel-compiler
VERSION=${{ inputs.rebel_compiler_version }}
VERSION=${{ inputs.rebel_compiler_version || needs.get-compiler-version.outputs.compiler_version }}
uv pip install --system --extra-index-url ${{ secrets.DEV_PKG_URL }} rebel-compiler==${VERSION}

- name: Checkout current repository
Expand Down Expand Up @@ -251,6 +268,8 @@ jobs:
--model_id ${{ env.REBEL_VLLM_PRE_COMPILED_DIR }}/paligemma-3b-8k-b4

test_vllm_rbln_rsd8:
needs: [get-compiler-version]
if: ${{ always() && !cancelled() }}
name: Optimum Test CI RSD 8
runs-on: rbln-sw-k8s-ca22-8
container:
Expand All @@ -275,7 +294,7 @@ jobs:
apt-get install -y build-essential
export CXX=$(which g++)
uv pip uninstall --system rebel-compiler
VERSION=${{ inputs.rebel_compiler_version }}
VERSION=${{ inputs.rebel_compiler_version || needs.get-compiler-version.outputs.compiler_version }}
uv pip install --system --extra-index-url ${{ secrets.DEV_PKG_URL }} rebel-compiler==${VERSION}

- name: Checkout current repository
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/rbln_trigger_internal_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
description: "ref to checkout"
required: false
type: string
pr_number:
description: "PR number to checkout (optional)"
required: false
type: string
rebel_compiler_version:
description: "Version of rebel-compiler to use (optional)"
required: false
Expand Down Expand Up @@ -60,18 +64,20 @@ jobs:

vllm-rbln-pytest:
needs: [get-compiler-version, build-vllm-rbln]
if: ${{ always() && !cancelled() && needs.build-vllm-rbln.result == 'success' }}
uses: ./.github/workflows/rbln_vllm-rbln_pytest.yaml
secrets: inherit
with:
ref: ${{ inputs.ref }}
rebel_compiler_version: ${{ needs.get-compiler-version.outputs.compiler_version }}
rebel_compiler_version: ${{ inputs.rebel_compiler_version || needs.get-compiler-version.outputs.compiler_version }}
optimum_rbln_version: ${{ inputs.optimum_rbln_version }}

vllm-rbln-optimum-ci:
needs: [get-compiler-version, build-vllm-rbln]
if: ${{ always() && !cancelled() && needs.build-vllm-rbln.result == 'success' }}
uses: ./.github/workflows/rbln_optimum_ci.yaml
secrets: inherit
with:
ref: ${{ inputs.ref }}
rebel_compiler_version: ${{ needs.get-compiler-version.outputs.compiler_version }}
rebel_compiler_version: ${{ inputs.rebel_compiler_version || needs.get-compiler-version.outputs.compiler_version }}
optimum_rbln_version: ${{ inputs.optimum_rbln_version }}
8 changes: 8 additions & 0 deletions .github/workflows/rbln_vllm-rbln_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
required: false
type: boolean
default: true
test_level:
description: "Test level for VLLM_RBLN_TEST_LEVEL environment variable"
required: false
type: string
workflow_call:
inputs:
ref:
Expand All @@ -43,6 +47,10 @@ on:
description: "Version of optimum-rbln to use (optional)"
required: false
type: string
test_level:
description: "Test level for VLLM_RBLN_TEST_LEVEL environment variable"
required: false
type: string

env:
RBLN_VERBOSE: 6
Expand Down
12 changes: 0 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ repos:
rev: v1.7.7
hooks:
- id: actionlint
args: ["-config-file", "actionlint.yaml"]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.2
hooks:
Expand Down Expand Up @@ -86,17 +85,6 @@ repos:
entry: python tools/pre_commit/check_license_header.py
language: python
types: [python]
language: python
types: [python]
- id: check-filenames
name: Check for spaces in all filenames
entry: bash
args:
- -c
- 'git ls-files | grep " " && echo "Filenames should not contain spaces!" && exit 1 || exit 0'
language: system
always_run: true
pass_filenames: false
- id: check-filenames
name: Check for spaces in all filenames
entry: bash
Expand Down
8 changes: 0 additions & 8 deletions actionlint.yaml

This file was deleted.