[diffusion] docs: add tuning guide for h3 on consumer-level gpu (#35816)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Mick
2026-08-22 23:48:40 +08:00
committed by GitHub
co-authored by Claude Opus 5
parent b98d472158
commit 7d22b7a875
4 changed files with 389 additions and 27 deletions
+10 -1
View File
@@ -272,7 +272,16 @@ for (const path of walk(CONFIGS)) {
if (!Array.isArray(errors) || errors.length) {
fail(where, `verifiedRecipes[${index}] fails topology validation: ${(errors || []).join("; ")}`);
}
validateResolved(selection, `verifiedRecipes[${index}]`, true);
// A recipe may carry `unverified: true`: it supplies the card's default
// shape without claiming a verification run, and must resolve that way.
if (recipe.unverified) {
const resolved = validateResolved(selection, `verifiedRecipes[${index}]`);
if (resolved && resolved.builder.verification?.serve === "verified") {
fail(where, `verifiedRecipes[${index}] is declared unverified but resolves as verified`);
}
} else {
validateResolved(selection, `verifiedRecipes[${index}]`, true);
}
}
// H3's architectural contract is important enough to pin directly: exact