Skip to content

vulkan: Add a larger tile size for conv3d (coopmat2 only) - #29920

Merged
ggerganov merged 2 commits into
ggml-org:masterfrom
jeffbolznv:conv3d_tuning
Oct 25, 2026
Merged

ggerganov merged 2 commits into
ggml-org:masterfrom
jeffbolznv:conv3d_tuning

Conversation

@jeffbolznv

Copy link
Copy Markdown
Contributor

Overview

This adds a larger tile size, in practice it is only for coopmat2 where we don't need shared memory to store the output (would use more than 64KB).

Add some additional representative backend tests. At least, this is what codex came up with from looking at sd.cpp Wan VAE.

Perf on RTX 5090:

before:
  CONV_3D(N=1,IC=320,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                      727 runs -  1376.16 us/run - 174.81 GFLOP/run - 127.03 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                     181 runs -  5543.01 us/run - 699.29 GFLOP/run - 126.16 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                      209 runs -  4807.56 us/run - 699.25 GFLOP/run - 145.45 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                      45 runs - 22597.60 us/run -   2.80 TFLOP/run - 123.78 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=152,IW=104,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                     53 runs - 19035.49 us/run -   2.80 TFLOP/run - 146.94 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=40,IW=28,OC=384,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):              4368 runs -   229.16 us/run -   7.87 GFLOP/run -  34.33 TFLOPS
  CONV_3D(N=1,IC=192,ID=4,IH=78,IW=54,OC=192,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):              3654 runs -   273.73 us/run -  15.73 GFLOP/run -  57.48 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=154,IW=106,OC=96,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):              3148 runs -   317.86 us/run -  31.46 GFLOP/run -  98.98 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=306,IW=210,OC=3,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):               1456 runs -   691.25 us/run -   3.93 GFLOP/run -   5.69 TFLOPS
  CONV_3D(N=1,IC=1024,ID=3,IH=40,IW=28,OC=1024,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                    1052 runs -   951.57 us/run -  55.94 GFLOP/run -  58.79 TFLOPS
  CONV_3D(N=1,IC=256,ID=6,IH=154,IW=106,OC=256,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                     602 runs -  1663.05 us/run - 223.76 GFLOP/run - 134.55 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=38,IW=26,OC=768,KD=3,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):             28072 runs -    35.68 us/run -   1.75 GFLOP/run -  48.98 TFLOPS
  CONV_3D(N=1,IC=192,ID=2,IH=76,IW=52,OC=96,KD=1,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):             143520 runs -     6.98 us/run - 290.61 MFLOP/run -  41.65 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                      717 runs -  1395.07 us/run - 174.81 GFLOP/run - 125.31 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                     188 runs -  5340.28 us/run - 699.29 GFLOP/run - 130.95 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                      216 runs -  4634.85 us/run - 699.25 GFLOP/run - 150.87 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                      53 runs - 19117.58 us/run -   2.80 TFLOP/run - 146.31 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=152,IW=104,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                     55 runs - 18376.36 us/run -   2.80 TFLOP/run - 152.21 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=40,IW=28,OC=384,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):              4602 runs -   217.70 us/run -   7.87 GFLOP/run -  36.14 TFLOPS
  CONV_3D(N=1,IC=192,ID=4,IH=78,IW=54,OC=192,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):              4123 runs -   242.59 us/run -  15.73 GFLOP/run -  64.85 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=154,IW=106,OC=96,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):              3180 runs -   314.77 us/run -  31.46 GFLOP/run -  99.95 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=306,IW=210,OC=3,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):               1534 runs -   662.51 us/run -   3.93 GFLOP/run -   5.94 TFLOPS
  CONV_3D(N=1,IC=1024,ID=3,IH=40,IW=28,OC=1024,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                    1194 runs -   838.74 us/run -  55.94 GFLOP/run -  66.70 TFLOPS
  CONV_3D(N=1,IC=256,ID=6,IH=154,IW=106,OC=256,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                     645 runs -  1550.50 us/run - 223.76 GFLOP/run - 144.31 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=38,IW=26,OC=768,KD=3,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):             32480 runs -    30.81 us/run -   1.75 GFLOP/run -  56.73 TFLOPS
  CONV_3D(N=1,IC=192,ID=2,IH=76,IW=52,OC=96,KD=1,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):             147315 runs -     6.80 us/run - 290.61 MFLOP/run -  42.77 TFLOPS
after:
  CONV_3D(N=1,IC=320,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                      901 runs -  1110.94 us/run - 174.81 GFLOP/run - 157.36 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                     236 runs -  4244.99 us/run - 699.29 GFLOP/run - 164.73 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                      249 runs -  4028.26 us/run - 699.25 GFLOP/run - 173.59 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                      48 runs - 20938.27 us/run -   2.80 TFLOP/run - 133.59 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=152,IW=104,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                     63 runs - 15898.52 us/run -   2.80 TFLOP/run - 175.93 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=40,IW=28,OC=384,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):              4368 runs -   229.18 us/run -   7.87 GFLOP/run -  34.33 TFLOPS
  CONV_3D(N=1,IC=192,ID=4,IH=78,IW=54,OC=192,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):              3591 runs -   278.73 us/run -  15.73 GFLOP/run -  56.44 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=154,IW=106,OC=96,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):              3104 runs -   322.22 us/run -  31.46 GFLOP/run -  97.64 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=306,IW=210,OC=3,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):               1456 runs -   698.34 us/run -   3.93 GFLOP/run -   5.63 TFLOPS
  CONV_3D(N=1,IC=1024,ID=3,IH=40,IW=28,OC=1024,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                    1032 runs -   969.93 us/run -  55.94 GFLOP/run -  57.68 TFLOPS
  CONV_3D(N=1,IC=256,ID=6,IH=154,IW=106,OC=256,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):                     692 runs -  1445.79 us/run - 223.76 GFLOP/run - 154.77 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=38,IW=26,OC=768,KD=3,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):             27898 runs -    35.90 us/run -   1.75 GFLOP/run -  48.67 TFLOPS
  CONV_3D(N=1,IC=192,ID=2,IH=76,IW=52,OC=96,KD=1,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f32,kernel_offset=0):             141450 runs -     7.08 us/run - 290.61 MFLOP/run -  41.06 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                      890 runs -  1123.64 us/run - 174.81 GFLOP/run - 155.58 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=38,IW=26,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                     210 runs -  4767.23 us/run - 699.29 GFLOP/run - 146.69 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                      267 runs -  3752.76 us/run - 699.25 GFLOP/run - 186.33 TFLOPS
  CONV_3D(N=1,IC=1280,ID=8,IH=76,IW=52,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                      54 runs - 18555.56 us/run -   2.80 TFLOP/run - 150.74 TFLOPS
  CONV_3D(N=1,IC=320,ID=8,IH=152,IW=104,OC=1280,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=1,p1=1,p2=1,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                     69 runs - 14675.91 us/run -   2.80 TFLOP/run - 190.59 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=40,IW=28,OC=384,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):              4537 runs -   220.85 us/run -   7.87 GFLOP/run -  35.62 TFLOPS
  CONV_3D(N=1,IC=192,ID=4,IH=78,IW=54,OC=192,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):              4102 runs -   243.85 us/run -  15.73 GFLOP/run -  64.52 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=154,IW=106,OC=96,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):              3136 runs -   319.22 us/run -  31.46 GFLOP/run -  98.56 TFLOPS
  CONV_3D(N=1,IC=96,ID=6,IH=306,IW=210,OC=3,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):               1508 runs -   668.25 us/run -   3.93 GFLOP/run -   5.89 TFLOPS
  CONV_3D(N=1,IC=1024,ID=3,IH=40,IW=28,OC=1024,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                    1170 runs -   855.37 us/run -  55.94 GFLOP/run -  65.40 TFLOPS
  CONV_3D(N=1,IC=256,ID=6,IH=154,IW=106,OC=256,KD=3,KH=3,KW=3,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):                     722 runs -  1385.12 us/run - 223.76 GFLOP/run - 161.54 TFLOPS
  CONV_3D(N=1,IC=384,ID=3,IH=38,IW=26,OC=768,KD=3,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):             31842 runs -    31.42 us/run -   1.75 GFLOP/run -  55.62 TFLOPS
  CONV_3D(N=1,IC=192,ID=2,IH=76,IW=52,OC=96,KD=1,KH=1,KW=1,s0=1,s1=1,s2=1,p0=0,p1=0,p2=0,d0=1,d1=1,d2=1,type_kernel=f16,kernel_offset=0):             148350 runs -     6.74 us/run - 290.61 MFLOP/run -  43.10 TFLOPS

Requirements

@jeffbolznv
jeffbolznv requested review from a team and ggerganov as code owners October 3, 2026 19:05
@github-actions github-actions Bot added testing Everything test related Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels Oct 3, 2026
@0cc4m

0cc4m commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

I can measure a perf improvement on RTX 3090, similar to your 5090 numbers, but this change regresses my DGX Spark significantly.

RTX 3090

Shape (IC / ID×IH×IW / OC / K) kernel before after speedup
IC=320, 8×38×26, OC=1280, 3³ f32 38.84 45.45 1.17x
IC=1280, 8×38×26, OC=1280, 3³ f32 37.10 42.89 1.16x
IC=320, 8×76×52, OC=1280, 3³ f32 40.26 45.88 1.14x
IC=1280, 8×76×52, OC=1280, 3³ f32 33.43 40.06 1.20x
IC=320, 8×152×104, OC=1280, 3³ f32 36.29 41.83 1.15x
IC=256, 6×154×106, OC=256, 3³ f32 48.93 50.34 1.03x
IC=320, 8×38×26, OC=1280, 3³ f16 41.46 54.70 1.32x
IC=1280, 8×38×26, OC=1280, 3³ f16 39.28 44.57 1.13x
IC=320, 8×76×52, OC=1280, 3³ f16 46.76 58.66 1.25x
IC=1280, 8×76×52, OC=1280, 3³ f16 37.68 43.47 1.15x
IC=320, 8×152×104, OC=1280, 3³ f16 47.20 60.14 1.27x
IC=256, 6×154×106, OC=256, 3³ f16 56.00 53.53 0.96x

DGX Spark GB10

Shape (IC / ID×IH×IW / OC / K) kernel before after speedup
IC=320, 8×38×26, OC=1280, 3³ f32 30.70 24.75 0.81x
IC=1280, 8×38×26, OC=1280, 3³ f32 31.69 25.25 0.80x
IC=320, 8×76×52, OC=1280, 3³ f32 38.79 24.99 0.64x
IC=1280, 8×76×52, OC=1280, 3³ f32 26.55 26.38 0.99x
IC=320, 8×152×104, OC=1280, 3³ f32 39.59 25.32 0.64x
IC=256, 6×154×106, OC=256, 3³ f32 40.74 25.55 0.63x
IC=320, 8×38×26, OC=1280, 3³ f16 31.15 25.62 0.82x
IC=1280, 8×38×26, OC=1280, 3³ f16 31.91 25.02 0.78x
IC=320, 8×76×52, OC=1280, 3³ f16 40.99 26.15 0.64x
IC=1280, 8×76×52, OC=1280, 3³ f16 39.52 26.96 0.68x
IC=320, 8×152×104, OC=1280, 3³ f16 42.48 26.51 0.62x
IC=256, 6×154×106, OC=256, 3³ f16 41.23 27.17 0.66x

@jeffbolznv

Copy link
Copy Markdown
Contributor Author

That's kind of surprising. I wonder if this is thrashing the L2 cache similar to what can happen with large matmul. I'll try to repro with my 4070 when I get a chance.

@jeffbolznv

Copy link
Copy Markdown
Contributor Author

I ran this on 4070 and get around a 15-20% perf increase across these shapes. FB bandwidth and L2 size are a bit different but otherwise this is a reasonably similar configuration. I can't explain the difference.

@0cc4m

0cc4m commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

I'll try to find the cause on the Spark.

@0cc4m

0cc4m commented Oct 23, 2026

Copy link
Copy Markdown
Contributor
image

The problem is the 580 driver, with 615 it is faster on the Spark too. There are some significant code gen changes.

But Nvidia has never updated the DGX Spark driver from 580 and manually installing 610 or 615 leads to a nasty memory bug, so until they fix that I have to stick with 580.

This adds a larger tile size, in practice it is only for coopmat2 where
we don't need shared memory to store the output (would use more than 64KB).

Add some additional representative backend tests. At least, this is what codex
came up with from looking at sd.cpp Wan VAE.
@jeffbolznv

Copy link
Copy Markdown
Contributor Author

Thanks for finding that. I've gated the change to only use the new tile size on newer drivers.

@0cc4m 0cc4m added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Oct 24, 2026
@ggerganov
ggerganov merged commit e321bda into ggml-org:master Oct 25, 2026
30 checks passed
auRose94 pushed a commit to auRose94/llama.cpp that referenced this pull request Oct 28, 2026
…9920)

