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
2673fa29
Unverified
Commit
2673fa29
authored
Dec 12, 2024
by
Yineng Zhang
Committed by
GitHub
Dec 12, 2024
Browse files
fix: set runtime path (#2466)
parent
dedaf8cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
.github/workflows/release-pypi-kernel.yml
.github/workflows/release-pypi-kernel.yml
+5
-1
sgl-kernel/pyproject.toml
sgl-kernel/pyproject.toml
+1
-1
sgl-kernel/setup.py
sgl-kernel/setup.py
+2
-0
No files found.
.github/workflows/release-pypi-kernel.yml
View file @
2673fa29
...
@@ -8,12 +8,16 @@ on:
...
@@ -8,12 +8,16 @@ on:
-
sgl-kernel/pyproject.toml
-
sgl-kernel/pyproject.toml
workflow_dispatch
:
workflow_dispatch
:
concurrency
:
group
:
release-pypi-kernel-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
jobs
:
build-wheels
:
build-wheels
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
strategy
:
strategy
:
matrix
:
matrix
:
python-version
:
[
'
3.9'
,
'
3.10'
,
'
3.11'
,
'
3.12'
]
python-version
:
[
'
3.8'
,
'
3.9'
,
'
3.10'
,
'
3.11'
,
'
3.12'
]
cuda-version
:
[
'
12.1'
]
cuda-version
:
[
'
12.1'
]
steps
:
steps
:
...
...
sgl-kernel/pyproject.toml
View file @
2673fa29
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
[project]
name
=
"sgl-kernel"
name
=
"sgl-kernel"
version
=
"0.0.2"
version
=
"0.0.2
.post4
"
description
=
"Kernel Library for SGLang"
description
=
"Kernel Library for SGLang"
readme
=
"README.md"
readme
=
"README.md"
requires-python
=
">=3.8"
requires-python
=
">=3.8"
...
...
sgl-kernel/setup.py
View file @
2673fa29
...
@@ -82,6 +82,8 @@ setup(
...
@@ -82,6 +82,8 @@ setup(
],
],
"cxx"
:
[
"-O3"
],
"cxx"
:
[
"-O3"
],
},
},
libraries
=
[
"c10"
,
"torch"
,
"torch_python"
],
extra_link_args
=
[
"-Wl,-rpath,$ORIGIN/../../torch/lib"
],
)
)
],
],
cmdclass
=
{
"build_ext"
:
BuildExtension
},
cmdclass
=
{
"build_ext"
:
BuildExtension
},
...
...
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