From e8344bc84ec0f571e5c5aafffe7c914abe226bd6 Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 12 Feb 2026 12:10:40 +0100 Subject: CNN v2: Storage buffer complete - real weights exported - Export weights from epoch 70 checkpoint (3.2 KB binary) - Disable shader template generation (use manual cnn_v2_compute.wgsl) - Build successful with real weights - Ready for integration testing Storage buffer architecture complete: - Dynamic layer count support - ~0.3ms overhead vs constants (negligible) - Single shader, flexible configuration - Binary format: header + layer info + f16 weights --- training/export_cnn_v2_weights.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'training/export_cnn_v2_weights.py') diff --git a/training/export_cnn_v2_weights.py b/training/export_cnn_v2_weights.py index 05d4958..e3d1724 100755 --- a/training/export_cnn_v2_weights.py +++ b/training/export_cnn_v2_weights.py @@ -264,7 +264,8 @@ def main(): print("=== CNN v2 Weight Export ===\n") config = export_weights_binary(args.checkpoint, args.output_weights) print() - export_shader_template(config, args.output_shader) + # Shader is manually maintained in cnn_v2_compute.wgsl + # export_shader_template(config, args.output_shader) print("\nExport complete!") -- cgit v1.2.3