Add static variables and optimization test matrices

This commit is contained in:
Morpheus
2026-09-23 09:04:14 +00:00
parent 7ff0b7547a
commit 910d0f2e12
15 changed files with 153 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
# T2I workflows
Use [`flux/`](flux/) or [`qwen/`](qwen/) for the best tested text-to-image baseline. Prompts, seeds, and dimensions are intended to be replaced per task; sampler, scheduler, CFG, and steps are the optimization controls.
Static variables are recorded in [`variables.json`](variables.json). The test plans live in each model README.
+15
View File
@@ -21,6 +21,21 @@ Files:
The included seed and prompt are a controlled baseline example. For reuse, replace the prompt, seed, and resolution; sampler, scheduler, steps, and CFG are the optimization controls.
## Planned optimization matrix
All rows are intentionally **Untested**. Keep the prompt, seed, and resolution from [`../variables.json`](../variables.json) fixed. Flux2Scheduler does not expose a selectable scheduler, so that value remains fixed.
| ID | CFG | Steps | Sampler | Scheduler | Tested? |
|---|---:|---:|---|---|---|
| F-T2I-01 baseline | 1.3 | 6 | euler_cfg_pp | Flux2Scheduler | No |
| F-T2I-02 | 1.3 | 4 | euler_cfg_pp | Flux2Scheduler | No |
| F-T2I-03 | 1.3 | 8 | euler_cfg_pp | Flux2Scheduler | No |
| F-T2I-04 | 1.3 | 6 | euler | Flux2Scheduler | No |
| F-T2I-05 | 1.3 | 6 | res_multistep | Flux2Scheduler | No |
| F-T2I-06 | 1.2 | 6 | euler_cfg_pp | Flux2Scheduler | No |
| F-T2I-07 | 1.4 | 6 | euler_cfg_pp | Flux2Scheduler | No |
| F-T2I-08 | 1.3 | 8 | res_multistep | Flux2Scheduler | No |
## Optional second pass
SeedVR2 3B FP8 produced a successful 2560×1440 output from this baseline. A 3840×2160 attempt ran out of the GPU's 8 GB VRAM. The SeedVR2 pass is therefore an optional export step, not part of the fast generation baseline.
+17
View File
@@ -18,6 +18,23 @@ Qwen Image 2.1 text-to-image workflow using the best tested sampler, scheduler,
For reuse, replace the positive and negative prompts, seed, and output dimensions. The final crop removes the white side bands produced by padding the square Qwen output.
## Planned optimization matrix
All rows are intentionally **Untested**. Keep the prompt, seed, and resolution from [`../variables.json`](../variables.json) fixed.
| ID | CFG | Steps | Sampler | Scheduler | Tested? |
|---|---:|---:|---|---|---|
| Q-T2I-01 baseline | 2.5 | 12 | euler_cfg_pp | simple | No |
| Q-T2I-02 | 2.5 | 20 | euler_cfg_pp | beta | No |
| Q-T2I-03 | 2.5 | 30 | euler_cfg_pp | beta | No |
| Q-T2I-04 | 2.5 | 40 | euler_cfg_pp | beta | No |
| Q-T2I-05 | 2.5 | 12 | euler | simple | No |
| Q-T2I-06 | 2.5 | 12 | res_multistep | beta | No |
| Q-T2I-07 | 2.0 | 20 | euler_cfg_pp | beta | No |
| Q-T2I-08 | 3.0 | 20 | euler_cfg_pp | beta | No |
| Q-T2I-09 | 2.5 | 20 | euler_cfg_pp | sgm_uniform | No |
| Q-T2I-10 | 2.5 | 20 | euler_cfg_pp | karras | No |
Files:
- workflow.json — API format
- ui-workflow.json — ComfyUI web UI format
+22
View File
@@ -0,0 +1,22 @@
{
"description": "Static variables for controlled T2I experiments. Prompt text remains in each model workflow and is referenced by node below.",
"base_images": [],
"workflows": {
"flux": {
"prompt_node": "4.text",
"negative_prompt_node": "5.text",
"seed_node": "9.noise_seed",
"seed": 20260920,
"resolution_nodes": ["8.width", "8.height", "10.width", "10.height"],
"resolution": [1920, 1080]
},
"qwen": {
"prompt_node": "5.prompt",
"negative_prompt_node": "5.negative_prompt",
"seed_node": "8.noise_seed",
"seed": 20260920,
"resolution_nodes": ["13.width", "13.height"],
"resolution": [1920, 1088]
}
}
}