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
1 change: 1 addition & 0 deletions zig/src/families/qwen3_5/cuda_geometry.zig
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ test "fp8 caches take e4m3 rows and a scale each: 520 bytes a position and head
test {
_ = @import("cuda_quant_admission_test.zig");
_ = @import("cuda_modelopt_moe_test.zig");
_ = @import("cuda_modelopt_dense_admission_test.zig");
_ = @import("cuda_modelopt_experts.zig");
_ = @import("cuda_modelopt.zig");
_ = @import("cuda_exl3_admission_test.zig");
Expand Down
12 changes: 12 additions & 0 deletions zig/src/families/qwen3_5/cuda_modelopt_dense_admission_test.zig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//! The published dense ModelOpt NVFP4 config (nvidia/Qwen3.8-27B-NVFP4) parses for CUDA admission.
const std = @import("std");
const geometry = @import("cuda_geometry.zig");
const a = std.testing.allocator;

test "the published dense ModelOpt NVFP4 config parses with the modelopt kinds flag" {
const c = @embedFile("cuda_modelopt_nvfp4_config.json");
const g = try geometry.parse(a, c);
try std.testing.expect(g.kinds.modelopt);
try std.testing.expect(!g.bf16);
try std.testing.expect(!g.exl3);
}
Loading
Loading