Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
17af39c5
Unverified
Commit
17af39c5
authored
Jul 30, 2024
by
Yineng Zhang
Committed by
GitHub
Jul 30, 2024
Browse files
feat: add runner (#821)
parent
daf593a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
.github/workflows/pr-e2e-test.yml
.github/workflows/pr-e2e-test.yml
+30
-0
No files found.
.github/workflows/pr-e2e-test.yml
0 → 100644
View file @
17af39c5
name
:
PR E2E Test
on
:
push
:
branches
:
[
main
]
pull_request
:
branches
:
[
main
]
workflow_dispatch
:
jobs
:
gpu-job
:
runs-on
:
self-hosted
env
:
CUDA_VISIBLE_DEVICES
:
6
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Check GPU
run
:
|
if ! command -v nvidia-smi &> /dev/null; then
echo "nvidia-smi not found. Is CUDA installed?"
exit 1
fi
nvidia-smi || exit 1
-
name
:
Environment Info
run
:
|
echo "Working directory: $(pwd)"
echo "CUDA_VISIBLE_DEVICES: $CUDA_VISIBLE_DEVICES"
-
name
:
Run Tests
run
:
|
echo "Running tests..."
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment