This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/tests
Boris Manojlovic fd40bb430c nomicbert: architecture plugin for nomic-embed-text-v2-moe
Post-norm encoder with fused Wqkv and biases, NeoX rotary, non-causal attention, a dense MLP on even layers and a top-2 of 8 expert MLP on odd layers, mean pooling into the pooled f32 buffer for /v1/embeddings. The checkpoint is f32; data/recipes/nomic-embed-v2-moe-bf16.recipe casts the linears, the token embedding and the token-type table to bf16 (the device kernels read bf16), norms and biases stay f32. The checkpoint's shared experts.bias is not applied: against a llama.cpp run of the same checkpoint at Q8_0 the variant without it matches best (cosine 0.9994; the others 0.9990 to 0.9993), and llama.cpp's own nomic-bert-moe does not carry it. Verified on a gfx1201 card and on libavx/libref against a pure-float32 torch reference: mean cosine 0.99995, min 0.99983 over 20 texts. Unit tests declare and lint a cut-down model. Not verified: inputs above 512 tokens against a reference on the device, other quantisations.
2026-10-27 20:58:47 +01:00
..
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-27 16:47:35 +01:00
2026-10-24 13:12:28 +02:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-10-23 11:57:52 +02:00
2026-10-24 13:12:28 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-24 13:12:28 +02:00
2026-10-16 18:25:18 +02:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-24 13:12:28 +02:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-24 13:12:28 +02:00
2026-10-27 16:47:35 +01:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00