From 3dcbbc18c607af6875ad58aacb9d60942ea727bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Schmied?= <600316+jschmied@users.noreply.github.com> Date: Wed, 4 Nov 2026 21:25:20 +0100 Subject: [PATCH 1/3] cuda: the parked-page reading logs at debug level The start-up line naming the free pages on the per-CPU lists printed only when 0.25 GiB or more happened to sit there, so start-up output changed with the box's memory state (#2127). The pool still counts them; only the line moves to debug. --- zig/src/native/cuda_family_memory.zig | 2 +- zig/src/native/cuda_family_memory_test.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zig/src/native/cuda_family_memory.zig b/zig/src/native/cuda_family_memory.zig index 569af1948b4..5f5a5b712cd 100644 --- a/zig/src/native/cuda_family_memory.zig +++ b/zig/src/native/cuda_family_memory.zig @@ -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 { diff --git a/zig/src/native/cuda_family_memory_test.zig b/zig/src/native/cuda_family_memory_test.zig index 4e48552e230..a57a505eb30 100644 --- a/zig/src/native/cuda_family_memory_test.zig +++ b/zig/src/native/cuda_family_memory_test.zig @@ -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; From a807dfe36a31f7660081fe1ba66f426dec95cb4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Schmied?= <600316+jschmied@users.noreply.github.com> Date: Fri, 6 Nov 2026 12:46:04 +0100 Subject: [PATCH 2/3] changelog: leave the released 1.2.2 entry as it was (#2164) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c8c0cbfe29..7136d47a74f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -888,7 +888,7 @@ 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. +- 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 (#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. From 9ca1fe3b352cba45cff107789afb205ee3ae2a74 Mon Sep 17 00:00:00 2001 From: ashhart <71890694+ashhart@users.noreply.github.com> Date: Tue, 10 Nov 2026 13:39:10 +0000 Subject: [PATCH 3/3] changelog: #2164's line from lines/2164.txt in place of its own --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7136d47a74f..b729241480b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). @@ -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 (#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.