github ggml-org/llama.cpp b12892

pre-release29 minutes ago
Details

qwen4exp : simplify the PLE conv graph (#33380)

  • qwen4exp : remove redundant cont in ple conv output

conv_out is contiguous after ggml_silu, so the extra ggml_cont before the reshape is unnecessary.

Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)

  • qwen4exp : avoid the permute copy in the PLE conv

Fold the sequence axis into the channel axis so im2col writes the layout needed by the batched matmul directly, removing the cont(permute(x)) copy.

Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)

  • qwen4exp : load the PLE conv kernel as 3D

Use TENSOR_ALLOW_RESHAPE to load ple_conv1d as [kern, 1, hc_dim], so the graph uses it directly without a reshape or f32 cast. Update the tensor op mapping to GGML_OP_MUL_MAT for buffer selection with the 3D shape.

Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)

  • qwen4exp : use a standalone shape tensor for im2col

ggml_im2col only needs the kernel shape, so create the [kern, 1] tensor directly instead of viewing the PLE conv weight.

Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.