Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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

This file was deleted.

111 changes: 0 additions & 111 deletions backends/webgpu/runtime/ops/quantized_linear/q4gsw_linear_coop4_wgsl.h

This file was deleted.

4 changes: 2 additions & 2 deletions backends/webgpu/test/ops/test_quantized_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class Q4gswConfig:
# decode GEMV: the handler routes M==1 -> bicol, so each reads its own per-
# column scale (col0/col1) across many K-groups (down_proj: 256 groups). q4gsw
# requires N % 8 == 0 (torchao pads N for the scale layout), so odd-N / N=1 are
# not exportable -- bicol's has1 odd-N guard is defensive (mirrors coop4's
# general-N robustness) and unreachable through this op.
# not exportable -- bicol's has1 odd-N guard is defensive and unreachable
# through this op.
# M>1 prefill: prefer the steel GEMM (K%16==0) on a >=256-invocation device
# (e.g. lvp); else shmem (K>=4096 or N>=2048) or register-tiled (SwiftShader
# caps at 128). Same fp64 golden regardless of which kernel runs.
Expand Down
3 changes: 1 addition & 2 deletions backends/webgpu/test/test_webgpu_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ const Q4gswConfig kQ4gswConfigs[] = {
// The M==1 configs above (q/kv/gate/down_proj) exercise the bicol 2-col
// decode GEMV (handler routes M==1 -> bicol; each reads its own per-column
// scale over 64-256 K-groups). q4gsw requires N % 8 == 0, so odd-N is not
// exportable; bicol's has1 odd-N guard is defensive (mirrors coop4
// general-N robustness).
// exportable; bicol's has1 odd-N guard is defensive.
// M>1: steel GEMM on a >=256-invocation device (K%16==0), else shmem/tiled.
{"steel", 96, 2048, 256, 1e-4f, 1e-3f, true, false}, // steel-isolating
// Same shape as "steel" run under the f16-multiply steel kernel; the f16
Expand Down
Loading