Skip to content
Merged
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

## Unreleased

- CUDA contract: nvcc 13.3 resource records for 121 launches, clearing 408 stale lines on five-SM fatbins (#3953). Thanks to @Bizuayeu.
- DeepSeek-V4.1 on Metal: decode launches of 6 to 16 rows (draft verify windows, alone or with other streams' rows) run the dense FP8 projections on a simdgroup-matrix tile that splits K over simdgroups in the row kernel's own group tree, so every row's bits equal the row kernel's one row at a time; launches of 1 to 5 rows keep the row kernel. On the release weights two drafted streams decode 3.7 to 5.5% faster on an M5 Ultra and 3.6 to 5.4% faster on an M3 Ultra, other stream counts are level, and every token is unchanged; `time-dsv41-metal-synth` times the dispatch classes per row without a checkpoint (#2973, part of #2984).
- DeepSeek-V4.1 on Metal: in decode launches of 2 to 16 rows, the routed experts read and decode an expert's MXFP4 weights once for all of the rows it takes (passes of 2, 4, 6 or 8 rows for gate/up and 2 or 4 for down) instead of padding every expert's rows to passes of four, so each row's bits equal the one-row kernel's one row a launch whatever other rows share the launch or their experts. On the release weights, with #2973 under it, decode is 6 to 17% faster at one and two streams and 2 to 3% faster at three and four on an M5 Ultra, and 5 to 17% and 2 to 5% faster on an M3 Ultra, with every token unchanged (#2983, part of #2984).
- Release tooling: the runtime feed's preparation reads GitHub releases with the workflow's read-only token, so shared hosted runners no longer fail it on the unauthenticated rate limit, and transport errors name the host.

- Release tooling: the runtime feed's preparation step names the error when it fails, instead of only saying that it failed.
Expand Down
8 changes: 4 additions & 4 deletions zig/src/core/contract/measurements/qwen_lanes_133.zig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//! Decode attention usage supplied from nvcc 13.3; other compiler releases remain unmeasured.
const Override = @import("../registry.zig").Override;
pub const records = [_]Override{
.{ .name = "tf_q35_attn_rows8_mt2", .usage = .{ .{ .regs = 0, .static = 0 }, .{ .regs = 0, .static = 0 }, .{ .regs = 0, .static = 0 }, .{ .regs = 249, .static = 36992, .bound = 128 }, .{ .regs = 249, .static = 36992, .bound = 128 } } },
.{ .name = "tf_q35_attn_rows8_mt2", .usage = .{ .{ .regs = 0, .static = 0, .bound = 0 }, .{ .regs = 0, .static = 0, .bound = 0 }, .{ .regs = 0, .static = 0, .bound = 0 }, .{ .regs = 248, .static = 36992, .bound = 128 }, .{ .regs = 248, .static = 36992, .bound = 128 } } },
.{ .name = "tf_q35_attn_rows8_mt2_whole", .usage = .{ .{ .regs = 0, .static = 0 }, .{ .regs = 0, .static = 0 }, .{ .regs = 0, .static = 0 }, .{ .regs = 248, .static = 36992, .bound = 128 }, .{ .regs = 248, .static = 36992, .bound = 128 } } },
.{ .name = "qwen35 tf_q35_attn_partial", .usage = .{ .{ .regs = 204, .static = 11648, .bound = 128 }, .{ .regs = 204, .static = 11648, .bound = 128 }, .{ .regs = 204, .static = 11648, .bound = 128 }, .{ .regs = 168, .static = 11648, .bound = 128 }, .{ .regs = 168, .static = 11648, .bound = 128 } } },
.{ .name = "qwen35 tf_q35_attn_partial", .usage = .{ .{ .regs = 202, .static = 11648, .bound = 128 }, .{ .regs = 202, .static = 11648, .bound = 128 }, .{ .regs = 202, .static = 11648, .bound = 128 }, .{ .regs = 168, .static = 11648, .bound = 128 }, .{ .regs = 168, .static = 11648, .bound = 128 } } },
.{ .name = "qwen35 tf_q35_attn_rows", .usage = .{ .{ .regs = 255, .static = 6912, .bound = 256 }, .{ .regs = 255, .static = 6912, .bound = 256 }, .{ .regs = 255, .static = 6912, .bound = 256 }, .{ .regs = 255, .static = 6912, .bound = 256 }, .{ .regs = 255, .static = 6912, .bound = 256 } } },
.{ .name = "qwen35_kv8 tf_q35_attn_partial8", .usage = .{ .{ .regs = 215, .static = 44672, .bound = 128 }, .{ .regs = 215, .static = 44672, .bound = 128 }, .{ .regs = 225, .static = 44672, .bound = 128 }, .{ .regs = 206, .static = 44672, .bound = 128 }, .{ .regs = 206, .static = 44672, .bound = 128 } } },
.{ .name = "qwen35_kv8 tf_q35_attn_rows8", .usage = .{ .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 255, .static = 39936, .bound = 256 } } },
.{ .name = "qwen35_kv8 tf_q35_attn_partial8", .usage = .{ .{ .regs = 219, .static = 44672, .bound = 128 }, .{ .regs = 219, .static = 44672, .bound = 128 }, .{ .regs = 228, .static = 44672, .bound = 128 }, .{ .regs = 207, .static = 44672, .bound = 128 }, .{ .regs = 207, .static = 44672, .bound = 128 } } },
.{ .name = "qwen35_kv8 tf_q35_attn_rows8", .usage = .{ .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 255, .static = 39936, .bound = 256 }, .{ .regs = 251, .static = 39936, .bound = 256 }, .{ .regs = 251, .static = 39936, .bound = 256 } } },
};
Loading
Loading