Unverified Commit d3efcb39 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

Update workflow files (#1214)

parent 2c615d12
...@@ -20,7 +20,7 @@ concurrency: ...@@ -20,7 +20,7 @@ concurrency:
jobs: jobs:
accuracy-test: accuracy-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: accuracy-test runs-on: 1-gpu-runner
steps: steps:
- name: Checkout code - name: Checkout code
......
...@@ -20,7 +20,7 @@ concurrency: ...@@ -20,7 +20,7 @@ concurrency:
jobs: jobs:
e2e-test: e2e-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: e2e-test runs-on: 1-gpu-runner
steps: steps:
- name: Checkout code - name: Checkout code
......
...@@ -20,7 +20,7 @@ concurrency: ...@@ -20,7 +20,7 @@ concurrency:
jobs: jobs:
moe-test: moe-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: moe-test runs-on: 2-gpu-runner
steps: steps:
- name: Checkout code - name: Checkout code
......
...@@ -20,7 +20,7 @@ concurrency: ...@@ -20,7 +20,7 @@ concurrency:
jobs: jobs:
unit-test: unit-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: unit-test runs-on: 1-gpu-runner
steps: steps:
- name: Checkout code - name: Checkout code
......
...@@ -24,7 +24,7 @@ Then follow https://github.com/sgl-project/sglang/settings/actions/runners/new?a ...@@ -24,7 +24,7 @@ Then follow https://github.com/sgl-project/sglang/settings/actions/runners/new?a
**Notes** **Notes**
- Do not need to specify the runner group - Do not need to specify the runner group
- Give it a name (e.g., `test-sgl-gpu-0`) and some labels (e.g., `unit-test`). The labels can be editted later in Github Settings. - Give it a name (e.g., `test-sgl-gpu-0`) and some labels (e.g., `1-gpu-runner`). The labels can be editted later in Github Settings.
- Do not need to change the work folder. - Do not need to change the work folder.
### Step 3: Run the runner by `run.sh` ### Step 3: Run the runner by `run.sh`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment