batch-mtp: not with helper expert caches on a layer split (not run); docs say how it meets --batch-groups

The 0.1.41 default --batch-groups auto, the pipelined path's lack of slot drafts and the helper-cache refusal are
written down in docs/BATCHING.md (the limits list and the --batch-mtp paragraph).
This commit is contained in:
noon-at-cgn authored and Niko1221 committed 2026-10-09 15:16:16 +02:00
1 parent cb6c549c8a
commit f90bec6f44
2 files changed
+15 -9

No files matched your search

+3
View File
@@ -4143,6 +4143,9 @@ int main(int argc, char** argv) {
// the groups it would run with (the default gives way to it: one group; a number or auto given pipelines)
if (why == nullptr && !stages.empty() && batch_groups_for(true).groups > 1)
why = "it does not combine with --batch-groups (pipelined slot groups) yet";
// (a layer split with helper-GPU expert caches or --remote-expert-opt has not been run with slot drafters)
if (why == nullptr && !stages.empty() && (remote_caches || o.remote_expert_opt))
why = "it is not run with helper expert caches on a layer split";
if (why != nullptr) {
std::fprintf(stderr, "strata generate: WARNING: --batch-mtp is off: %s\n", why);
batch_mtp = false;