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
482c3db2
Unverified
Commit
482c3db2
authored
Aug 07, 2025
by
fzyzcjy
Committed by
GitHub
Aug 07, 2025
Browse files
Fix sgl-kernel arch and missing package in CI (#8869)
parent
47824c14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
scripts/ci_install_dependency.sh
scripts/ci_install_dependency.sh
+8
-3
No files found.
scripts/ci_install_dependency.sh
View file @
482c3db2
...
@@ -13,9 +13,8 @@ fi
...
@@ -13,9 +13,8 @@ fi
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
bash
"
${
SCRIPT_DIR
}
/killall_sglang.sh"
bash
"
${
SCRIPT_DIR
}
/killall_sglang.sh"
if
!
command
-v
git
>
/dev/null 2>&1
;
then
if
[
"
$MODE_BLACKWELL
"
=
"1"
]
;
then
apt update
apt-get
install
-y
git libnuma-dev
apt
install
-y
git
fi
fi
# Update pip
# Update pip
...
@@ -34,6 +33,12 @@ rm -rf /usr/local/lib/python3.10/dist-packages/sgl_kernel*
...
@@ -34,6 +33,12 @@ rm -rf /usr/local/lib/python3.10/dist-packages/sgl_kernel*
# Install the main package
# Install the main package
pip
install
-e
"python[dev]"
--extra-index-url
https://download.pytorch.org/whl/
${
CU_VERSION
}
--break-system-packages
pip
install
-e
"python[dev]"
--extra-index-url
https://download.pytorch.org/whl/
${
CU_VERSION
}
--break-system-packages
if
[
"
$MODE_BLACKWELL
"
=
"1"
]
;
then
# TODO auto determine sgl-kernel version
SGL_KERNEL_VERSION
=
0.3.2
pip3
install
https://github.com/sgl-project/whl/releases/download/v
${
SGL_KERNEL_VERSION
}
/sgl_kernel-
${
SGL_KERNEL_VERSION
}
-cp39-abi3-manylinux2014_x86_64
.whl
--break-system-packages
fi
# Show current packages
# Show current packages
pip list
pip list
...
...
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