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
6c856b4f
Unverified
Commit
6c856b4f
authored
Jan 21, 2025
by
Yineng Zhang
Committed by
GitHub
Jan 21, 2025
Browse files
minor: update Makefile for sgl-kernel (#3025)
parent
287d07a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.github/workflows/release-pypi-kernel.yml
.github/workflows/release-pypi-kernel.yml
+1
-0
sgl-kernel/Makefile
sgl-kernel/Makefile
+2
-2
No files found.
.github/workflows/release-pypi-kernel.yml
View file @
6c856b4f
...
...
@@ -14,6 +14,7 @@ concurrency:
jobs
:
build-wheels
:
if
:
github.repository == 'sgl-project/sglang'
runs-on
:
ubuntu-latest
strategy
:
matrix
:
...
...
sgl-kernel/Makefile
View file @
6c856b4f
.PHONY
:
tree ln submodule install build clean test format
tree
:
@
tree
--prune
-I
"__pycache__|*.egg-info|*.so|build"
@
tree
--prune
-I
"__pycache__|*.egg-info|*.so|build
|3rdparty|dist
"
submodule
:
@
git submodule update
--init
--recursive
...
...
@@ -19,7 +19,7 @@ clean:
@
rm
-rf
build dist
*
.egg-info
test
:
@
pytest tests/
@
find tests
-name
"test_*.py"
| xargs
-n
1 python3
format
:
@
find src tests
-name
'*.cc'
-o
-name
'*.cu'
-o
-name
'*.cuh'
-o
-name
'*.h'
-o
-name
'*.hpp'
| xargs clang-format
-i
&&
find src tests
-name
'*.py'
| xargs isort
&&
find src tests
-name
'*.py'
| xargs black
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