Repository navigation
Give VIP draws a third picture from MOSS-Image - #266
Merged
Merged
Conversation
VIP draws now run FLUX.3, Krea 2 and MOSS-Image SFT (draw-api moss_generate on the AI Farm GPU1 worker) side by side. MOSS reads a Qwen3.5 encoder trained on its recaptioner's long captions, so its slot gets its own optimizer rules and example: one cohesive English prose paragraph of 100-300 words that opens with the medium and the composition, places things with spatial words and quotes visible text exactly with its layout, without tag lists or quality tags. Nested parallel generators now hand each child its own slice of the optimized prompts, so the third slot gets the third variant instead of the first. Migration 209 adds the user-facing workflow image_generation_moss (lane priority 1, retry wall 120 s, because a MOSS draw takes 40 s and the first after a worker load about 90 s), the model moss-image-sft-heretic in the GPU1 media pool and FLUX.3 as its fallback. Rows are created only when the aifarm-draw provider, the pool and the FLUX.3 model exist, and carry a marker that the down migration removes.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ParallelImageGenerator(ParallelImageGenerator(flux, krea), moss). The MOSS slot is workflowimage_generation_mosson draw-apimoss_generate(iamwavecut/aifarm-draw#36, GPU1).ImageModel::Moss(prompt targetmoss, display name "MOSS-Image", 4000-character limit) with its own optimizer rules and example: one cohesive English prose paragraph of 100-300 words that opens with the medium and composition, uses spatial words, quotes visible text exactly with its layout, and carries no tag lists or quality tags. This follows the MOSS-Image USERGUIDE and its prompt-enhancer skill.image_generation_request_for_prompt_slots), so the third slot gets the third variant.image_generation_moss(image, full routing, 3 hops, retry wall 120 s, lane priority 1), modelmoss-image-sft-hereticin poolaifarm-gpu1-media(prompt_target: moss), primary MOSS and fallback FLUX.3 assignments. Rows are created only when the aifarm-draw provider, the pool and the FLUX.3 model exist; each carriescreated_by_moss_image_slot_v1, and the down migration removes exactly those rows.Timing
A MOSS draw takes 40 s at 30 steps on the GPU1 RTX 4060 Ti; the first one after a worker load also builds the fused caches. The retry wall is 120 s so the FLUX.3 fallback can still start after a late MOSS failure.
Checks
cargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warnings: clean.cargo test -p openplotva-media -p openplotva-app: 1419 + 48 passed, includingmoss_slots_get_their_own_rules_and_exampleandnested_parallel_generators_hand_each_slot_its_own_prompt.Compatibility
created_by_moss_image_slot_v1, then the model and the workflow if nothing else references them; rollback leaves operator-made rows in place.Prompt shape
prompts/image/optimizer.promptgains one{{#if moss}}block after the Krea rules; the role markers, the existing slot blocks and the output contract are unchanged, and the template renders without the block when the VIP slots do not include MOSS.