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
45c87e08
Unverified
Commit
45c87e08
authored
Feb 07, 2025
by
Yineng Zhang
Committed by
GitHub
Feb 07, 2025
Browse files
fix undefined symbol cudaGetDriverEntryPointByVersion (#3372)
parent
2b1808ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sgl-kernel/src/sgl-kernel/__init__.py
sgl-kernel/src/sgl-kernel/__init__.py
+9
-0
No files found.
sgl-kernel/src/sgl-kernel/__init__.py
View file @
45c87e08
import
ctypes
import
os
if
os
.
path
.
exists
(
"/usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.12"
):
ctypes
.
CDLL
(
"/usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.12"
,
mode
=
ctypes
.
RTLD_GLOBAL
,
)
from
sgl_kernel.ops
import
(
apply_rope_with_cos_sin_cache_inplace
,
bmm_fp8
,
...
...
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