Update workflow files (#1214)

This commit is contained in:
Lianmin Zheng
2024-08-25 17:45:35 -07:00
committed by GitHub
parent 2c615d120f
commit d3efcb3930
5 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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`