Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
78b9ae6
sdpa
chenglimin Feb 26, 2026
66648cc
Merge branch 'master' into patch-sdpa
chenglimin Mar 3, 2026
9d189bf
WIP: save local changes before rebase
chenglimin Apr 1, 2026
ec9ef0e
apply code-format changes
chenglimin Apr 1, 2026
50c13d5
implement vulkan gemm packed (#6573)
nihui Mar 6, 2026
9f2e0c2
vkmat add memory type index, is_device_local (#6581)
nihui Mar 6, 2026
09dfd1b
fmod logaddexp floor_divide remainder support for binaryop (#6549)
futz12 Mar 7, 2026
329484c
fix: add missing NCNN_MALLOC_OVERREAD padding for MSVC (#6583)
ihb2032 Mar 8, 2026
bf57baa
x86: add AbsVal_x86 with fp16s and bf16s storage support (#6584)
nihui Mar 8, 2026
5b66db5
x86: add LayerNorm_x86 bf16s storage support with avx512bf16 dispatch…
nihui Mar 8, 2026
12396c8
x86: add RMSNorm_x86 bf16s storage support with avx512bf16 dispatch (…
nihui Mar 8, 2026
f285027
x86: add UnaryOp_x86 bf16s storage support (#6588)
nihui Mar 9, 2026
55e1948
clip relu sigmoid x86 bf16s (#6589)
nihui Mar 9, 2026
723fc18
drop virtual inheritance (#6590)
nihui Mar 9, 2026
b1ce9f9
x86: add BinaryOp_x86 bf16s storage support with avx512bf16 dispatch …
nihui Mar 9, 2026
eeb2a0b
update pnnx ci torch 2.10.0 (#6592)
nihui Mar 10, 2026
919c896
x86 concat slice flatten reshape crop padding packing support fp16 bf…
nihui Mar 10, 2026
3da4ee3
x86 groupnorm instancenorm support bf16 storage with avx512bf16 dispa…
nihui Mar 10, 2026
1d91733
x86 batchnorm prelu scale swish softmax support bf16 storage with avx…
nihui Mar 11, 2026
8b5f2bf
x86 interp optimization (#6597)
nihui Mar 11, 2026
04b5117
x86 gemm support bf16 storage (#6598)
nihui Mar 12, 2026
bba0de3
x86 gemm int8 optimization with alignr (#6600)
nihui Mar 16, 2026
9fffd13
fix binaryop vulkan shader compilation on moltenvk (#6602)
nihui Mar 17, 2026
039f0c0
x86 erf and gelu optimization (#6604)
futz12 Mar 18, 2026
2426a8b
support mips elu erf gelu selu (#6607)
futz12 Mar 18, 2026
1f0c2a8
fix: subgroup float16 extension should be required (#6615)
NKID00 Mar 25, 2026
e1d413d
Bump codecov/codecov-action from 5 to 6 (#6616)
dependabot[bot] Mar 27, 2026
191d239
x86 gemm bf16s optimization with avx512bf16 (#6609)
nihui Mar 27, 2026
7fa7a37
Add benchmark results for several instances from Microsoft Azure. (#6…
MouriNaruto Mar 30, 2026
e10d7c8
update docs for new convertmodel website (#6617)
futz12 Mar 30, 2026
a6a04ea
gemm x86 support out_elemtype, multiheadattention and sdpa x86 suppor…
nihui Mar 31, 2026
f182b41
rotaryembed/tanh/selu/mish/hardswish/hardsigmoid/gelu/erf/elu/eltwise…
nihui Apr 1, 2026
f6a11a5
deconvolution x86 support bf16 storage, clean includes (#6627)
nihui Apr 1, 2026
b6dab49
WIP: save local changes before rebase
chenglimin Apr 1, 2026
1f7d768
Update k1 toolchain config
chenglimin Apr 1, 2026
517bbd6
apply code-format changes
chenglimin Apr 1, 2026
64ac9a1
change year
chenglimin Apr 1, 2026
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/model-convert.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "\U0001F6B8 model convert issue"
about: "Life is Short, Use pnnx and convertmodel.com"
about: "Life is Short, Use pnnx and pnnx.pchar.cn"
---

## error log | 日志或报错信息 | ログ
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/pnnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ permissions:
contents: read

env:
LIBTORCH_VERSION: 2.9.0
TORCHVISION_VERSION: 0.24.0
LIBTORCH_VERSION: 2.10.0
TORCHVISION_VERSION: 0.25.0
PROTOBUF_VERSION: 21.12
ONNXRUNTIME_VERSION: 1.23.1
CACHE_DATE: 20251020
ONNXRUNTIME_VERSION: 1.24.3
CACHE_DATE: 20260309
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 15

jobs:
Expand Down Expand Up @@ -94,21 +94,21 @@ jobs:

- name: cache-libtorch
id: cache-libtorch
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: libtorch-${{ env.LIBTORCH_VERSION }}-install
key: libtorch-${{ env.LIBTORCH_VERSION }}-linux-install-${{ env.CACHE_DATE }}

- name: cache-torchvision
id: cache-torchvision
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: torchvision-${{ env.TORCHVISION_VERSION }}-install
key: torchvision-${{ env.TORCHVISION_VERSION }}-linux-install-${{ env.CACHE_DATE }}

- name: cache-onnxruntime
id: cache-onnxruntime
uses: actions/cache@v5
uses: actions/cache@v4
with:
path: onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-install
key: onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-linux-install-${{ env.CACHE_DATE }}
Expand All @@ -129,7 +129,9 @@ jobs:
pip3 install -r requirements.txt --break-system-packages
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/pytorch-v${{ env.LIBTORCH_VERSION }}-fix-mobile-build.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/pytorch-v${{ env.LIBTORCH_VERSION }}-no-link-system-lib.patch
patch -p1 -R -i $GITHUB_WORKSPACE/pnnx-patches/pytorch-v${{ env.LIBTORCH_VERSION }}-revert-nativert-api.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/pytorch-v${{ env.LIBTORCH_VERSION }}-fix-eigen-build.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/pytorch-v${{ env.LIBTORCH_VERSION }}-fix-link-local-sleef.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/pytorch-v${{ env.LIBTORCH_VERSION }}-revert-nativert-api.patch
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/libtorch-${{ env.LIBTORCH_VERSION }}-install \
-DCMAKE_BUILD_TYPE=MinSizeRel \
Expand All @@ -151,7 +153,10 @@ jobs:
-DUSE_NUMPY=OFF \
-DUSE_OPENMP=OFF \
-DUSE_SOURCE_DEBUG_ON_MOBILE=OFF \
-DUSE_XNNPACK=OFF ..
-DUSE_XNNPACK=OFF \
-DBUILD_TEST=OFF \
-DATEN_NO_TEST=ON \
..
cmake --build . -j 8
cmake --build . -j 8 --target install/strip

Expand Down Expand Up @@ -192,7 +197,7 @@ jobs:
cd onnxruntime-${{ env.ONNXRUNTIME_VERSION }}
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-less-mlas-features.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-monolithic-static-library.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-include-cstdint.patch
patch -p1 -i $GITHUB_WORKSPACE/pnnx-patches/onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-use-clog.patch
mkdir -p build2 && cd build2
cmake -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/onnxruntime-${{ env.ONNXRUNTIME_VERSION }}-install \
-DCMAKE_BUILD_TYPE=MinSizeRel \
Expand Down Expand Up @@ -250,6 +255,7 @@ jobs:
- { python: '3.12', numpy: '2.2.5', opencv: '4.11.*', torch: '2.7.0', torchvision: '0.22.0', torchaudio: '2.7.0+cpu', transformers: '4.52.1' }
- { python: '3.13', numpy: '2.2.5', opencv: '4.12.*', torch: '2.8.0', torchvision: '0.23.0', torchaudio: '2.8.0+cpu', transformers: '4.56.2' }
- { python: '3.13', numpy: '2.2.5', opencv: '4.12.*', torch: '2.9.0', torchvision: '0.24.0', torchaudio: '2.9.0+cpu', transformers: '4.56.2' }
- { python: '3.13', numpy: '2.2.5', opencv: '4.12.*', torch: '2.10.0', torchvision: '0.25.0', torchaudio: '2.10.0+cpu', transformers: '4.56.2' }

name: test-${{ matrix.torch }}-py${{ matrix.python }}

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
lcov --list lcov.info

- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
lcov --ignore-errors inconsistent -r lcov.info '*/build-openmp/*' -o lcov.info
lcov --ignore-errors inconsistent --list lcov.info
- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
lcov --ignore-errors inconsistent -r lcov.info '*/build/*' -o lcov.info
lcov --ignore-errors inconsistent --list lcov.info
- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
lcov --ignore-errors inconsistent -r lcov.info '*/build/*' -o lcov.info
lcov --ignore-errors inconsistent --list lcov.info
- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
lcov --ignore-errors inconsistent -r lcov.info '*/build/*' -o lcov.info
lcov --ignore-errors inconsistent --list lcov.info
- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
lcov --list lcov.info

- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
lcov --ignore-errors inconsistent --list lcov.info

- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -416,7 +416,7 @@ jobs:
lcov --ignore-errors inconsistent --list lcov.info

- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down Expand Up @@ -575,7 +575,7 @@ jobs:
lcov --ignore-errors inconsistent --list lcov.info

- name: codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
Expand Down
Loading
Loading