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
zhaoyu6
sglang
Commits
bcda0c9e
"vscode:/vscode.git/clone" did not exist on "77ba9cb14c69375584cc838af5e93e94355f90de"
Unverified
Commit
bcda0c9e
authored
Jan 22, 2025
by
Yineng Zhang
Committed by
GitHub
Jan 22, 2025
Browse files
sync the upstream updates of flashinfer (#3051)
parent
9f8f2c7f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
.github/workflows/pr-test-sgl-kernel.yml
.github/workflows/pr-test-sgl-kernel.yml
+1
-0
sgl-kernel/3rdparty/flashinfer
sgl-kernel/3rdparty/flashinfer
+1
-1
sgl-kernel/setup.py
sgl-kernel/setup.py
+6
-0
No files found.
.github/workflows/pr-test-sgl-kernel.yml
View file @
bcda0c9e
...
@@ -40,6 +40,7 @@ jobs:
...
@@ -40,6 +40,7 @@ jobs:
run
:
|
run
:
|
pip3 install torch==2.5.1 && pip3 install pytest && pip3 install vllm
pip3 install torch==2.5.1 && pip3 install pytest && pip3 install vllm
pip3 uninstall sgl-kernel -y || true
pip3 uninstall sgl-kernel -y || true
find . -name index.lock -delete
cd sgl-kernel
cd sgl-kernel
git submodule deinit --all --force && git submodule sync --recursive && git submodule update --init --force --recursive
git submodule deinit --all --force && git submodule sync --recursive && git submodule update --init --force --recursive
pip3 install .
pip3 install .
...
...
flashinfer
@
4e8eb187
Compare
a0e99a3a
...
4e8eb187
Subproject commit
a0e99a3a820109763d9a757138a5cdf7bbcd1f85
Subproject commit
4e8eb1879f9c3ba6d75511e5893183bf8f289a62
sgl-kernel/setup.py
View file @
bcda0c9e
...
@@ -47,6 +47,7 @@ include_dirs = [
...
@@ -47,6 +47,7 @@ include_dirs = [
cutlass
.
resolve
()
/
"tools"
/
"util"
/
"include"
,
cutlass
.
resolve
()
/
"tools"
/
"util"
/
"include"
,
root
/
"src"
/
"sgl-kernel"
/
"csrc"
,
root
/
"src"
/
"sgl-kernel"
/
"csrc"
,
flashinfer
.
resolve
()
/
"include"
,
flashinfer
.
resolve
()
/
"include"
,
flashinfer
.
resolve
()
/
"include"
/
"gemm"
,
flashinfer
.
resolve
()
/
"csrc"
,
flashinfer
.
resolve
()
/
"csrc"
,
]
]
nvcc_flags
=
[
nvcc_flags
=
[
...
@@ -91,7 +92,12 @@ ext_modules = [
...
@@ -91,7 +92,12 @@ ext_modules = [
"src/sgl-kernel/csrc/sampling_scaling_penalties.cu"
,
"src/sgl-kernel/csrc/sampling_scaling_penalties.cu"
,
"src/sgl-kernel/csrc/sgl_kernel_ops.cu"
,
"src/sgl-kernel/csrc/sgl_kernel_ops.cu"
,
"src/sgl-kernel/csrc/rotary_embedding.cu"
,
"src/sgl-kernel/csrc/rotary_embedding.cu"
,
"3rdparty/flashinfer/csrc/activation.cu"
,
"3rdparty/flashinfer/csrc/bmm_fp8.cu"
,
"3rdparty/flashinfer/csrc/group_gemm.cu"
,
"3rdparty/flashinfer/csrc/group_gemm_sm90.cu"
,
"3rdparty/flashinfer/csrc/norm.cu"
,
"3rdparty/flashinfer/csrc/norm.cu"
,
"3rdparty/flashinfer/csrc/sampling.cu"
,
],
],
include_dirs
=
include_dirs
,
include_dirs
=
include_dirs
,
extra_compile_args
=
{
extra_compile_args
=
{
...
...
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