Route prior: the 0.2.7 default on a discrete NVIDIA card of 13 GiB or less drops from 2.0 to 1.5 (owner decision 2026-10-26). On the RTX 3060 12 GB (IQ3_XXS) the copy and code check found real defects at 2.0 and none in 19 tasks at 1.5 or 1.0; 1.5 keeps story +15% and code +37% against off. The value lives in strata::kRoutePriorSmallCard (sm120_series.hpp); scope (CUDA discrete <= 13 GiB), STRATA_ROUTE_PRIOR=0, an explicit value and STRATA_DEFAULTS=026 are unchanged. arch_defaults_test, verify.cpp comments, DETAILS.md and the 0.2.7 release notes follow.
This commit is contained in:
1 parent
b1bea3a17c
commit
0afaaa399e
5 files changed
+34
-21
No files matched your search
@@ -293,8 +293,8 @@ int main() {
|
||||
using namespace strata;
|
||||
CHECK(is_026_token("026") && is_026_token("0.2.6") && is_026_token("v0.2.6"));
|
||||
CHECK(!is_026_token(nullptr) && !is_026_token("") && !is_026_token("0") && !is_026_token("027"));
|
||||
// residency-biased routing: 0 under 026 on the card that gets 2.0 otherwise
|
||||
CHECK(route_prior_default(false, false, 12.0 * GiB, false) == 2.0f);
|
||||
// residency-biased routing: 0 under 026 on the card that gets 1.5 otherwise
|
||||
CHECK(route_prior_default(false, false, 12.0 * GiB, false) == 1.5f);
|
||||
CHECK(route_prior_default(false, false, 12.0 * GiB, true) == 0.0f);
|
||||
CHECK(route_prior_default(false, false, 8.0 * GiB, true) == 0.0f);
|
||||
// the wide HC up read: on for a 12.0 card on CUDA, off under 026, off in HIP, off on sm_86 / sm_121
|
||||
@@ -340,11 +340,12 @@ int main() {
|
||||
{
|
||||
const double GiB = 1073741824.0;
|
||||
using namespace strata;
|
||||
// residency-biased routing: 2.0 on a discrete CUDA card of 13 GiB or less, nothing else
|
||||
CHECK(route_prior_default(false, false, 11.9 * GiB) == 2.0f); // RTX 3060 / 5070 12 GB
|
||||
CHECK(route_prior_default(false, false, 12.0 * GiB) == 2.0f);
|
||||
CHECK(route_prior_default(false, false, 8.0 * GiB) == 2.0f); // an 8 GB card
|
||||
CHECK(route_prior_default(false, false, 13.0 * GiB) == 2.0f); // the boundary is inclusive
|
||||
// residency-biased routing: 1.5 on a discrete CUDA card of 13 GiB or less, nothing else
|
||||
CHECK(route_prior_default(false, false, 11.9 * GiB) == 1.5f); // RTX 3060 / 5070 12 GB
|
||||
CHECK(route_prior_default(false, false, 12.0 * GiB) == 1.5f);
|
||||
CHECK(route_prior_default(false, false, 8.0 * GiB) == 1.5f); // an 8 GB card
|
||||
CHECK(route_prior_default(false, false, 13.0 * GiB) == 1.5f); // the boundary is inclusive
|
||||
CHECK(route_prior_default(false, false, 12.0 * GiB) == strata::kRoutePriorSmallCard); // the one place the value lives (1.5 by the owner decision of 2026-10-26; 2.0 before)
|
||||
CHECK(route_prior_default(false, false, 13.5 * GiB) == 0.0f);
|
||||
CHECK(route_prior_default(false, false, 15.7 * GiB) == 0.0f); // 16 GB card: z440's A4000, P100
|
||||
CHECK(route_prior_default(false, false, 72.0 * GiB) == 0.0f); // RTX PRO 5000
|
||||
|
||||
+6
-4
@@ -206,8 +206,10 @@ inline int g_side_mixer() {
|
||||
#endif
|
||||
}
|
||||
// STRATA_ROUTE_PRIOR=lambda: residency-biased routing (the top-10 picked again with a logit bonus for the resident
|
||||
// experts; route_prior.cu). Unset: 2.0 on a DISCRETE NVIDIA card of 13 GiB or less (CUDA builds only), 0 elsewhere.
|
||||
// Measured on an RTX 3060 12 GB only (IQ3_XXS, 5 interleaved pairs: +37.6% / +35.2% decode); the owner approved the
|
||||
// experts; route_prior.cu). Unset: 1.5 (strata::kRoutePriorSmallCard, sm120_series.hpp; it was 2.0 until the owner decision of
|
||||
// 2026-10-26: defects in the copy and code check at 2.0, none in 19 tasks at 1.5) on a DISCRETE NVIDIA card of 13 GiB or less
|
||||
// (CUDA builds only), 0 elsewhere.
|
||||
// Measured on an RTX 3060 12 GB only (IQ3_XXS, 5 interleaved pairs at 2.0: +37.6% / +35.2% decode; at 1.5 story +15%, code +37%); the owner approved the
|
||||
// quality trade for 12 GB cards (it changes which experts run). Not a default in a HIP build (a 12 GB Radeon, or a
|
||||
// Strix Halo whose reported VRAM is a small carve-out of unified memory: unmeasured there) and not on an integrated GPU.
|
||||
// STRATA_ROUTE_PRIOR=0 turns it off, any other value wins everywhere. The default is read from the device properties
|
||||
@@ -2002,8 +2004,8 @@ bool Verifier::record_window(int T, cudaStream_t cs, std::string& err) {
|
||||
if (!moe_route(wt, g, l, K, mb, mixed_ + t * N, cs, err, nullptr)) return false;
|
||||
}
|
||||
// STRATA_ROUTE_PRIOR=lambda (changes the output): the top-10 picked again with a logit bonus for the resident
|
||||
// experts; the weights stay the router's (route_prior.cu). The default is g_route_prior() above: 2.0 on a
|
||||
// discrete CUDA card of 13 GiB or less, off elsewhere (measured on an RTX 3060 12 GB: story +37.6%, code +35.2%;
|
||||
// experts; the weights stay the router's (route_prior.cu). The default is g_route_prior() above: 1.5 on a
|
||||
// discrete CUDA card of 13 GiB or less, off elsewhere (measured on an RTX 3060 12 GB at 2.0: story +37.6%, code +35.2%;
|
||||
// on an RTX PRO 5000 72 GB -1.9% / -0.5%, on 2x RTX A4000 -4.2% / +11.0%, hence not a default on bigger cards).
|
||||
const float route_prior = g_route_prior();
|
||||
if (route_prior > 0.0f && NE == 512 && K == 10 && hits_.d_res != nullptr)
|
||||
|
||||
Reference in new issue
Block a user