[NPU] Split pyproject npu from pyproject other (#17641)
This commit is contained in:
@@ -17,7 +17,9 @@ apt update -y && apt install -y \
|
||||
clang \
|
||||
locales \
|
||||
ccache \
|
||||
ca-certificates
|
||||
ca-certificates \
|
||||
libgl1 \
|
||||
libglib2.0-0
|
||||
update-ca-certificates
|
||||
${PIP_INSTALL} --upgrade pip
|
||||
# Pin wheel to 0.45.1, REF: https://github.com/pypa/wheel/issues/662
|
||||
@@ -62,5 +64,5 @@ wget https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com/ops/custom_ops-1.0.$D
|
||||
pip install ./custom_ops-1.0.$DEVICE_TYPE-cp311-cp311-linux_aarch64.whl
|
||||
|
||||
### Install SGLang
|
||||
rm -rf python/pyproject.toml && mv python/pyproject_other.toml python/pyproject.toml
|
||||
rm -rf python/pyproject.toml && mv python/pyproject_npu.toml python/pyproject.toml
|
||||
${PIP_INSTALL} -v -e "python[dev_npu]"
|
||||
|
||||
@@ -21,6 +21,7 @@ python scripts/release/bump_sglang_version.py 0.5.3rc0
|
||||
- `docs/platforms/ascend_npu.md`
|
||||
- `python/pyproject.toml`
|
||||
- `python/pyproject_other.toml`
|
||||
- `python/pyproject_npu.toml`
|
||||
- `python/sglang/version.py`
|
||||
|
||||
### `bump_kernel_version.py`
|
||||
|
||||
@@ -27,6 +27,7 @@ def main():
|
||||
Path("docs/platforms/ascend_npu.md"),
|
||||
Path("python/pyproject.toml"),
|
||||
Path("python/pyproject_other.toml"),
|
||||
Path("python/pyproject_npu.toml"),
|
||||
Path("python/pyproject_cpu.toml"),
|
||||
Path("python/pyproject_xpu.toml"),
|
||||
Path("python/sglang/version.py"),
|
||||
|
||||
Reference in New Issue
Block a user