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
@@ -159,6 +159,10 @@ private:
|
||||
* time. Requests and unloads go to the table alone and never wait for a load's copy. */
|
||||
std::mutex lora_mu_;
|
||||
std::set<std::string> lora_targets_;
|
||||
/* --host-headroom-mib in bytes: the host RAM startup leaves free for the system when it
|
||||
* pins host memory (engine_bringup.cpp). 4 GiB suits a busy server; a small host wants to
|
||||
* leave less to make room for its tiers, which is why it is a flag and not a constant. */
|
||||
int64_t host_headroom_bytes() const { return cfg_.host_headroom_mib * ((int64_t)1 << 20); }
|
||||
/* Resolves --embedding-placement, --vision-tower-placement and --ngram-placement into Config
|
||||
* before the card is split (engine_bringup.cpp describes how auto chooses). `wfs` is every
|
||||
* rank's footprint, read for its towers. `host_late` is the pinned host memory startup
|
||||
|
||||
Reference in new issue
Block a user