Forwarded from nihui
Qwen3.5 多模态大语言模型转换部署到 ncnn 框架:完整技术实践
https://zhuanlan.zhihu.com/p/2017629349612892439
https://zhuanlan.zhihu.com/p/2017629349612892439
👍2
opus-4.7 gpt-5.4 kimi-2.6 glm-5.1 qwen3.6 ... 挑战 ncnn loongarch 优化问题修复全部失败
无公开文档的loongarch simd,有bug的ncnn,有bug的gcc,可能有bug的qemu,混合在一起,要写出能通过单元测试的ncnn底层优化
已经严肃告知AI编译器可能有bug了,还把我故意加的几行 printf 删掉了,而那几行printf是我专门为了防止gcc优化出错而加的!
AI:咦,这些printf看起来没什么用,删掉吧
结果bug越修越多.... AI通通被创飞
无公开文档的loongarch simd,有bug的ncnn,有bug的gcc,可能有bug的qemu,混合在一起,要写出能通过单元测试的ncnn底层优化
已经严肃告知AI编译器可能有bug了,还把我故意加的几行 printf 删掉了,而那几行printf是我专门为了防止gcc优化出错而加的!
AI:咦,这些printf看起来没什么用,删掉吧
结果bug越修越多.... AI通通被创飞
😭18🥰4❤2
用gpt-5.5生成了mips loongson intrinsic文档
MAKE MIPS GREAT AGAIN!
https://nihui.github.io/unofficial-mips-loongson-intrinsics-guide/
MAKE MIPS GREAT AGAIN!
https://nihui.github.io/unofficial-mips-loongson-intrinsics-guide/
🔥4👍2👏1
https://github.com/Tencent/ncnn/commit/0f5c6ef2ce50a3c77d5e423a1f33eea76529d0d3
16.5w行的 mips loongarch 优化代码已合并到了主干,包含 57种算子(conv act gemm sdpa etc.) x (scalar msa lsx lasx) x (fp32 bf16 int8)
16.5w行的 mips loongarch 优化代码已合并到了主干,包含 57种算子(conv act gemm sdpa etc.) x (scalar msa lsx lasx) x (fp32 bf16 int8)
GitHub
massive mips and loongarch optimization (#6662) · Tencent/ncnn@0f5c6ef
Co-authored-by: nihui <171016+nihui@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 &l...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 &l...
❤9🤯1
《我为什么一边认可 opencv-mobile,一边认为它正在破坏 OpenCV 生态》
https://zhuanlan.zhihu.com/p/2060013935777130155
https://zhuanlan.zhihu.com/p/2060013935777130155
vulkan over webgpu
https://github.com/nihui/nikki
vulkan over opencl
https://github.com/nihui/momoten
分享两个最近新做的vulkan转译层驱动,让只有opencl的平台上以及浏览器webgpu上,跑vulkan计算。目前已经能跑通ncnn的vulkan模型推理
https://github.com/nihui/nikki
vulkan over opencl
https://github.com/nihui/momoten
分享两个最近新做的vulkan转译层驱动,让只有opencl的平台上以及浏览器webgpu上,跑vulkan计算。目前已经能跑通ncnn的vulkan模型推理
GitHub
GitHub - nihui/nikki: nikki is an experimental translation and runtime layer that implements a restricted, buffer-oriented subset…
nikki is an experimental translation and runtime layer that implements a restricted, buffer-oriented subset of the Vulkan compute API over WebGPU - nihui/nikki
🔥17
用 ncnn 跑 Qwen-Image-2.1:完整 BF16、2GB 显存和全平台 Vulkan https://zhuanlan.zhihu.com/p/2088230771794371280
https://github.com/nihui/qwenimage-ncnn-vulkan
https://github.com/nihui/qwenimage-ncnn-vulkan
❤5🆒1
nikki 和 momoten 两个驱动 id 已经正式合并到 vulkan-docs
https://github.com/KhronosGroup/Vulkan-Docs/commit/67e30922351312f0bb5a16f2b3a3bdba24b2a1cb
https://github.com/KhronosGroup/Vulkan-Docs/commit/67e30922351312f0bb5a16f2b3a3bdba24b2a1cb
GitHub
Register nikki and momoten driver IDs (#2840) · KhronosGroup/Vulkan-Docs@67e3092
The Vulkan API Specification and related tools. Contribute to KhronosGroup/Vulkan-Docs development by creating an account on GitHub.
🔥4
momoten: Vulkan compute on top of OpenCL
Bring Vulkan compute to older GPUs
Bypass missing, outdated, or buggy Vulkan drivers
Potentially faster than native Vulkan
Run ncnn Vulkan workloads without shader changes
https://github.com/nihui/momoten
https://zhuanlan.zhihu.com/p/2096952213864239416
Bring Vulkan compute to older GPUs
Bypass missing, outdated, or buggy Vulkan drivers
Potentially faster than native Vulkan
Run ncnn Vulkan workloads without shader changes
https://github.com/nihui/momoten
https://zhuanlan.zhihu.com/p/2096952213864239416
❤3🤯2
MiniMax H3 Image ncnn vulkan
✔️Full BF16, No quant/distil
✔️4G RAM & 2G VRAM works
✔️Any Vulkan GPU works
✔️No CUDA/Torch/Python
✔️Single tiny binary for Windows/Linux/macOS
✔️Text-to-image
✔️Multi-reference image editting
https://github.com/nihui/h3image-ncnn-vulkan
https://zhuanlan.zhihu.com/p/2106418505356727171
✔️Full BF16, No quant/distil
✔️4G RAM & 2G VRAM works
✔️Any Vulkan GPU works
✔️No CUDA/Torch/Python
✔️Single tiny binary for Windows/Linux/macOS
✔️Text-to-image
✔️Multi-reference image editting
https://github.com/nihui/h3image-ncnn-vulkan
https://zhuanlan.zhihu.com/p/2106418505356727171
🥰5🤩2