Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
Merge remote-tracking branch 'origin/main' into feat/minimax-h3-ref2va-recognition
Lincoln Stein7e563997d5dd
diff --cc invokeai/frontend/webv2/src/features/video/core/videoPolicies.tsindex ba5e068479,fc4a476cdd..4473e7bfc8--- a/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts+++ b/invokeai/frontend/webv2/src/features/video/core/videoPolicies.ts@@@ -492,10 -536,12 +540,13 @@@ const MINIMAX_H3_REF2V_PATTERN = /(?:^|* carry no dedicated taxonomy, so this is a name heuristic: a delimited* "turbo" token, preferring names that also name the model family, with a* deterministic tie-break — a user's own "Turbo …" style LoRA loses to the- * real repack whenever one is installed.+ * real repack whenever one is installed. Ref2VA-trained turbo LoRAs are+ * excluded: the FL2VA accelerator must not pick them.*/- export const findMiniMaxH3TurboLora = (models: readonly ModelConfig[]): LoraModelConfig | null => {+ export const findMiniMaxH3TurboLora = (+ models: readonly ModelConfig[],+ { requireFamilyName = false }: FindAcceleratorLoraOptions = {}+ ): LoraModelConfig | null => {const score = (model: LoraModelConfig): number => (MINIMAX_H3_NAME_PATTERN.test(model.name) ? 0 : 1);return (@@@ -505,7 -551,7 +556,8 @@@isLoraModelConfig(model) &&model.base === 'minimax-h3' &&TURBO_PATTERN.test(model.name) &&- !MINIMAX_H3_REF2V_PATTERN.test(model.name)++ !MINIMAX_H3_REF2V_PATTERN.test(model.name) &&+ (!requireFamilyName || MINIMAX_H3_NAME_PATTERN.test(model.name))).sort((a, b) => score(a) - score(b) || a.name.localeCompare(b.name))[0] ?? null);