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

## Unreleased

- GLM-5.3-Flash on CUDA: `TF_GLM_VISION_FUSED=1` (off by default) runs the image tower's attention on the shared full-attention vision kernel instead of two cuBLASLt products around a softmax; its sums run in another order, so replies to prompts with images can differ from the default path, which is unchanged (#3790, refs #3614). Thanks to @ultradaoto.

- Lanes: window-cost tables are measured in interleaved sweeps and saved tables are repaired at startup inside a fixed time budget; a table with no valid timing is refused. Tokens unchanged (#4755).

- Drama 3 on CUDA: semantic guidance (`--cfg-gamma` and the other guidance flags) now works, as it does on Metal (#4153). Thanks @plotarmordev.
Expand Down
1 change: 1 addition & 0 deletions docs/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Diagnostics quote and escape the supplied text so it cannot create another termi
| `TF_DRAMA_REFERENCE_CACHE` | Drama 3 on CUDA: kept reference states, 0 (off) through 16; default 0. Checked when the checkpoint opens, with its own message |
| `TF_GLM_HOST_CACHE` | Exactly `0` or `1`; default off (kept GLM states on the device) |
| `TF_GLM_VISION_HOST` | Exactly `0` or `1`; default off (GLM vision weights on the device) |
| `TF_GLM_VISION_FUSED` | Exactly `0` or `1`; default off (the GLM vision tower's attention as cuBLASLt products around a softmax kernel) |
| `TF_GLM_PAIR_EXPERTS` | Exactly `0` or `1`; default off. On, GLM paired CUDA prompt chunks share 128-pair routed NVFP4 expert items, with separate per-chunk outputs and unchanged slot combines |
| `TF_GLM_PROF` | Exactly `0` or `1`; default off (no GLM section timing). On, all four prompt traces are created before readiness; startup, gate, final-draw, cache-admission and memory-counter records go to the log. A prompt step is one chunk, with no pair or solo steps, so its prompt timings are of that shape |
| `TF_GLM_LINK_WAIT` | Exactly `0` or `1`; default off (short GLM steps go to the other ranks unwaited) |
Expand Down
5 changes: 5 additions & 0 deletions docs/kernel-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,11 @@ of the two branches), each output within float64's range at its bf16 points, and
`contract_attn.zig`'s float64 reference (`audio-contract`; eight controls built from `nemo_audio.cuh` with one thing
dropped each).

CUDA also checks GLM-5.3-Flash's image tower on that attention: `vision_kernel` at head dim 64 against the same
float64 reference (`contract_vit_full.zig`, the MOSS-Image test's type at any head dim), and `glm_vis_qk`, which
norms and rotates q and k in place in the rows it reads, bit-equal to `glm_vis_qkv` at segments of one row (one
control: the rotation before a head's bf16 rounding).

CPU: Qwen3.5-2B's affine projection (4 bits, groups of 64, `cpu_kernels.zig`) at the widths the 2B calls it, one row
to a 128-row prompt chunk, registered once for each chain count of its projection classes (16; 32 for the delta rule's
a and b; 8 for the head), and its RMS norm over 2048-wide rows; each registration's runs take 1 to 8 threads in turn,
Expand Down
1 change: 1 addition & 0 deletions docs/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ still carries each resolved value, so ranks that disagree still stop before weig
| --- | --- | --- | --- |
| `TENSORFOLD_KOLIBRI_KV_PAGES` | CUDA, Kolibri-1 | arithmetic | Exact `0`, which disables otherwise requested pages |
| `TENSORFOLD_DORY_KV_PAGES` | CUDA, Dory | arithmetic | Every present value except exact `0`, including empty text |
| `TF_GLM_VISION_FUSED` | CUDA, GLM | arithmetic | Exact `1`, which runs the vision tower's attention as the towers' shared full-attention kernel |
| `GEMMA_DRAFT_BF16` | Metal, Gemma 4 | debug | `all`, `fc`, `self_attn.q_proj`, `self_attn.k_proj`, `self_attn.o_proj`, `mlp.gate_proj`, `mlp.down_proj` |
| `TF_ANE_COLUMNS` | Metal, Qwen3.5 dense adapter | experimental | Nonzero columns; admission still decides whether the share is supported |
| `TF_PROMPT_ROWS` | Metal, Qwen3.5 dense/MoE adapter | arithmetic | Every explicit native prompt width |
Expand Down
5 changes: 5 additions & 0 deletions docs/recipes/glm-5.3-flash-cuda.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ drafted at one stream, and about 1,430 prompt tokens a second from 2,048 to 65,5
`TF_GLM_VISION_HOST=1` keeps the tower's bf16 weights in pinned
host memory and copies each part of a pass into one device slot as it runs (240 MiB for GLM-5.3-Flash's tower instead
of its 1.05 GiB), leaving rank 0 that much more room for KV pages. Checked on two RTX PRO 6000 Blackwell cards.
`TF_GLM_VISION_FUSED=1` (opt-in) runs the tower's attention as the full-attention kernel the other towers use
(`vision_kernel` at head dim 64, the same code as RADIO's and MOSS-Image's) instead of two cuBLASLt products
around a softmax kernel: no scores or weights are written, so a large image's first token comes much sooner.
That kernel takes its maximum a 64-key tile at a time and sums in another order than cuBLASLt, so a reply to a
prompt with images can differ from the unset path's; text-only prompts are untouched.
- Nonstreaming `/v1/completions` requests return `prompt_logprobs`, structured output follows its schema with drafts
on, and required and named tool calls use the model's tool markup ([1.1.1](../../CHANGELOG.md#111): #1016 to #1018).
- `--kv-cache fp8` is an opt-in FP8 latent cache ([1.1.2](../../CHANGELOG.md#112)); BF16 remains the default and the
Expand Down
4 changes: 2 additions & 2 deletions zig/dense_serving_test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ test "dense serving: owned CUDA images retain their reviewed lane and decode byt
try std.testing.expectEqualStrings("5f325dc6d8134624b30b5e99c5764f75beb3c344b5f949d38bfaa41bc8dfe5dc", &hash(@embedFile("kernels/cuda/experts_prefill.cu")));
try std.testing.expectEqualStrings("e5ef9dcce75c478e59e476d2fa8747baee2317bd283b0756f125ea050dad9228", &hash(@embedFile("kernels/cuda/gdn.cu")));
try std.testing.expectEqualStrings("dba5aae94115571ed48933d80f646fff31b2a7da226569867c74a1dc061d2ca2", &hash(@embedFile("kernels/cuda/lane_gemv.cu")));
// #2239 adds vision_kernel<64, 8> for Qwen3-ASR's tower; every function main had keeps its SASS (sm_80 to sm_121)
try std.testing.expectEqualStrings("4227f0a9b7a89ac296388a7dcd9e49cd0dd487ed09ee46cc1d4eda94ab8e3741", &hash(@embedFile("kernels/cuda/prefill_attention.cu")));
// #2239 adds head-64 attention for Qwen3-ASR; #3790 reuses it for GLM; existing instances keep their SASS
try std.testing.expectEqualStrings("e4cb5bd5e4e9bf8157e5612b45f3dcf78ea31f4ab0822573da495c7aa63728d5", &hash(@embedFile("kernels/cuda/prefill_attention.cu")));
const group = @embedFile("kernels/cuda/qmm_group.cu");
try std.testing.expectEqualStrings("ceff4ee13e97b5aa93cbe7a1edc9a524c78aaa145dd1e5c82dcb05a3011aae23", &hash(group[0..16095]));
try std.testing.expectEqualStrings("8780fd710be3ce2f04e53fa1e69eb062809d3bec6391d9bd49983d0588e374d0", &hash(group));
Expand Down
1 change: 1 addition & 0 deletions zig/kernels/cuda/contract_controls_set.cu
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
#include "contract_controls_idol_decoder.cuh"
#include "contract_qwen3_asr_controls.cuh"
#include "contract_ricursive_controls.cuh"
#include "contract_glm_vision_controls.cuh"
10 changes: 10 additions & 0 deletions zig/kernels/cuda/contract_glm_vision_controls.cuh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Planted control for glm_vision's in-place q and k: the rotation of a head before its bf16 rounding.

#include "glm_vis_qk.cuh"

extern "C" __global__ void tf_ctl_glm_vis_qk_unrounded(__nv_bfloat16* qkv, const __nv_bfloat16* __restrict__ qn,
const __nv_bfloat16* __restrict__ kn,
const int* __restrict__ pos, const float* __restrict__ inv_freq,
int N, int H, float eps) {
glm_vis_rows::qk<false>(qkv, qn, kn, pos, inv_freq, N, H, eps);
}
36 changes: 36 additions & 0 deletions zig/kernels/cuda/glm_vis_qk.cuh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// GLM image tower: glm_vis_qkv's q and k, in place in the rows vit's full attention reads.
#pragma once

#include <cuda_bf16.h>

namespace glm_vis_rows {

// A warp a (row, head) of qkv [N, 3 H 64]: q and k head-RMSNormed, then rotated by the row's 2D angles; MID as served.
template <bool MID>
__device__ __forceinline__ void qk(__nv_bfloat16* qkv, const __nv_bfloat16* __restrict__ qn,
const __nv_bfloat16* __restrict__ kn, const int* __restrict__ pos,
const float* __restrict__ inv_freq, int N, int H, float eps) {
const long long item = blockIdx.x * (long long)(blockDim.x >> 5) + (threadIdx.x >> 5);
if (item >= (long long)N * H) return;
const int lane = threadIdx.x & 31;
const int n = (int)(item / H), h = (int)(item % H);
const int p = lane < 16 ? pos[2 * n] : pos[2 * n + 1];
const float ang = (float)p * inv_freq[lane & 15];
const float c = cosf(ang), s = sinf(ang);
for (int which = 0; which < 2; ++which) {
__nv_bfloat16* x = qkv + ((long long)n * 3 + which) * H * 64 + h * 64;
const __nv_bfloat16* wn = which ? kn : qn;
float a = __bfloat162float(x[lane]), b = __bfloat162float(x[lane + 32]);
float ss = a * a + b * b;
for (int o = 16; o > 0; o >>= 1) ss += __shfl_xor_sync(0xffffffffu, ss, o);
const float inv = rsqrtf(ss / 64.f + eps);
a = a * inv * __bfloat162float(wn[lane]);
b = b * inv * __bfloat162float(wn[lane + 32]);
if (MID) a = __bfloat162float(__float2bfloat16_rn(a)), b = __bfloat162float(__float2bfloat16_rn(b));
// rotate_half: dims l < 32 take -x[l + 32], dims l + 32 take x[l]
x[lane] = __float2bfloat16_rn(a * c - b * s);
x[lane + 32] = __float2bfloat16_rn(b * c + a * s);
}
}

} // namespace glm_vis_rows
10 changes: 10 additions & 0 deletions zig/kernels/cuda/glm_vision.cu
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <stdint.h>
#include "glm_pdl.cuh"

#include "glm_vis_qk.cuh"

namespace {
__device__ __forceinline__ float bf(__nv_bfloat16 x) { return __bfloat162float(x); }
__device__ __forceinline__ __nv_bfloat16 tobf(float x) { return __float2bfloat16_rn(x); }
Expand Down Expand Up @@ -108,6 +110,14 @@ extern "C" __global__ void glm_vis_qkv(const __nv_bfloat16* __restrict__ qkv, co
vt[(blk * 64 + lane + 32) * seg + j] = v[lane + 32];
}

// vit's full attention inputs: glm_vis_qkv's q and k, in place in qkv's rows [N, 3 H 64]; a warp a (row, head).
extern "C" __global__ void glm_vis_qk(__nv_bfloat16* qkv, const __nv_bfloat16* __restrict__ qn,
const __nv_bfloat16* __restrict__ kn, const int* __restrict__ pos,
const float* __restrict__ inv_freq, int N, int H, float eps) {
glm_pdl::enter();
glm_vis_rows::qk<true>(qkv, qn, kn, pos, inv_freq, N, H, eps);
}

// A scores row's softmax: pr = bf16(exp(scale (s - max))) and its sum (of the bf16 values), a block a row
extern "C" __global__ void glm_vis_softmax(const float* __restrict__ sc, __nv_bfloat16* __restrict__ pr,
float* __restrict__ sums, int n, float scale) {
Expand Down
2 changes: 1 addition & 1 deletion zig/kernels/cuda/prefill_attention.cu
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ template __global__ void tf_prefill_attention::full_kernel<72, 8, 8>(const __nv_
// Head dim 80, eight warps, two blocks an SM (RADIO's tower, 16 heads of 80): full_kernel<80>'s bits, 1.35x faster.
template __global__ void tf_prefill_attention::vision_kernel<80, 8>(const __nv_bfloat16* __restrict__, __nv_bfloat16* __restrict__, int, int,
float);
// Head dim 64, eight warps (Qwen3-ASR's audio tower, 14 or 16 heads of 64 over a window of its rows).
// Head dim 64, eight warps (Qwen3-ASR audio and GLM-5.3-Flash image towers; existing instances unchanged).
template __global__ void tf_prefill_attention::vision_kernel<64, 8>(const __nv_bfloat16* __restrict__, __nv_bfloat16* __restrict__, int, int,
float);
// Head dim 128, eight warps (MOSS-Image's denoiser, 24 heads of 128 over its image and prompt rows).
Expand Down
4 changes: 4 additions & 0 deletions zig/src/core/contract/glm_cuda_records.zig
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,17 @@ pub const cuda = [_]registry.CudaRecord{
.{ .launch = .{ .name = "glm_ops tf_glm_kvh_copy_cached", .symbol = "tf_glm_kvh_copy_cached", .image = "glm_ops", .threads = 256, .min_sm = 80 }, .usage = .{ .{ .regs = 42, .static = 0, .bound = 0 }, .{ .regs = 46, .static = 0, .bound = 0 }, .{ .regs = 46, .static = 0, .bound = 0 }, .{ .regs = 34, .static = 0, .bound = 0 }, .{ .regs = 34, .static = 0, .bound = 0 } } },
.{ .launch = .{ .name = "glm_ops tf_glm_kvh_keep", .symbol = "tf_glm_kvh_keep", .image = "glm_ops", .threads = 256, .min_sm = 80 }, .usage = .{ .{ .regs = 30, .static = 0, .bound = 0 }, .{ .regs = 34, .static = 0, .bound = 0 }, .{ .regs = 34, .static = 0, .bound = 0 }, .{ .regs = 38, .static = 0, .bound = 0 }, .{ .regs = 38, .static = 0, .bound = 0 } } },
.{ .launch = .{ .name = "glm_ops tf_glm_kvh_unmark", .symbol = "tf_glm_kvh_unmark", .image = "glm_ops", .threads = 256, .min_sm = 80 }, .usage = .{ .{ .regs = 16, .static = 0, .bound = 0 }, .{ .regs = 16, .static = 0, .bound = 0 }, .{ .regs = 16, .static = 0, .bound = 0 }, .{ .regs = 16, .static = 0, .bound = 0 }, .{ .regs = 16, .static = 0, .bound = 0 } } },
.{ .launch = .{ .name = "glm_vision glm_vis_qk", .symbol = "glm_vis_qk", .image = "glm_vision", .threads = 256, .min_sm = 80 }, .usage = .{ .{ .regs = 27, .static = 0, .bound = 0 }, .{ .regs = 27, .static = 0, .bound = 0 }, .{ .regs = 27, .static = 0, .bound = 0 }, .{ .regs = 25, .static = 0, .bound = 0 }, .{ .regs = 25, .static = 0, .bound = 0 } } },
.{ .launch = .{ .name = "glm_vision tf_ctl_glm_vis_qk_unrounded", .symbol = "tf_ctl_glm_vis_qk_unrounded", .image = "contract_controls", .threads = 256, .min_sm = 80 }, .usage = .{ .{ .regs = 29, .static = 0, .bound = 0 }, .{ .regs = 28, .static = 0, .bound = 0 }, .{ .regs = 28, .static = 0, .bound = 0 }, .{ .regs = 24, .static = 0, .bound = 0 }, .{ .regs = 24, .static = 0, .bound = 0 } } },
.{ .launch = .{ .name = "glm_vision vit vision_kernel<64, 8>", .symbol = "_ZN20tf_prefill_attention13vision_kernelILi64ELi8EEEvPK13__nv_bfloat16PS1_iif", .image = "prefill_attention", .threads = 256, .dynamic = 36864 }, .usage = .{ .{ .regs = 132, .static = 0, .bound = 256 }, .{ .regs = 132, .static = 0, .bound = 256 }, .{ .regs = 132, .static = 0, .bound = 256 }, .{ .regs = 120, .static = 0, .bound = 256 }, .{ .regs = 120, .static = 0, .bound = 256 } } },
};

/// nvcc 13.2's usage where it differs from 13.0's.
pub const cuda_132 = [_]registry.Override{
.{ .name = "glm_mm16_16", .usage = .{ .{ .regs = 95, .static = 0, .bound = 128 }, .{ .regs = 95, .static = 0, .bound = 128 }, .{ .regs = 95, .static = 0, .bound = 128 }, .{ .regs = 56, .static = 0, .bound = 128 }, .{ .regs = 56, .static = 0, .bound = 128 } } },
.{ .name = "glm_mm8_16", .usage = .{ .{ .regs = 93, .static = 0, .bound = 128 }, .{ .regs = 94, .static = 0, .bound = 128 }, .{ .regs = 94, .static = 0, .bound = 128 }, .{ .regs = 58, .static = 0, .bound = 128 }, .{ .regs = 58, .static = 0, .bound = 128 } } },
.{ .name = "glm_mm8_32", .usage = .{ .{ .regs = 128, .static = 0, .bound = 128 }, .{ .regs = 126, .static = 0, .bound = 128 }, .{ .regs = 126, .static = 0, .bound = 128 }, .{ .regs = 74, .static = 0, .bound = 128 }, .{ .regs = 74, .static = 0, .bound = 128 } } },
.{ .name = "glm_vision vit vision_kernel<64, 8>", .usage = .{ .{ .regs = 132, .static = 0, .bound = 256 }, .{ .regs = 132, .static = 0, .bound = 256 }, .{ .regs = 132, .static = 0, .bound = 256 }, .{ .regs = 128, .static = 0, .bound = 256 }, .{ .regs = 128, .static = 0, .bound = 256 } } },
.{ .name = "df_block_qkv", .usage = .{ .{ .regs = 32, .static = 8, .bound = 0 }, .{ .regs = 30, .static = 8, .bound = 0 }, .{ .regs = 30, .static = 8, .bound = 0 }, .{ .regs = 32, .static = 8, .bound = 0 }, .{ .regs = 32, .static = 8, .bound = 0 } } },
.{ .name = "df_ctx_kv", .usage = .{ .{ .regs = 30, .static = 8, .bound = 0 }, .{ .regs = 30, .static = 8, .bound = 0 }, .{ .regs = 30, .static = 8, .bound = 0 }, .{ .regs = 28, .static = 8, .bound = 0 }, .{ .regs = 28, .static = 8, .bound = 0 } } },
.{ .name = "df_top16_merge", .usage = .{ .{ .regs = 23, .static = 8416, .bound = 256 }, .{ .regs = 23, .static = 8416, .bound = 256 }, .{ .regs = 23, .static = 8416, .bound = 256 }, .{ .regs = 28, .static = 8416, .bound = 256 }, .{ .regs = 28, .static = 8416, .bound = 256 } } },
Expand Down
2 changes: 2 additions & 0 deletions zig/src/core/profile.zig
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub const Switch = enum {
TF_GLM_HOST_CACHE,
TF_GLM_PAIR_EXPERTS,
TF_GLM_VISION_HOST,
TF_GLM_VISION_FUSED,
TF_GLM_PDL,
TF_GLM_PROMPT_STEPS,
TF_GLM_SHARED,
Expand Down Expand Up @@ -167,6 +168,7 @@ pub const entries = [_]Entry{
.{ .id = .TF_GLM_HOST_CACHE, .families = &.{"glm5_next"}, .class = .identical, .syntax = .one, .effect = "Keep kept prompt states in pinned host memory instead of on the device", .evidence = "#2370" },
.{ .id = .TF_GLM_VISION_HOST, .families = &.{"glm5_next"}, .class = .identical, .syntax = .one, .effect = "Keep the vision tower's weights in pinned host memory, staged a unit at a time", .evidence = "#2370" },
.{ .id = .TF_GLM_PAIR_EXPERTS, .families = &.{"glm5_next"}, .class = .identical, .syntax = .one, .effect = "Route two paired CUDA prompt chunks through 128-pair NVFP4 expert items", .evidence = "REV25 E1; default-off; host gates; device A/B required" },
.{ .id = .TF_GLM_VISION_FUSED, .families = &.{"glm5_next"}, .class = .arithmetic, .syntax = .one, .effect = "Run the vision tower's attention as vit's full-attention kernel; its sums run in another order than cuBLASLt's", .evidence = "#3614" },
.{ .id = .TF_GLM_PDL, .families = &.{"glm5_next"}, .class = .identical, .report_values = &.{"0"}, .effect = "Exact 0 turns off the forward's dependent launches", .evidence = "#2370" },
.{ .id = .TF_GLM_PROMPT_STEPS, .families = &.{"glm5_next"}, .class = .identical, .report_values = &.{"0"}, .effect = "Exact 0 runs rank 0's prompt passes whole, not in chunks", .evidence = "#2370" },
.{ .id = .TF_GLM_SHARED, .families = &.{"glm5_next"}, .class = .identical, .report_values = &.{"0"}, .effect = "Exact 0 runs each of rank 0's windows in its own forward", .evidence = "#2370" },
Expand Down
2 changes: 1 addition & 1 deletion zig/src/cuda/vit.zig
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ const Full = struct {

/// Full attention by head dim: Qwen3-ASR's 64, SigLIP2's 72, RADIO's 80 (full_kernel's bits), MOSS-Image's 128.
const fulls = [_]Full{
.{ .dim = 64, .warps = 8 },
.{ .dim = 64, .warps = 8 }, // Qwen3-ASR's audio tower and GLM-5.3-Flash's image tower
.{ .dim = 72, .warps = 8, .slots = 8 },
.{ .dim = 80, .warps = 8 },
.{ .dim = 128, .warps = 8 },
Expand Down
2 changes: 2 additions & 0 deletions zig/src/families/glm/cuda.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
pub const experts = @import("cuda_experts.zig");
pub const exl3 = @import("cuda_exl3.zig");
pub const vision = @import("cuda_vision.zig");
pub const vision_attn = @import("cuda_vision_attn.zig");
pub const mm = @import("cuda_mm.zig");
pub const vision_config = @import("vision_config.zig");
pub const image_core = @import("image_core.zig");
Expand Down Expand Up @@ -81,6 +82,7 @@ test {
_ = experts;
_ = exl3;
_ = vision;
_ = vision_attn;
_ = @import("vision_names.zig");
_ = mm;
_ = image_core;
Expand Down
2 changes: 2 additions & 0 deletions zig/src/families/glm/cuda_env_test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const Name = struct { name: [:0]const u8, default: bool = false };
const switches = [_]Name{
.{ .name = "TF_GLM_HOST_CACHE" },
.{ .name = "TF_GLM_VISION_HOST" },
.{ .name = "TF_GLM_VISION_FUSED" },
.{ .name = "TF_GLM_PROF" },
.{ .name = "TF_GLM_LINK_WAIT" },
.{ .name = "TF_GLM_PDL", .default = true },
Expand Down Expand Up @@ -129,6 +130,7 @@ test "GLM strict env: the actual readers and the open's check keep defaults, 0 a
const cases = [_]Case{
.{ .name = "TF_GLM_HOST_CACHE", .read = @import("cuda_snapshot_pages.zig").onHost },
.{ .name = "TF_GLM_VISION_HOST", .read = @import("cuda_vision_weights.zig").onHost },
.{ .name = "TF_GLM_VISION_FUSED", .read = @import("cuda_vision_attn.zig").wanted },
.{ .name = "TF_GLM_PROF", .read = @import("cuda_prof.zig").Prof.wanted },
.{ .name = "TF_GLM_WIDE_EXPERT_TILE", .read = @import("cuda_experts.zig").wideExpertTile },
};
Expand Down
Loading