Archived
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:
commit
7c3b5ab7d5
285 files changed
+30500
-2898
No files matched your search
@@ -136,7 +136,6 @@ const OpdTol g_opd_tol[] = {
|
||||
|
||||
} /* namespace */
|
||||
|
||||
const std::vector<TolRow>& tolerance_table() { return g_tol; }
|
||||
|
||||
const char* activation_dtype(const Geometry& g) {
|
||||
for (const char* k : { "dtype", "q_dtype", "kv_dtype" })
|
||||
|
||||
@@ -62,9 +62,6 @@ const char* activation_dtype(const Geometry& g);
|
||||
/* The tolerance for output `operand` of `op` at `g`. Per-operand overrides come first. */
|
||||
TolPick tolerance_for(const std::string& op, const Geometry& g, const char* operand);
|
||||
|
||||
/* The rows themselves, for a test that walks every op of a fixture through them. */
|
||||
const std::vector<TolRow>& tolerance_table();
|
||||
|
||||
/* ================================================================== index outputs
|
||||
*
|
||||
* A token id, an expert id or a top-k index is right or wrong, so it is compared exactly. A rel_l2
|
||||
|
||||
@@ -305,7 +305,6 @@ void DeviceTimer::setup() {
|
||||
rad_stream_sync(s_) < 0))
|
||||
fail = std::string("the keep-alive source could not be written: ") + rad_dev_last_error();
|
||||
if (!fail.empty()) {
|
||||
setup_failed_ = true;
|
||||
withheld_ = fail;
|
||||
header_.push_back("timing: " + fail);
|
||||
return;
|
||||
|
||||
@@ -131,7 +131,7 @@ private:
|
||||
int64_t next_id_ = 0;
|
||||
std::map<int64_t, Timing> results_;
|
||||
|
||||
bool set_up_ = false, setup_failed_ = false;
|
||||
bool set_up_ = false;
|
||||
std::string withheld_;
|
||||
std::vector<std::string> header_;
|
||||
int64_t footprint_ = 0; /* 0 in warm timing */
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user