Archived
arch/common: calibrate in layer ranges (RADIANCE_CALIB_LAYERS)
Nemotron-3.5-Bolt's per-expert Hessians take 169 GiB at once. RADIANCE_CALIB_LAYERS names the layers a run taps, so several runs over disjoint ranges share one directory, and a layer's host sums are released once written.
This commit is contained in:
1 parent
c9c3a98894
commit
6f9c084ac6
2 files changed
+34
No files matched your search
@@ -1833,6 +1833,9 @@ inline void MoeFP8::pass(RadCtx* c_, int64_t T, int64_t r0, int64_t rows, bool o
|
||||
(!calib_dne_failed &&
|
||||
calib_dne.write(gram_dn_stem, c.expert_base, gram_domain,
|
||||
rad_rank(c_)));
|
||||
/* Written: the host sums are done with (a layer's can be gigabytes). */
|
||||
calib_dne.acc = {};
|
||||
calib_dne.rows = {};
|
||||
calib_done = true;
|
||||
if (layer == 0)
|
||||
std::fprintf(stderr, "radiance: calibration wrote layer Hessians after %lld "
|
||||
|
||||
Reference in new issue
Block a user