merge 1.12.0: gemma4 E2B/E4B and Nemotron Bolt E4B arrive; the ref2va audio, rows and ABI work carried across

conv1d keeps both stride forms: upstream's causal codec downsample with cu_div (Fish Audio) and the port's explicit-pad non-causal one (the H3 audio encoder's), in libref, libavx and libr4d alike; the ABI takes upstream's 27 on top of the port's RadVideoGenBatch growth.
This commit is contained in:
gearwave00001 committed 2026-10-24 19:03:26 -05:00
commit 7c3b5ab7d5
285 files changed
+30500 -2898

No files matched your search

+7 -2
View File
@@ -544,8 +544,13 @@ int main(int argc, char** argv) {
/* A generator sizes its passes itself (RadArchProbe::gen_rows) and may refuse a smaller one;
* declare at that size unless the command line names one. */
if (!max_tok_given && probe.gen_rows > ctx.max_tok) ctx.max_tok = probe.gen_rows;
/* Likewise declare the encoders, the vision tower at the engine's default patch bound. */
if (rad_meta_geti(&meta.m, "vision_config.patch_size", 0) > 0) {
/* Likewise declare the encoders, the vision tower at the engine's default patch bound. A
* checkpoint states one either way round: a flat `vision_config.patch_size`, or only the
* per-width tables with `vision_config.image_size` above them (Unlimited-OCR's DeepEncoder,
* whose widths each carry their own patch_size). Either means its weights are here to map,
* and the plugin declares the encoder only when `max_enc_patches` leaves it a whole view. */
if (rad_meta_geti(&meta.m, "vision_config.patch_size", 0) > 0 ||
rad_meta_geti(&meta.m, "vision_config.image_size", 0) > 0) {
ctx.max_enc_patches = 16384;
if (probe.enc_merge > 1) ctx.max_enc_patches -= ctx.max_enc_patches % probe.enc_merge;
}