Archived
--host-headroom-mib N: the RAM radiance leaves free for the system at startup becomes a flag -- kLockMargin's fixed 4 GiB suited a busy server, and a 30 GiB host paid it in dead RAM to no purpose: startup refuses a host pin unless available memory covers it with that much still free, and --checkpoint-slots auto's bound is priced with it; so when 1.7.0 began counting the checkpoint store against this check, configs that 1.6.0 ran refused to start and the fix cost a quarter of the prefix cache.
This commit is contained in:
1 parent
d37639ef71
commit
f10c8521cd
7 files changed
+57
-36
No files matched your search
@@ -743,6 +743,7 @@ struct Config {
|
||||
* always resolve to bf16 and only add a third name. */
|
||||
std::string kv_cache_dtype = "bf16";
|
||||
int64_t host_pool_mib = 0;
|
||||
int64_t host_headroom_mib = 4096; /* --host-headroom-mib: RAM left free for the system at startup */
|
||||
/* File tier for weights: what fits in neither the VRAM slab nor the pinned host pool is read
|
||||
* from the container with O_DIRECT ahead of the ops that read it (a scheduled unit by the
|
||||
* exact prefetch, a routed expert a routed layer at a time). Off by default because disk
|
||||
|
||||
Reference in new issue
Block a user