Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
80a828e
npu-kernel出包测试
monkeyLoveding Nov 29, 2025
55ff0a7
npu-kernel出包测试
monkeyLoveding Nov 29, 2025
bca5e29
npu-kernel出包测试
monkeyLoveding Nov 29, 2025
bfc20c9
npu-kernel出包测试
monkeyLoveding Nov 29, 2025
a7535f3
npu-kernel出包测试
monkeyLoveding Nov 29, 2025
c137e84
release 发包修改
monkeyLoveding Dec 1, 2025
90aa5af
code recovery
monkeyLoveding Dec 1, 2025
a4e6cfb
shengbang 文件加入执行权限
monkeyLoveding Dec 1, 2025
0eb817e
shengbang 文件加入执行权限
monkeyLoveding Dec 1, 2025
e339c2e
Merge remote-tracking branch 'origin/main'
monkeyLoveding Dec 1, 2025
aa8a7d7
sh文件结尾空行
monkeyLoveding Dec 1, 2025
22958b9
pybind11
monkeyLoveding Dec 1, 2025
6d0bf36
Merge branch 'main' of github.com:sgl-project/sgl-kernel-npu
monkeyLoveding Dec 1, 2025
264fcc3
release镜像更换
monkeyLoveding Dec 2, 2025
8b2c0df
Merge branch 'main' of github.com:sgl-project/sgl-kernel-npu
monkeyLoveding Dec 2, 2025
8321d1b
测试
monkeyLoveding Dec 2, 2025
26d37c8
代码同步
monkeyLoveding Dec 2, 2025
cfdba4e
so目录测试
monkeyLoveding Dec 2, 2025
67c56d2
so目录测试
monkeyLoveding Dec 2, 2025
f4c8deb
so目录测试
monkeyLoveding Dec 2, 2025
f0e88fb
so目录测试
monkeyLoveding Dec 2, 2025
e01d6fb
Merge remote-tracking branch 'origin/main'
monkeyLoveding Dec 2, 2025
40d8af7
so目录测试
monkeyLoveding Dec 2, 2025
7f5d729
so目录测试
monkeyLoveding Dec 2, 2025
3c9af1d
so目录测试
monkeyLoveding Dec 2, 2025
87f3032
so目录测试
monkeyLoveding Dec 2, 2025
eb6a8cf
Merge branch 'main' of github.com:sgl-project/sgl-kernel-npu
monkeyLoveding Dec 2, 2025
779efb3
so目录测试
monkeyLoveding Dec 2, 2025
7c0b1d7
so目录测试
monkeyLoveding Dec 2, 2025
cc65ac5
so目录测试
monkeyLoveding Dec 2, 2025
8f6978c
Merge branch 'main' of github.com:sgl-project/sgl-kernel-npu
monkeyLoveding Dec 2, 2025
9813fed
so目录测试
monkeyLoveding Dec 2, 2025
8a6a0ce
so目录测试
monkeyLoveding Dec 2, 2025
215aeb4
so目录测试
monkeyLoveding Dec 2, 2025
86ed7cd
so目录测试
monkeyLoveding Dec 2, 2025
4020ddc
so目录测试
monkeyLoveding Dec 2, 2025
6328ad5
so目录测试
monkeyLoveding Dec 2, 2025
5394260
so目录测试
monkeyLoveding Dec 2, 2025
145952b
so目录测试
monkeyLoveding Dec 2, 2025
e650d7e
so目录测试
monkeyLoveding Dec 2, 2025
6ebaa70
so目录测试
monkeyLoveding Dec 3, 2025
411cb87
so目录测试
monkeyLoveding Dec 3, 2025
9f2da5f
so目录测试
monkeyLoveding Dec 3, 2025
e44bde6
so目录测试
monkeyLoveding Dec 3, 2025
26ed65c
so目录测试
monkeyLoveding Dec 3, 2025
ae38f1b
so目录测试
monkeyLoveding Dec 3, 2025
5249fdd
so目录测试
monkeyLoveding Dec 3, 2025
d2353ef
so目录测试
monkeyLoveding Dec 3, 2025
0f62273
so目录测试
monkeyLoveding Dec 3, 2025
933d38e
so目录测试
monkeyLoveding Dec 3, 2025
0088863
so目录测试
monkeyLoveding Dec 3, 2025
2c365b5
so目录测试
monkeyLoveding Dec 3, 2025
746562c
so目录测试
monkeyLoveding Dec 3, 2025
8cedace
so目录测试
monkeyLoveding Dec 3, 2025
83ebd6e
so目录测试
monkeyLoveding Dec 3, 2025
76e2848
so目录测试
monkeyLoveding Dec 3, 2025
38806e2
so目录测试
monkeyLoveding Dec 3, 2025
2d24919
so目录测试
monkeyLoveding Dec 3, 2025
5f1b7da
so目录测试
monkeyLoveding Dec 3, 2025
c77a292
so目录测试
monkeyLoveding Dec 4, 2025
5c9a13e
so目录测试
monkeyLoveding Dec 4, 2025
eda7ddd
so目录测试
monkeyLoveding Dec 4, 2025
9048f2e
so目录测试
monkeyLoveding Dec 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:

