Skip to content

Commit fa70358

Browse files
author
Mark Saroufim
committed
Hardcode runner labels in workflows (fix GitHub 500 on dispatch)
Using workflow_dispatch inputs in runs-on causes HTTP 500 on newly created workflows. Hardcode the runner labels instead: - helion_workflow.yml: nebius-b200-helion-runners - nvidia_workflow.yml: reverted to nvidia-docker-b200-8-x86-64
1 parent 0fe59ab commit fa70358

3 files changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/helion_workflow.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ on:
1010
description: 'Content of the user submission, as json string'
1111
required: true
1212
type: string
13-
runner:
14-
description: 'Helion runner to run workflow on'
15-
required: true
16-
default: "nebius-b200-helion-runners"
17-
type: string
1813
requirements:
1914
description: 'Contents for a requirements.txt file'
2015
required: false
@@ -24,7 +19,7 @@ run-name: 'Helion Job - ${{ github.event.inputs.run_id }}'
2419

2520
jobs:
2621
run:
27-
runs-on: ${{ github.event.inputs.runner }}
22+
runs-on: nebius-b200-helion-runners
2823
timeout-minutes: 20
2924
steps:
3025
- uses: actions/checkout@v3

.github/workflows/nvidia_workflow.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ on:
1010
description: 'Content of the user submission, as json string'
1111
required: true
1212
type: string
13-
runner:
14-
description: 'NVIDIA runner to run workflow on'
15-
required: true
16-
default: "nvidia-docker-b200-8-x86-64"
17-
type: string
1813
requirements:
1914
description: 'Contents for a requirements.txt file'
2015
required: false
@@ -24,8 +19,8 @@ run-name: 'NVIDIA Job - ${{ github.event.inputs.run_id }}'
2419

2520
jobs:
2621
run:
27-
runs-on: ${{ github.event.inputs.runner }}
28-
timeout-minutes: 20
22+
runs-on: [nvidia-docker-b200-8-x86-64]
23+
timeout-minutes: 10
2924
steps:
3025
- uses: actions/checkout@v3
3126

src/libkernelbot/launchers/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ async def run_submission( # noqa: C901
107107
requirements = AMD_REQUIREMENTS
108108
elif gpu_type.value == "B200_Nebius":
109109
selected_workflow = "helion_workflow.yml"
110-
runner_name = "nebius-b200-helion-runners"
110+
runner_name = None
111111
gpu_vendor = "NVIDIA"
112112
requirements = NVIDIA_REQUIREMENTS
113113
elif gpu_type.value == "NVIDIA":
114114
selected_workflow = "nvidia_workflow.yml"
115-
runner_name = "nvidia-docker-b200-8-x86-64"
115+
runner_name = None
116116
gpu_vendor = "NVIDIA"
117117
requirements = NVIDIA_REQUIREMENTS
118118
else:

0 commit comments

Comments
 (0)