feat(server): add recipe constraints and update generation workspace (#2217)

This commit is contained in:
leejet authored and GitHub committed 2026-10-26 01:01:43 +08:00
1 parent 012c7f8866
commit e41fbcf455
88 files changed
+339 -24

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ namespace MOSSImage {
ggml_build_forward_expand(ctx->graph, parts[i]);
}
}
x = ggml_concat(c, x, text, 1);
x = ggml_concat(c, x, text, 1);
for (int64_t i = 0; i < config.depth; ++i) {
if (std::find(skip.begin(), skip.end(), i) == skip.end()) {
x = std::dynamic_pointer_cast<Block>(blocks["layers." + std::to_string(i)])->forward(ctx, x, pe, parts);