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: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel
## Unreleased


- CUDA: the start-up note about pages parked on the kernel's per-CPU lists logs at debug level, so whether it shows no longer depends on the box's memory state; the budget still counts those pages (#2164, follow-up to #2127). Thanks to @jschmied.

- CUDA: the families' sampled rule comes from one function, `cuda.sample.ruleFor`, in place of seven copies (MiniMax M3's hand-filled `Rule` included); a host test checks each old form byte for byte over 25,480 settings, and the fatbins are unchanged (#2680, #2460 item 3). Thanks to @jschmied.

- Tests: the dense serving and gradient-serving pins follow three sources main changed (the DSpine draft kernels, Flash Next's shared RMS helpers with the same SASS, and its disk-state keys), so `test-qwen-serving-host` and `test-gradient-serving` pass on main again (#2738, refs #2031).
Expand Down Expand Up @@ -888,7 +890,6 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

- On Ryzen AI Max (RDNA 3.5) GPUs, one- and two-row decode launches use narrower stream tiles, so Qwen3.6-35B-A3B chat decodes about 18% faster with drafts on, and Qwen3.8-27B about 5% faster, with the same tokens (#1855). Thanks to @AbrahamCete.

- Flash Next on RDNA 3.5 iGPUs (gfx1150 to gfx1153) fills prompts in 4,096-row chunks by default on one GPU, falling back to 1,024 when the larger chunk would admit fewer streams. Tokens are unchanged. The larger chunk's scratch holds about 4.6 GiB more device memory; `--policy prefill_step=1024` gives it back (#1651, fixes #1649). Thanks to @gilby.

- CUDA's Qwen DFlash2 drafters must declare sliding attention on every layer (`use_sliding_window` and one `sliding_attention` per layer), which the kernels run, so a drafter declaring a full-attention layer is refused before loading instead of running through the sliding ring (#1946, part of #1863). Thanks to @garvrao80.

Expand Down
2 changes: 1 addition & 1 deletion zig/src/native/cuda_family_memory.zig
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub fn weights(comptime F: type, a: Allocator, io: std.Io, o: api.Open, problem:
/// Logs, from 0.25 GiB, the free pages on the per-CPU lists that a pool's reading counted.
pub fn noteParked(p: budget.Pool, what: []const u8) void {
const line = "{s} counts the {d:.2} GiB free on the per-CPU page lists beyond their resting level (MemAvailable does not)";
if (p.parked >= 1 << 28) std.log.info(line, .{ what, toGib(p.parked) });
if (p.parked >= 1 << 28) std.log.debug(line, .{ what, toGib(p.parked) }); // debug: varies run to run
}

pub fn room(comptime F: type, ptr: *anyopaque, local: u64) !u64 {
Expand Down
2 changes: 1 addition & 1 deletion zig/src/native/cuda_family_memory_test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test "a Linux unified pool counts the free pages parked on the per-CPU lists, at
try t.expectEqual(@as(usize, 0), Fake.zone_probes);
}

test "the pool names the parked share it counted, for the start-up log line" {
test "the pool names the parked share it counted, for the debug log line" {
var driver: cuda.Driver = undefined;
driver.api.cuDeviceGetAttribute = Fake.attribute;
driver.api.cuMemGetInfo_v2 = Fake.memInfo;
Expand Down
Loading