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
5f98b7fe
Unverified
Commit
5f98b7fe
authored
Oct 31, 2025
by
Baizhou Zhang
Committed by
GitHub
Oct 31, 2025
Browse files
[CI] Fix kernel installation on aarch runners (#12475)
parent
a4bf5c6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
scripts/ci/ci_install_dependency.sh
scripts/ci/ci_install_dependency.sh
+2
-7
No files found.
scripts/ci/ci_install_dependency.sh
View file @
5f98b7fe
...
@@ -105,13 +105,8 @@ echo "SGL_KERNEL_VERSION_FROM_KERNEL=${SGL_KERNEL_VERSION_FROM_KERNEL} SGL_KERNE
...
@@ -105,13 +105,8 @@ echo "SGL_KERNEL_VERSION_FROM_KERNEL=${SGL_KERNEL_VERSION_FROM_KERNEL} SGL_KERNE
if
[
"
${
CUSTOM_BUILD_SGL_KERNEL
:-}
"
=
"true"
]
;
then
if
[
"
${
CUSTOM_BUILD_SGL_KERNEL
:-}
"
=
"true"
]
;
then
ls
-alh
sgl-kernel/dist
ls
-alh
sgl-kernel/dist
# Determine wheel architecture
# TODO: Currently we don't support custom build sgl-kernel for aarch64. To be changed after kernel build for aarch64 is added.
if
[
"
$ARCH
"
=
"aarch64"
]
||
[
"
$ARCH
"
=
"arm64"
]
;
then
$PIP_CMD
install
sgl-kernel/dist/sgl_kernel-
${
SGL_KERNEL_VERSION_FROM_KERNEL
}
-cp310-abi3-manylinux2014_x86_64
.whl
--force-reinstall
$PIP_INSTALL_SUFFIX
WHEEL_ARCH
=
"aarch64"
else
WHEEL_ARCH
=
"x86_64"
fi
$PIP_CMD
install
sgl-kernel/dist/sgl_kernel-
${
SGL_KERNEL_VERSION_FROM_KERNEL
}
-cp310-abi3-manylinux2014_
${
WHEEL_ARCH
}
.whl
--force-reinstall
$PIP_INSTALL_SUFFIX
else
else
$PIP_CMD
install
sgl-kernel
==
${
SGL_KERNEL_VERSION_FROM_SRT
}
--force-reinstall
$PIP_INSTALL_SUFFIX
$PIP_CMD
install
sgl-kernel
==
${
SGL_KERNEL_VERSION_FROM_SRT
}
--force-reinstall
$PIP_INSTALL_SUFFIX
fi
fi
...
...
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