session files on 0.1.39: refused with --batch (#465 parallel requests: the server answers 501, the engine SERR); the STRATA_ARENA_MMAP arena records its experts.bin as a model input; docs
This commit is contained in:
1 parent
1263ccdc91
commit
ffaf958eaa
5 files changed
+20
-2
No files matched your search
@@ -3220,6 +3220,7 @@ bool ArenaExpertSource::open(const std::string& pack_dir, int64_t n_layers, int6
|
||||
note_ = "mapped read-only from " + path + " (STRATA_ARENA_MMAP: not locked, not pinned)";
|
||||
gib_per_s_ = 0.0;
|
||||
load_seconds_ = load_read_s_ = load_copy_s_ = 0.0;
|
||||
record_inputs(path, gguf_, lay, from_gguf); // session files: the mapped experts.bin is a model input
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7622,6 +7622,7 @@ int main(int argc, char** argv) {
|
||||
if (path.empty()) { refuse("missing path"); continue; }
|
||||
if (!stages.empty() || multi_gpu) { refuse("session files do not support --layer-split"); continue; }
|
||||
if (o.peer_device >= 1) { refuse("session files do not support --peer-device"); continue; }
|
||||
if (o.batch > 0) { refuse("session files do not support --batch (parallel requests)"); continue; }
|
||||
if (o.prompt_cache <= 0) { refuse("session files need --prompt-cache > 0"); continue; }
|
||||
if (!ver.wait_commit(err)) {
|
||||
std::printf("ERR %s\n", err.c_str());
|
||||
|
||||
Reference in new issue
Block a user