Merge f-141-amdintel: AMD and Intel work, watchdog file-tier tolerance, ports
# Conflicts: # bench/results/COMMUNITY.md
This commit is contained in:
commit
a00d889383
17 files changed
+862
-22
No files matched your search
@@ -2709,6 +2709,17 @@ bool FileExpertSource::pin_cache_complement(
|
||||
"too%s\n", (long long) complement_lent_slots_, (long long) (n_slots - lend_from_slot),
|
||||
complement_lent_slots_ < n_slots - lend_from_slot
|
||||
? " (the others are read from the file when lent: not enough RAM for them)" : "");
|
||||
if (lend && complement_lent_slots_ < n_slots - lend_from_slot) {
|
||||
// #1389: below full coverage the uncovered experts are read from the pack during a long prompt (a 74K prompt
|
||||
// routes through nearly all experts, so the misses repeat). The reporter measured 18% uncovered = -26% prompt
|
||||
// speed on a gfx1100; short prompts barely touch them. A warning, not a refusal.
|
||||
const long long lendable = (long long) (n_slots - lend_from_slot);
|
||||
const long long missing = lendable - (long long) complement_lent_slots_;
|
||||
std::fprintf(stderr, "FileExpertSource: WARNING: %lld of %lld lendable slots (%.0f%%) will read their experts from the pack "
|
||||
"during a long prompt; expect a slower prompt read on 50K+ token prompts (one measurement: 18%% uncovered "
|
||||
"cost 26%%). Free RAM or lower STRATA_RESIDENT_HEADROOM_GIB (now the RAM left free at start) and restart; "
|
||||
"the line above should read N of N.\n", missing, lendable, 100.0 * (double) missing / (double) std::max<long long>(1, lendable));
|
||||
}
|
||||
if (!additional_gpu_pairs.empty()) {
|
||||
std::fprintf(stderr, "FileExpertSource: %zu verified additional-GPU experts remain on the mmap fallback\n",
|
||||
additional_gpu_pairs.size());
|
||||
|
||||
Reference in new issue
Block a user