Skip to content

Commit ce4a5da

Browse files
committed
get_compiler_version
1 parent 9727588 commit ce4a5da

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/rbln_optimum_ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ on:
99
type: string
1010
rebel_compiler_version:
1111
description: "Version of rebel-compiler to use (optional)"
12-
required: true
12+
required: false
1313
type: string
1414
optimum_rbln_version:
1515
description: "Version of optimum-rbln to use (optional)"
16-
required: true
16+
required: false
1717
type: string
1818
workflow_call:
1919
inputs:
@@ -35,7 +35,7 @@ env:
3535

3636
jobs:
3737
get-compiler-version:
38-
if: ${{ !inputs.rebel_compiler_version }}
38+
if: ${{ !inputs.rebel_compiler_version || inputs.rebel_compiler_version == '' }}
3939
uses: ./.github/workflows/rbln_utils_get_compiler_version_ci.yaml
4040
secrets: inherit
4141

@@ -54,7 +54,7 @@ jobs:
5454
VLLM_LOGGING_LEVEL: DEBUG
5555
steps:
5656
- name: Get latest rebel_compiler version
57-
if: ${{ !inputs.rebel_compiler_version }}
57+
if: ${{ !inputs.rebel_compiler_version || inputs.rebel_compiler_version == '' }}
5858
id: get_latest_rebel_compiler
5959
run: |
6060
echo "COMPILER_VER=${{ needs.get-compiler-version.outputs.compiler_version }}" >> $GITHUB_OUTPUT
@@ -147,7 +147,7 @@ jobs:
147147
VLLM_LOGGING_LEVEL: DEBUG
148148
steps:
149149
- name: Get latest rebel_compiler version
150-
if: ${{ !inputs.rebel_compiler_version }}
150+
if: ${{ !inputs.rebel_compiler_version || inputs.rebel_compiler_version == '' }}
151151
id: get_latest_rebel_compiler
152152
run: |
153153
echo "COMPILER_VER=${{ needs.get-compiler-version.outputs.compiler_version }}" >> $GITHUB_OUTPUT
@@ -284,7 +284,7 @@ jobs:
284284
VLLM_LOGGING_LEVEL: DEBUG
285285
steps:
286286
- name: Get latest rebel_compiler version
287-
if: ${{ !inputs.rebel_compiler_version }}
287+
if: ${{ !inputs.rebel_compiler_version || inputs.rebel_compiler_version == '' }}
288288
id: get_latest_rebel_compiler
289289
run: |
290290
echo "COMPILER_VER=${{ needs.get-compiler-version.outputs.compiler_version }}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)