diffusers-workflow 0.20.0__py3-none-any.whl → 0.21.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. {diffusers_workflow-0.20.0.dist-info → diffusers_workflow-0.21.0.dist-info}/METADATA +25 -6
  2. {diffusers_workflow-0.20.0.dist-info → diffusers_workflow-0.21.0.dist-info}/RECORD +168 -153
  3. dw/acceleration_warnings.py +83 -11
  4. dw/adapter_compatibility.py +26 -5
  5. dw/argument_warnings.py +53 -2
  6. dw/arguments.py +29 -18
  7. dw/audio_qc.py +37 -1
  8. dw/cost_scaling.py +223 -4
  9. dw/docs/ACCELERATION.md +9 -3
  10. dw/docs/ARCHITECTURE.md +36 -23
  11. dw/docs/ATTRIBUTIONS.md +101 -0
  12. dw/docs/DEPENDENCIES.md +2 -2
  13. dw/docs/LORAS.md +11 -1
  14. dw/docs/MCP.md +195 -12
  15. dw/docs/QUANTIZATION.md +2 -0
  16. dw/docs/RECIPES_24GB.md +49 -0
  17. dw/docs/RELEASING.md +246 -0
  18. dw/docs/SECURITY.md +20 -5
  19. dw/docs/SERVER.md +345 -29
  20. dw/docs/TASKS.md +227 -12
  21. dw/docs/WORKFLOW_GUIDE.md +228 -45
  22. dw/docs/WORKSPACES.md +156 -3
  23. dw/dsp.py +29 -0
  24. dw/elision.py +35 -0
  25. dw/events.py +4 -0
  26. dw/guides.py +107 -23
  27. dw/hold_audio.py +213 -35
  28. dw/host_memory_projection.py +1 -1
  29. dw/hub_cache.py +33 -3
  30. dw/ledger.py +1062 -0
  31. dw/ledger_views.py +274 -0
  32. dw/locations.py +34 -1
  33. dw/model_use.py +143 -0
  34. dw/pipeline_limits.py +230 -0
  35. dw/pipeline_ownership.py +93 -2
  36. dw/pipeline_processors/adapters.py +7 -1
  37. dw/pipeline_processors/chain.py +37 -89
  38. dw/pipeline_processors/chain_check.py +46 -0
  39. dw/pipeline_processors/chain_continuity.py +95 -3
  40. dw/pipeline_processors/chain_rules.py +2 -2
  41. dw/pipeline_processors/chain_spill.py +17 -0
  42. dw/pipeline_processors/components.py +35 -8
  43. dw/pipeline_processors/h3_guide_steps.py +188 -4
  44. dw/pipeline_processors/h3_guides.py +37 -6
  45. dw/pipeline_processors/h3_keystone_attention.py +805 -0
  46. dw/pipeline_processors/h3_lead_in.py +320 -0
  47. dw/pipeline_processors/h3_mask.py +4 -3
  48. dw/pipeline_processors/h3_mask_cells.py +105 -1
  49. dw/pipeline_processors/h3_mask_steps.py +1 -2
  50. dw/pipeline_processors/h3_rules.py +75 -101
  51. dw/pipeline_processors/h3_tiles.py +113 -3
  52. dw/pipeline_processors/h3_tst.py +23 -5
  53. dw/pipeline_processors/h3_windows.py +76 -38
  54. dw/pipeline_processors/mag_calibration.py +113 -18
  55. dw/pipeline_processors/modular_arguments.py +44 -0
  56. dw/pipeline_processors/pipeline.py +85 -33
  57. dw/pipeline_processors/pipeline_h3.py +121 -13
  58. dw/pipeline_processors/timing.py +42 -17
  59. dw/plan.py +146 -270
  60. dw/plan_downloads.py +397 -46
  61. dw/plan_pricing.py +285 -0
  62. dw/previous_results.py +43 -2
  63. dw/quantized_cache.py +23 -2
  64. dw/realize.py +13 -0
  65. dw/reference_limits.py +454 -1
  66. dw/references.py +43 -1
  67. dw/result.py +23 -1
  68. dw/runs.py +11 -3
  69. dw/scalar_result_validation.py +44 -2
  70. dw/security.py +44 -5
  71. dw/server/admission.py +216 -5
  72. dw/server/api_models.py +219 -103
  73. dw/server/api_models_base.py +7 -1
  74. dw/server/api_models_library.py +443 -5
  75. dw/server/app.py +15 -0
  76. dw/server/assess.py +2 -1
  77. dw/server/catalog_shape.py +25 -9
  78. dw/server/deps.py +51 -1
  79. dw/server/dispatch.py +173 -15
  80. dw/server/exports.py +2 -0
  81. dw/server/guides.py +1 -1
  82. dw/server/job_history.py +212 -29
  83. dw/server/job_record.py +52 -1
  84. dw/server/job_results.py +36 -0
  85. dw/server/jobs.py +165 -198
  86. dw/server/listening.py +32 -0
  87. dw/server/outputs.py +43 -0
  88. dw/server/reruns.py +278 -0
  89. dw/server/routes/__init__.py +2 -1
  90. dw/server/routes/gallery.py +221 -11
  91. dw/server/routes/jobs.py +164 -183
  92. dw/server/routes/library.py +7 -1
  93. dw/server/routes/loras.py +2 -1
  94. dw/server/routes/media.py +26 -172
  95. dw/server/routes/requests.py +292 -0
  96. dw/server/routes/system.py +13 -4
  97. dw/server/ui/assets/{cssMode-BLczhiwk.js → cssMode-DtsW7a9X.js} +1 -1
  98. dw/server/ui/assets/{editor.api-Chf6n9IF.js → editor.api-Cj_C5LOo.js} +1 -1
  99. dw/server/ui/assets/{freemarker2-CbNPcl_K.js → freemarker2-BtRP77Dg.js} +1 -1
  100. dw/server/ui/assets/{handlebars-CMHoTMdw.js → handlebars-sEWiFv4q.js} +1 -1
  101. dw/server/ui/assets/{html-B1rcKnLp.js → html-_yCn4jj0.js} +1 -1
  102. dw/server/ui/assets/{htmlMode-DQMxv4HN.js → htmlMode-Dm4QAXm1.js} +1 -1
  103. dw/server/ui/assets/index-Cl4ya-n0.css +1 -0
  104. dw/server/ui/assets/index-DQJJvjRP.js +76 -0
  105. dw/server/ui/assets/{javascript-DfusLKYZ.js → javascript-DcaON_pa.js} +1 -1
  106. dw/server/ui/assets/{jsonMode-C2b9weES.js → jsonMode-BjDsMi8E.js} +1 -1
  107. dw/server/ui/assets/{liquid-HdjOJvi4.js → liquid-B6rjYPei.js} +1 -1
  108. dw/server/ui/assets/{lspLanguageFeatures-7Wi9GY1o.js → lspLanguageFeatures-BD8KL5zl.js} +1 -1
  109. dw/server/ui/assets/{mdx-Z2wPSwti.js → mdx-CNdAO5aa.js} +1 -1
  110. dw/server/ui/assets/{monaco-CbuAR5gL.js → monaco-i0u2uGat.js} +4 -4
  111. dw/server/ui/assets/{python-w9shy2AN.js → python-CmBdxIzC.js} +1 -1
  112. dw/server/ui/assets/{razor-BwsMaofX.js → razor-BaT9SWQN.js} +1 -1
  113. dw/server/ui/assets/{tsMode-BFggAMO5.js → tsMode-DXUmVy7Z.js} +1 -1
  114. dw/server/ui/assets/{typescript-BTnSomSR.js → typescript-D5WXmYLr.js} +1 -1
  115. dw/server/ui/assets/{workers-BXJcizSR.js → workers-DR9yq9SP.js} +1 -1
  116. dw/server/ui/assets/{xml-VXA4fRwS.js → xml-Clzv8hPB.js} +1 -1
  117. dw/server/ui/assets/{yaml-BUBgM2SB.js → yaml-BIYGOS7S.js} +1 -1
  118. dw/server/ui/index.html +2 -2
  119. dw/server/updater.py +1 -1
  120. dw/shots.py +8 -1
  121. dw/sparse_attention.py +34 -17
  122. dw/step_cache.py +54 -0
  123. dw/step_passes.py +117 -0
  124. dw/step_value_checks.py +2 -23
  125. dw/task_domains.py +7 -0
  126. dw/task_problems.py +27 -4
  127. dw/tasks/assess.py +151 -137
  128. dw/tasks/audio_slice.py +2 -1
  129. dw/tasks/face_drift.py +67 -3
  130. dw/tasks/face_track.py +126 -89
  131. dw/tasks/h3_latent_upscale.py +14 -1
  132. dw/tasks/image_ops.py +67 -3
  133. dw/tasks/joins.py +64 -18
  134. dw/tasks/model_handlers.py +10 -2
  135. dw/tasks/person_track.py +779 -0
  136. dw/tasks/scene_cuts.py +313 -0
  137. dw/tasks/script_check.py +58 -0
  138. dw/tasks/segment.py +46 -40
  139. dw/tasks/task.py +2 -0
  140. dw/tasks/trim.py +280 -17
  141. dw/tasks/video_handlers.py +10 -0
  142. dw/trust.py +149 -8
  143. dw/type_references.py +35 -3
  144. dw/validation.py +103 -110
  145. dw/variable_constraints.py +49 -17
  146. dw/variables.py +12 -0
  147. dw/vendored/audio8_tts_model.py +12 -10
  148. dw/video_extensions.py +6 -0
  149. dw/vram_estimate.py +55 -12
  150. dw/worker.py +3 -0
  151. dw/workflow.py +2 -1
  152. dw/workflow_run.py +55 -118
  153. dw/workflow_schema.json +45 -9
  154. dw/workspace.py +52 -14
  155. dw_mcp/__main__.py +34 -4
  156. dw_mcp/catalog.py +5 -3
  157. dw_mcp/client.py +6 -2
  158. dw_mcp/diagnose.py +59 -3
  159. dw_mcp/ledger.py +384 -0
  160. dw_mcp/server.py +163 -24
  161. dw_mcp/tools_authoring.py +55 -4
  162. dw_mcp/tools_catalog.py +26 -13
  163. dw_mcp/tools_jobs.py +19 -11
  164. dw_mcp/tools_media.py +21 -30
  165. dw/server/ui/assets/index-CCklaHIx.css +0 -1
  166. dw/server/ui/assets/index-DVE-KyTo.js +0 -61
  167. {diffusers_workflow-0.20.0.dist-info → diffusers_workflow-0.21.0.dist-info}/WHEEL +0 -0
  168. {diffusers_workflow-0.20.0.dist-info → diffusers_workflow-0.21.0.dist-info}/entry_points.txt +0 -0
  169. {diffusers_workflow-0.20.0.dist-info → diffusers_workflow-0.21.0.dist-info}/licenses/LICENSE +0 -0
  170. {diffusers_workflow-0.20.0.dist-info → diffusers_workflow-0.21.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diffusers-workflow
3
- Version: 0.20.0
3
+ Version: 0.21.0
4
4
  Summary: Declarative workflow engine and web UI for Hugging Face Diffusers
5
5
  Author: dkackman
6
6
  License: Apache-2.0
@@ -15,9 +15,10 @@ Requires-Python: >=3.12
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: torch>=2.14.1
18
+ Requires-Dist: torch<2.15; sys_platform == "darwin"
18
19
  Requires-Dist: torchvision>=0.29.1
19
- Requires-Dist: diffusers>=0.42.0
20
- Requires-Dist: transformers>=5.19.0
20
+ Requires-Dist: diffusers>=0.43.0
21
+ Requires-Dist: transformers>=5.21
21
22
  Requires-Dist: accelerate>=1.15.0
22
23
  Requires-Dist: peft>=0.21.2
23
24
  Requires-Dist: safetensors>=0.8.0
@@ -124,7 +125,7 @@ taking over in the browser where that is quicker.
124
125
 
125
126
  | | Ready-made templates |
126
127
  |---|---|
127
- | **Images** | FLUX 3 Klein (text, edits, multi-reference, layout boxes), FLUX.1 / FLUX.2 / Krea, Qwen Image (and edit), Z-Image, SDXL and SD 1.5; ControlNet, IP-Adapter, LoRA, inpaint and outpaint |
128
+ | **Images** | FLUX 3 Klein (text, edits, multi-reference, layout boxes), MiniMax-H3-Image (text, multi-reference edits at up to ~16 MP), FLUX.1 / FLUX.2 / Krea, Qwen Image (and edit), Z-Image, SDXL and SD 1.5; ControlNet, IP-Adapter, LoRA, inpaint and outpaint |
128
129
  | **Video with sound** | MiniMax H3 (dialogue, multi-shot cuts, music videos, reference subjects and voices), LTX-2.5 (image-to-video, keyframes, 2x upscale, restore and colourise, alpha mattes), Kandinsky 6 |
129
130
  | **Music, speech, sound** | MiniMax Music 3 (sung lyrics or instrumental), Audio8 TTS voice cloning and MMS TTS, MMAudio sound effects from text or under a clip, Whisper transcription |
130
131
  | **Longer than one clip** | chained segments that hold the look and audio level across seams, repair of one bad segment in place, music and narration of any length, storyboards and timed animatics, cut-and-score assembly, and an OpenTimelineIO export that DaVinci Resolve opens as one clip per shot |
@@ -195,7 +196,7 @@ model cache and workspace with a native install on the same box. See
195
196
 
196
197
  ## Ask the agent
197
198
 
198
- Describe what you want. The agent has 65 tools covering the workflow catalog, the
199
+ Describe what you want. The agent has 68 tools covering the workflow catalog, the
199
200
  real diffusers pipeline signatures, the job queue, the gallery and the model cache,
200
201
  and it stays with a long render until it finishes:
201
202
 
@@ -233,6 +234,22 @@ One server holds several **workspaces**, each with its own workflows, assets and
233
234
  outputs. Two agents, or an agent and you in the browser, can share one GPU without
234
235
  saving over each other's work.
235
236
 
237
+ An ask of more than a couple of jobs gets a **request**: the agent writes its plan
238
+ into the workspace's ledger - the goal and the items it will make - links each job
239
+ to its item, and records which take it kept. The plan outlives the session. The
240
+ Requests page says where each request stands and what needs you, and shows each
241
+ item's result, takes and minutes spent; the notes you leave on an item, or on the
242
+ request, are read by the agent before it writes the plan again. A note can point at a
243
+ take or a file, and you can write it from the request page, a job page or the gallery. See [Requests](docs/WORKSPACES.md#requests).
244
+
245
+ With the **notes channel**, a note reaches the agent as you save it. `dw-mcp
246
+ --notes-channel` runs beside an open Claude Code session and tells it "the user
247
+ left this note on Shot 3, take 2, this file": the agent reads the plan, acts - a retake, then the cut
248
+ again - and the page shows what it did. Review on the page, direct in notes, and
249
+ the session does the rest. It rides on Claude Code's channels research preview, so
250
+ it needs an interactive session started with the development-channels flag, and
251
+ its contract may change. Setup: [the notes channel](docs/MCP.md#the-notes-channel).
252
+
236
253
  The tool reference, setup for other MCP hosts and the troubleshooting table are in
237
254
  [MCP Server](docs/MCP.md).
238
255
 
@@ -251,7 +268,9 @@ LoRA scale and press **Run**.
251
268
  graph of how data flows between steps. Click a step to see what it produced. The
252
269
  run's warnings sit above the graph, so a problem the agent missed, such as an
253
270
  audible level jump at a cut, is in front of you with the argument that fixes it.
254
- **Run again** repeats the job, and **New seed** gives you another take. Progress
271
+ **Run again** repeats the job, **New seed** gives you another take, and **Run
272
+ again with changes…** or a preset button (`tier: standard`) queues it with only
273
+ the variables you change - the rerun page says `changed: …`. Progress
255
274
  streams live for each denoising step, and a cancel stops the job cleanly at the
256
275
  next step.
257
276