- name: Install dependencies
run: |
ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit
source ${ASCEND_CANN_PATH}/set_env.sh
export LD_LIBRARY_PATH=${ASCEND_CANN_PATH}/latest/aarch64-linux/devlib:$LD_LIBRARY_PATH
bash scripts/release_ci_dependency.sh

- name: Build wheel packages
run: bash build.sh
run: |
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib:$LD_LIBRARY_PATH
bash build.sh

- name: Upload wheel to release
uses: softprops/action-gh-release@v2
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release_test

on:
pull_request:
branches:
- main
paths:
- ".github/workflows/release_test.yml"
- "scripts/release_ci_dependency.sh"
workflow_dispatch:
jobs:
build-and-upload:
runs-on: ubuntu-22.04-arm
container:
image: quay.io/ascend/cann:8.3.rc1-a3-ubuntu22.04-py3.11
steps:
- name: Clean git config
run: |
CONFIG_KEY='http.https://gh-proxy.test.osinfra.cn/.extraheader'
git config --global --unset "$CONFIG_KEY" || true

- name: Checkout code
uses: actions/checkout@v4
with:
clean: true

- name: Install dependencies
run: |
bash scripts/release_ci_dependency.sh

- name: Build wheel packages
run: |
git config --global --add safe.directory /__w/sgl-kernel-npu/sgl-kernel-npu
export CMAKE_PREFIX_PATH=/usr/local/python3.11.13/lib/python3.11/site-packages/pybind11/share/cmake/pybind11:$CMAKE_PREFIX_PATH
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib/linux/aarch64/:$LD_LIBRARY_PATH
bash build.sh

15 changes: 11 additions & 4 deletions scripts/release_ci_dependency.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail

PIP_INSTALL="pip install --no-cache-dir"
PIP_INSTALL="python3 -m pip install --no-cache-dir"


# Install the required dependencies in CI.
Expand All @@ -16,14 +16,21 @@ apt update -y && apt install -y \
clang \
locales \
ccache \
ca-certificates
ca-certificates \
libtorch-dev

update-ca-certificates
python3 -m ${PIP_INSTALL} --upgrade pip
${PIP_INSTALL} --upgrade pip
${PIP_INSTALL} wheel==0.45.1 pybind11

PYTORCH_VERSION="2.8.0"
TORCHVISION_VERSION="0.23.0"
${PIP_INSTALL} torch==${PYTORCH_VERSION} torchvision==${TORCHVISION_VERSION} --index-url https://download.pytorch.org/whl/cpu

PTA_URL="https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com/sglang/torch_npu/torch_npu-2.8.0.post2.dev20251113-cp311-cp311-manylinux_2_28_aarch64.whl"
${PIP_INSTALL} ${PTA_URL}
${PIP_INSTALL} wheel==0.45.1 pybind11
find /usr -name "pybind11Config.cmake"
find / -name types.h 2>/dev/null
ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit
source ${ASCEND_CANN_PATH}/set_env.sh
#export LD_LIBRARY_PATH=${ASCEND_CANN_PATH}/latest/aarch64-linux/devlib/libascend_hal.so:$LD_LIBRARY_PATH
Loading