[CI]Install clang in dokerfile for triton ascend (#4409)
### What this PR does / why we need it? Install clang in dokerfile for triton ascend - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/d68209402ddab3f54a09bc1f4de9a9495a283b60 Signed-off-by: Meihan-chen <jcccx.cmh@gmail.com>
This commit is contained in:
1 parent
a7d781f135
commit
e54d294df3
9 files changed
+41
-39
No files matched your search
@@ -125,13 +125,12 @@ install_extra_components() {
|
||||
echo "====> Extra components installation completed"
|
||||
}
|
||||
|
||||
install_clang() {
|
||||
echo "====> Installing clang-15"
|
||||
apt-get update && apt-get install -y clang-15
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20
|
||||
|
||||
show_triton_ascend_info() {
|
||||
echo "====> Check triton ascend info"
|
||||
clang -v
|
||||
echo "====> Clang-15 installation completed"
|
||||
which bishengir-compile
|
||||
pip show triton-ascend
|
||||
}
|
||||
|
||||
kill_npu_processes() {
|
||||
@@ -161,7 +160,7 @@ main() {
|
||||
check_npu_info
|
||||
check_and_config
|
||||
show_vllm_info
|
||||
install_clang
|
||||
show_triton_ascend_info
|
||||
if [[ "$CONFIG_YAML_PATH" == *"DeepSeek-V3_2-Exp-bf16.yaml" ]]; then
|
||||
install_extra_components
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user