* vulkan: Add a larger tile size for conv3d (coopmat2 only)

This adds a larger tile size, in practice it is only for coopmat2 where
we don't need shared memory to store the output (would use more than 64KB).

Add some additional representative backend tests. At least, this is what codex
came up with from looking at sd.cpp Wan VAE.

* only apply large tile size for newer driver versions
@BrewTestBot BrewTestBot mentioned this pull request Oct 28, 2026
1 task done
edwardyoon pushed a commit to edwardyoon/focus-llama that referenced this pull request Oct 30, 2026
…9920)

* vulkan: Add a larger tile size for conv3d (coopmat2 only)

This adds a larger tile size, in practice it is only for coopmat2 where
we don't need shared memory to store the output (would use more than 64KB).

Add some additional representative backend tests. At least, this is what codex
came up with from looking at sd.cpp Wan VAE.

* only apply large tile size for newer driver versions
dzannotti added a commit to halo-box/strix-llama.cpp that referenced this pull request Nov 17, 2026
Upstream: ggml-org/llama.cpp 5cb9516..ef3848f (5 commits)

Conflicts:
- ggml/src/ggml-vulkan/ggml-vulkan.cpp: took upstream ggml-org#29929 ggml_vk_conv3d_select_shape (split_k for conv3d, coopmat2 only); the fork side was upstream's previous version (ggml-org#29920) with one extra blank line, no fork change.

Assisted-by: Claude Opus 5.5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YKmjzcT1LTvKtbw9EzBVGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. testing Everything test related Vulkan Issues specific to the Vulkan backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants