Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
616fcca
Lane core: requests that arrive together share their prompt passes
philip-pentatonic Oct 10, 2026
82d8721
Nemotron: the checkpoint Source copies to a Target, so other CUDA fam…
philip-pentatonic Oct 10, 2026
99bcc5b
Qwen3.8-27B on CUDA: the qwen27 family's engine for NVIDIA GPUs, ever…
philip-pentatonic Oct 10, 2026
907e013
Native image input: images from a request's image parts, prepared bef…
BobClawblaw Oct 10, 2026
47c4098
Native image input: --vision-urls fetches public HTTPS image URLs as …
BobClawblaw Oct 10, 2026
b68e3da
Merge PR #608 (Qwen3.8-27B native CUDA engine) onto 1.0.7
BobClawblaw Oct 12, 2026
9f99ca9
Merge PR #598 and #614 (native image input, HTTPS image URLs) onto qw…
BobClawblaw Oct 12, 2026
fa22819
Qwen3.5 vision tower on CUDA: qwen_vision.cu kernels, the Tower, and …
BobClawblaw Oct 12, 2026
407cb28
Qwen image preprocessing on Linux: stb_image decode, EXIF, alpha, sma…
BobClawblaw Oct 12, 2026
ff7cc22
Native image input for Qwen3.8-27B on CUDA: tower rows spliced into t…
BobClawblaw Oct 12, 2026
5d8bf48
qwen27 CUDA: --kv-cache fp8, and attention partials sized for the adm…
BobClawblaw Oct 12, 2026
06cc811
qwen27 CUDA: a prompt cache, so a chat's next turn resumes its kept s…
BobClawblaw Oct 12, 2026
2c222ae
Merge main (1.0.8 work) into qwen27-cuda-1.0.7
BobClawblaw Oct 12, 2026
d49a906
qwen27 CUDA: no tooling that imports the Python engine in the tree
BobClawblaw Oct 12, 2026
e3b7210
Merge main (1.0.9) into qwen27-cuda-1.0.7
BobClawblaw Oct 13, 2026
72bf399
Merge main (1.0.10) into qwen27-cuda-1.0.7
BobClawblaw Oct 14, 2026
4e15fae
Merge main (1.0.11) into qwen27-cuda-1.0.7
BobClawblaw Oct 14, 2026
bcd433c
Lean rule: one-line comments and docstrings, and a vendored-source ex…
BobClawblaw Oct 14, 2026
5a4987b
Living Weights: the learner, pocket and fits move to zig/src/living, …
ZackSample Oct 15, 2026
75978a1
Living Weights learns into any family described as data: the family's…
ZackSample Oct 15, 2026
dac84b6
Merge lw-b-core (#878, Living Weights as a core module) onto #726 (Qw…
ZackSample Oct 16, 2026
e90a103
Living Weights: the learner as the 27B's lessons run it
ZackSample Oct 16, 2026
b9b3e83
CUDA: Living Weights' DeltaNet and gated attention backward as core k…
ZackSample Oct 16, 2026
018d2b2
Qwen3.8-27B on CUDA learns: Living Weights' pocket beside every MLP, …
ZackSample Oct 16, 2026
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
Prev Previous commit
Next Next commit
qwen27 CUDA: no tooling that imports the Python engine in the tree
attention_kv8.py (which records the fp8 attention launches) and qwen_vision_fixtures.py (which records the vision
fixtures) import tensorfold, so they move out of the tree; their recordings stay fixture files, made once outside it.
  • Loading branch information
BobClawblaw committed Oct 12, 2026
commit d49a906ffc168d707f62be598d329bf8dd8f5e2d
103 changes: 0 additions & 103 deletions tools/zig/qwen_vision_fixtures.py

This file was deleted.

5 changes: 3 additions & 2 deletions zig/src/cli/qwen27_cuda.zig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const usage =
\\ tf-qwen27-cuda kvcompare MODEL --kernels DIR --prompts prompts.json [--max-tokens N]
\\ --kv-cache fp8 against bf16, teacher-forced on bf16's greedy reply: top-1 agreement and KL a token.
\\ tf-qwen27-cuda vision MODEL --fixtures DIR
\\ The image tower on qwen_vision_fixtures.py's patches: each image's rows against 0.6.6's (cosine, max error).
\\ The image tower on recorded 0.6.6 fixtures' patches: each image's rows against 0.6.6's (cosine, max error).
\\
;

Expand Down Expand Up @@ -547,7 +547,8 @@ fn runMulti(gpa: std.mem.Allocator, a: std.mem.Allocator, io: std.Io, e: *qwen.E
return if (bad == 0 and round == want_rounds.len) 0 else 1;
}

/// The tower against qwen_vision_fixtures.py's manifest: per image, the features' row cosines and largest error.
/// The tower against a manifest recorded from 0.6.6 outside the tree (qwen_vision_fixtures.py): per image, the
/// features' row cosines and largest error.
fn checkVision(gpa: std.mem.Allocator, arena: std.mem.Allocator, io: std.Io, model: []const u8, dir: []const u8) !u8 {
const V = qwen.vision;
const manifest = try readJson(arena, io, try std.fs.path.join(arena, &.{ dir, "manifest.json" }));
Expand Down
5 changes: 3 additions & 2 deletions zig/src/families/qwen27/cuda/triton.zig
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ pub const Tri = struct {
}, &.{ ci("H", a.heads), ci("D", a.dim), ci("G", g), ci("DS", merge_columns), ci("CH", chunk), ci("GR", group_chunks) });
}

/// attention_kv8.py's attention8: attention over e4m3 caches, `offs` holding each stream's four offsets (key
/// and value bytes, their scales' fp32 elements) from `base`; the window's own keys and values stay bf16.
/// attention8 (attention_kv8.py, captured outside the tree like the rest of the set): attention over e4m3
/// caches, `offs` holding each stream's four offsets (key and value bytes, their scales' fp32 elements) from
/// `base`; the window's own keys and values stay bf16.
pub fn attention8(t: Tri, q: u64, kn: u64, vn: u64, base: u64, offs: u64, plan: Plan, part: Partials, out: u64, a: Attn) !void {
const g = a.heads / a.kv_heads;
const scale: f32 = @floatCast(std.math.pow(f64, @floatFromInt(a.dim), -0.5));
Expand Down
Loading
Loading