diffusers-workflow 0.17.0__py3-none-any.whl → 0.18.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 (43) hide show
  1. {diffusers_workflow-0.17.0.dist-info → diffusers_workflow-0.18.0.dist-info}/METADATA +17 -1
  2. {diffusers_workflow-0.17.0.dist-info → diffusers_workflow-0.18.0.dist-info}/RECORD +41 -39
  3. dw/arguments.py +1 -0
  4. dw/docs/DEPENDENCIES.md +6 -0
  5. dw/docs/DOCKER.md +143 -0
  6. dw/docs/RELEASING.md +94 -0
  7. dw/docs/REMOTE.md +3 -1
  8. dw/docs/TASKS.md +81 -0
  9. dw/server/ui/assets/{cssMode-BvFOC5nO.js → cssMode-D2H9Q5PN.js} +1 -1
  10. dw/server/ui/assets/{editor.api-ChcCMXXR.js → editor.api-HGNf22Se.js} +1 -1
  11. dw/server/ui/assets/{freemarker2-DT2q5NS2.js → freemarker2-DpThgaih.js} +1 -1
  12. dw/server/ui/assets/{handlebars-kaJu_3a1.js → handlebars-C_CfXo2L.js} +1 -1
  13. dw/server/ui/assets/{html-BsNsYnSX.js → html-vOrmT26a.js} +1 -1
  14. dw/server/ui/assets/{htmlMode-BcQxv5VO.js → htmlMode-B3_tP7qO.js} +1 -1
  15. dw/server/ui/assets/index-B4g6-wf0.css +1 -0
  16. dw/server/ui/assets/index-iWOpaYpw.js +60 -0
  17. dw/server/ui/assets/{javascript-CEdXynRF.js → javascript-BQtYc0R4.js} +1 -1
  18. dw/server/ui/assets/{jsonMode-hbOYEMCP.js → jsonMode-coryFZSr.js} +1 -1
  19. dw/server/ui/assets/{liquid-JLSoiOSA.js → liquid-CyA_P3Or.js} +1 -1
  20. dw/server/ui/assets/{lspLanguageFeatures-BOyNtxH5.js → lspLanguageFeatures-D0AVk7gi.js} +1 -1
  21. dw/server/ui/assets/{mdx-sDDXTu9v.js → mdx-CfQ3hrJU.js} +1 -1
  22. dw/server/ui/assets/{monaco-1MuWdUz9.js → monaco-DDH4aAZp.js} +4 -4
  23. dw/server/ui/assets/{python-FwMP_5s9.js → python-CuiAPJvH.js} +1 -1
  24. dw/server/ui/assets/{razor-CHr8DUwq.js → razor-BlOIBjYU.js} +1 -1
  25. dw/server/ui/assets/{tsMode-DMRBdzCs.js → tsMode-B6QHESoA.js} +1 -1
  26. dw/server/ui/assets/{typescript-DX26K2Zt.js → typescript-1upiba6z.js} +1 -1
  27. dw/server/ui/assets/{workers-C00WfVNJ.js → workers-CUVcDZni.js} +1 -1
  28. dw/server/ui/assets/{xml-5-4XmnnO.js → xml-Cq2Ppp0D.js} +1 -1
  29. dw/server/ui/assets/{yaml-DjHDC-oK.js → yaml-C14c6b0-.js} +1 -1
  30. dw/server/ui/index.html +2 -2
  31. dw/server/updater.py +5 -2
  32. dw/task_problems.py +136 -1
  33. dw/tasks/face_drift.py +299 -0
  34. dw/tasks/face_track.py +12 -3
  35. dw/tasks/image_utils.py +4 -3
  36. dw/tasks/video_handlers.py +77 -0
  37. dw/tasks/video_utils.py +98 -1
  38. dw/server/ui/assets/index-Bm_jBlG4.css +0 -1
  39. dw/server/ui/assets/index-CN0qvKxj.js +0 -65
  40. {diffusers_workflow-0.17.0.dist-info → diffusers_workflow-0.18.0.dist-info}/WHEEL +0 -0
  41. {diffusers_workflow-0.17.0.dist-info → diffusers_workflow-0.18.0.dist-info}/entry_points.txt +0 -0
  42. {diffusers_workflow-0.17.0.dist-info → diffusers_workflow-0.18.0.dist-info}/licenses/LICENSE +0 -0
  43. {diffusers_workflow-0.17.0.dist-info → diffusers_workflow-0.18.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.17.0
3
+ Version: 0.18.0
4
4
  Summary: Declarative workflow engine and web UI for Hugging Face Diffusers
5
5
  Author: dkackman
6
6
  License: Apache-2.0
@@ -119,6 +119,21 @@ source ./activate
119
119
  `python -m dw.test` runs a small built-in workflow end to end - it downloads
120
120
  SD 1.5 (a few GB) and generates one image on whichever accelerator was found.
121
121
 
122
+ **Or run it in Docker** (Linux with an NVIDIA GPU). The image
123
+ [`dkackman/diffusers-workflow`](https://hub.docker.com/r/dkackman/diffusers-workflow)
124
+ has torch, the engine and the web UI built in, and it shares the model cache
125
+ and workspace with a native install on the same box. diffusers itself lives
126
+ on a volume, so it can follow GitHub main. That makes step 2 a container:
127
+
128
+ ```bash
129
+ bash docker/init-env.sh
130
+ docker compose -f docker/compose.yaml up -d --build
131
+ docker compose -f docker/compose.yaml logs -f # wait for the server to start
132
+ docker compose -f docker/compose.yaml exec dw python /opt/dw/entrypoint.py login-url # the login link
133
+ ```
134
+
135
+ Setup, data sharing and updates are in [docs/DOCKER.md](docs/DOCKER.md).
136
+
122
137
  **2. Start the engine.** Leave it running; everything else talks to it.
123
138
 
124
139
  ```bash
@@ -310,6 +325,7 @@ frame interpolation and more.
310
325
  - [MCP Server](docs/MCP.md) — The agent tool surface (Claude Code, Claude Desktop)
311
326
  - [Server & Web UI](docs/SERVER.md) — The web UI, jobs API, and introspection service
312
327
  - [Remote GPU server](docs/REMOTE.md) — Using the server, UI and MCP from another machine
328
+ - [Docker](docs/DOCKER.md) — The server in a container on a Linux NVIDIA box, sharing data with a native install
313
329
  - [Workspaces](docs/WORKSPACES.md) — Where your content lives, run directories, and several workspaces on one server
314
330
  - [Workflow Guide](docs/WORKFLOW_GUIDE.md) — JSON structure, variables, steps, data flow
315
331
  - [Quantization](docs/QUANTIZATION.md) — BitsAndBytes, TorchAO, GGUF, SDNQ
@@ -1,10 +1,10 @@
1
- diffusers_workflow-0.17.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1
+ diffusers_workflow-0.18.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
2
  dw/__init__.py,sha256=Om-wi4Z0wzNRgDB_bbdpI6zqxsaI-m2AtIkgBJUPUgU,19965
3
3
  dw/acceleration_warnings.py,sha256=-ArNzqsREVUR9SkfhRRjc3k3Q7jsyhCSUbBeOJj-n5M,12841
4
4
  dw/adapter_compatibility.py,sha256=s0ZduEFnZcSu2dGvvxmxu8hiQj_AkU4hCo7DeWxdbr8,16384
5
5
  dw/argument_media.py,sha256=693B9D-cytit_TtA_g6a8ZY8sm2SXbtlKe22rlf43pU,15133
6
6
  dw/argument_warnings.py,sha256=Kwy-gicCXOnsAEs_08p7X7g-HEjfzukVkP6qQFRHSak,10457
7
- dw/arguments.py,sha256=xArEoM5w7U5-als9DsoQfLToDTSUZ1oOuMg_0R2oeZw,40038
7
+ dw/arguments.py,sha256=5uYArBhLB6gL0dJS6NTlOz3M-6JuTDFV3PdPh05yORI,40068
8
8
  dw/assessment_rules.py,sha256=02NXqw7BNBEpKiVUnszCBhAvxnnShIzzOz2JkZIt9lA,7510
9
9
  dw/assets.py,sha256=NT9RVK2Pi4Rs4r1sDru1QCEqZXqzr5YAtsiDG1TYa28,5583
10
10
  dw/audio_qc.py,sha256=3aW5fnI5L7Bxaueo1tjjH6DIVYxdiPlfGxaN1xe4afQ,19832
@@ -74,7 +74,7 @@ dw/step_cache.py,sha256=knS_FgaYolQBRRUD7bgjAEPoFoH6djkBsZXEHSmJu4o,35413
74
74
  dw/step_value_checks.py,sha256=FMsPjLFgv4gwjLG8SLQ31qbszZthYP8tZmjqqJ-9XMI,16961
75
75
  dw/subfolders.py,sha256=ZRRxMhHk1Yha9yt_5C_kJfe1YBWJYRba5n2w6Nx30xw,3738
76
76
  dw/task_domains.py,sha256=xQ9hnPtXSey76AyKquIQWw-ULqwRihjD48-rulh0C7E,37301
77
- dw/task_problems.py,sha256=3EwbeWj-GYfmYh6U9oCYiDRgTVZX6R9i_LMHFviidRs,26861
77
+ dw/task_problems.py,sha256=jY3NISdYWtDPHlqC8cvuExysExgGSuqtpd8WJab5iw8,31933
78
78
  dw/test.py,sha256=P6JkCw1OjVh-xY_kS-STGlkEHpN9riToXV7A20WX5MA,582
79
79
  dw/trust.py,sha256=ovSBIHvf2UA5fEtjQh_N2bbBstfDQjc1EwKylpp-Qkc,17321
80
80
  dw/type_helpers.py,sha256=u9r60J-Sc_X18nS_IZadSyOQGk3NmmSYM4FgYkpMaTY,10036
@@ -103,19 +103,20 @@ dw/docs/ACCELERATION.md,sha256=HWKoOwbMBcdCUQG1XHzRKHBD-0BVrMpy6_msW15wirg,34544
103
103
  dw/docs/AGENT_LOOP.md,sha256=rMb_c_r2ucsB7djwtQdp9_VVRagvhevWo-Iep7emmS8,4729
104
104
  dw/docs/ARCHITECTURE.md,sha256=bOf2KcLYV7dA9b2Wtu2mi7s0IDmz9ZkP-nYt6kH6vgI,96900
105
105
  dw/docs/ATTRIBUTIONS.md,sha256=Gn2RRm2UT52CMdLdOSNC7jpBFBC_LU2IXd_E95iwBUY,10130
106
- dw/docs/DEPENDENCIES.md,sha256=dpt4Olepf65pNa9bHGk9sc_w9SBT6cYhAfVQytq-RG8,4746
106
+ dw/docs/DEPENDENCIES.md,sha256=9rRceLLL8oKQTsGmSS-iwMgZgheGUfgI-Qfp5wLsyq8,4936
107
+ dw/docs/DOCKER.md,sha256=zWSd6gVeAxWdNt5D8dIQSWsZngVJrNwaffzxyv-tcLQ,7028
107
108
  dw/docs/IP_ADAPTER.md,sha256=AAHaUIfbnOojHfT0noIeypbhdYPluR7sbZeVn5FpbjU,3730
108
109
  dw/docs/LORAS.md,sha256=3Kh71Zig2TdNq9VnuYCkyZLhfAa4grfcyU6ikXzhWC0,7465
109
110
  dw/docs/MCP.md,sha256=cpoxUp_5Dr9xF_g74nep5dMoo_Sc-sROcTE0woTUr84,65802
110
111
  dw/docs/PROMPT_WEIGHTING.md,sha256=Pvr25d3yvS8SlnYwX9qc61VvTa8yFMxK_1zMLvrEigI,3031
111
112
  dw/docs/QUANTIZATION.md,sha256=aKohw0jZ28fOzrM_Q50QQ2klp-AdC_mKikz6u75yHN8,12103
112
113
  dw/docs/RECIPES_24GB.md,sha256=nHCO8Go1mX_Ogm50z0hBn4ajGqeSlqRygBRiSiFeKGY,19219
113
- dw/docs/RELEASING.md,sha256=H8ZY_Ei9yQgmtFE8OZOpPCkxJ4v07qmpq8Yko_HnAdo,86416
114
- dw/docs/REMOTE.md,sha256=rlqqi10Hm6LVwwu106_LTVlN2oBU0jKdnjupNffrGSE,6793
114
+ dw/docs/RELEASING.md,sha256=KJ7aJYQmkG06CdwUiPVRIOB063t4842VAu5b8GGi8Dc,91818
115
+ dw/docs/REMOTE.md,sha256=jHq6JmLSuzoUYUEe62vNfXr_OWSonR9mAntiHxeSGdM,6926
115
116
  dw/docs/SECURITY.md,sha256=Vt6JMEsBE3TLHmjZ4oPf7UMv4yaTCJmby3j5vblpP50,25749
116
117
  dw/docs/SECURITY_QUICKREF.md,sha256=kCUOGX7anXguLAGXofwLyLai65NvVqkcnfwh0uB7ozM,3740
117
118
  dw/docs/SERVER.md,sha256=Jb60tFRQnycbU-Z2APgNFExHlotCBUmh4PqC0l6kOBk,75378
118
- dw/docs/TASKS.md,sha256=OiOoL0wuL-qdVXNqD03LGa0Z0z5Sd5F3wAsZt24Ld20,212118
119
+ dw/docs/TASKS.md,sha256=atacTvtaPCIQo8X119z3WHVzvFnQp7NcMAl1vKIJQ6A,215827
119
120
  dw/docs/TESTING.md,sha256=D4zmQp0iVmREM9J1tq4RxTmmIxvxsp5dRtuRGovP96s,3973
120
121
  dw/docs/WORKER_GUIDE.md,sha256=t-RjdZ-7reBUfQypxfk_Qm4aPESMAGi7Wn-0Ri5S3Z8,2814
121
122
  dw/docs/WORKFLOW_GUIDE.md,sha256=ESX47WRoLGqZukWvaUTLeH9VYWIM0z0ZCRXqRXIfAkg,182439
@@ -167,7 +168,7 @@ dw/server/observed_cost.py,sha256=o51htPQg21xOwfMRMuHxtQgqfImJgn_3qePOlIdY9_8,19
167
168
  dw/server/outputs.py,sha256=ydAFzgk-cIIdF9atpwnxRnOFob4TmGsSF13wrGMuTOU,29100
168
169
  dw/server/pool.py,sha256=uXrCoOGiBSdcFk6CtNukdai5tYZFCP5GwK8wxnTmsnU,10154
169
170
  dw/server/sysinfo.py,sha256=WiQeSpMNiIDOadcpYiyYTQSPQgPZc7qPvLSXx2WQHLA,2221
170
- dw/server/updater.py,sha256=lfqvkxuyJZFKPP1LUusX_oAL7sKfIQeLuDPa1h4t2eY,8428
171
+ dw/server/updater.py,sha256=Aob0cHpGcUV9Zo_Q2-2ELFR1I0h38hL8rzfOch-vd1U,8635
171
172
  dw/server/worker_memory.py,sha256=5lLV5GItg7Rl5L0JQ3nLc5k3VRH_2jMihQv5gxdBHuY,9606
172
173
  dw/server/routes/__init__.py,sha256=Z6hnzGs1jdXuY_1C74t09_e1QDYWOxWbCnyjo6_qKB0,1943
173
174
  dw/server/routes/assets.py,sha256=KAl9z2E4sfYwXUePQUYETSu5OuHiOVaSh_OBUUm1c54,23826
@@ -178,7 +179,7 @@ dw/server/routes/library.py,sha256=yjHhpQIMS-kMRRZqpbcXzTsNVyzKpS60qlU6XUU5n3I,3
178
179
  dw/server/routes/loras.py,sha256=Hai7GIt7nXPiFa-zWWxEtCCrjPfJz3JzmIlBm2tS7ck,8270
179
180
  dw/server/routes/media.py,sha256=QfjibJddo4HCCQdXK7kcM3fv3egq6d_DRHXhUaOBd_U,41771
180
181
  dw/server/routes/system.py,sha256=RMmcOpmdzsyLjALGH99OHLlAJrkj_oyKQEpCYb2yGAg,21600
181
- dw/server/ui/index.html,sha256=U5scZxkEQKnasPE-LPsHsEBzEw4q6I0QJ1ZUIfezcY4,826
182
+ dw/server/ui/index.html,sha256=fG8yGLSshk7cSrb89-pELL4sQDmJHna8cXz03Kc05X0,826
182
183
  dw/server/ui/assets/abap-08VXUWAP.js,sha256=v_s2iGszAEBUjgmnxo-oLx1BQTQAjswxiNzZ24fNZ3o,11690
183
184
  dw/server/ui/assets/apex-BWPQTe0t.js,sha256=eUu2JicJ0pjmMYETgWVVuzFEJeyxEfievljL436Mt3Q,3469
184
185
  dw/server/ui/assets/azcli-Bc_sGQ0U.js,sha256=LDRk2Ih2wJsTBkEl5yiESmbLMeMCGuNGu5aDZxaZzRA,707
@@ -193,44 +194,44 @@ dw/server/ui/assets/csharp-BKxtCVv1.js,sha256=tcK0xVr_gQziNy8CVDw-kMQEwehIe9ND34
193
194
  dw/server/ui/assets/csp-bTuwJoIa.js,sha256=pUYDwODPsXKr4shrxhfRg0_WRY3TLT8f5omX7nYPw7Y,1278
194
195
  dw/server/ui/assets/css-DIMkf-bt.js,sha256=Nhs17Txzlhf5DumZtrz-bnBHwdMMUt9YQBxQSG9f2OQ,4361
195
196
  dw/server/ui/assets/css.worker-C6lDtRpF.js,sha256=ft-SA2IfNjCmj4OcQzAbBRB2HdcczVU36dvuGSI_uaA,1078254
196
- dw/server/ui/assets/cssMode-BvFOC5nO.js,sha256=2b4q-x0svyOIpZ7OJ7ysGWxnazNCApXVQRlYInrvdMA,2952
197
+ dw/server/ui/assets/cssMode-D2H9Q5PN.js,sha256=bFEUS6sJAz4GbMaPRFt0AektWn6CUqwCtORq6XP5U2A,2952
197
198
  dw/server/ui/assets/cypher-CVaqCwHa.js,sha256=AYGtVhyMHJdRbOwpGLEfAPAyHAdwXc3J0D_mjN4oLVg,3048
198
199
  dw/server/ui/assets/dart-onAF5SnQ.js,sha256=QWSf47NMFu2yUd9XFSGEuisDrfcp-gvscx9WznuMY2w,3931
199
200
  dw/server/ui/assets/dockerfile-DZFCIeNp.js,sha256=hIFKl4QSK6zsn49CP3KacmKpiovwWnTZleepql5VAHo,1728
200
201
  dw/server/ui/assets/ecl-D05T4iGw.js,sha256=8dy8B-9clhaDibzPszzXjx7c9Zj0t2pUw19rgIOlAkM,4623
201
202
  dw/server/ui/assets/editor-DjpsE8to.css,sha256=eXqoXVVwoOu7BHCT9Y6a3BOUUHhJVCWycTMHPlsVqdo,99095
202
- dw/server/ui/assets/editor.api-ChcCMXXR.js,sha256=v-1u1wNXloGSV_sbEqSlWu_HyIwsuAEaf2X1B9L4kqM,2735707
203
+ dw/server/ui/assets/editor.api-HGNf22Se.js,sha256=Q5b6sGwP-6sk6-5givQB6XQmuDX3uhSnSO-OkYtE-2Y,2735707
203
204
  dw/server/ui/assets/editor.worker-BmdWdrHZ.js,sha256=Ih2vJ17lgC5GJ1KP9ltE1UyLran3eG7m51K9mfkfofE,303777
204
205
  dw/server/ui/assets/elixir-6RTg0lbw.js,sha256=_AM20WhJvweAHmfSKZJwEaIeLg71t8jkSUJgRVz5P0w,10116
205
206
  dw/server/ui/assets/flow9-C5_-GSwl.js,sha256=kUYiOodGRTZ6qJ5xielY8Ku5yBXlsEOb9kxSY4Fajb0,1669
206
- dw/server/ui/assets/freemarker2-DT2q5NS2.js,sha256=VIxqn4oig-5QYkrIz8zUSIlfiNohqKE4YGF9bd2_BPM,15548
207
+ dw/server/ui/assets/freemarker2-DpThgaih.js,sha256=WTq-SvQ8cXi-DiA3WlA12rOFXhXVRWnObw7_qD5jlsQ,15548
207
208
  dw/server/ui/assets/fsharp-C8Ef5oNN.js,sha256=UTeoJ7rvyxEcL_h0e74Hkkyfnqjz1KegentufCX2nkU,2651
208
209
  dw/server/ui/assets/go-C-y9NEjX.js,sha256=yiNuAvOl-CJdg1l7tlsDbqjKrl95VJ6jchO7KXm8sIU,2350
209
210
  dw/server/ui/assets/graphql-fmXr3nnJ.js,sha256=pm47jqz4rUAXQDgl98x5ePvvxf0fgOpsBE-AWYSMUYY,2119
210
- dw/server/ui/assets/handlebars-kaJu_3a1.js,sha256=K9L39gcgDd0NvLZwLYMTfHgg3q2zQ0jjDjx7KTy2Wko,6284
211
+ dw/server/ui/assets/handlebars-C_CfXo2L.js,sha256=yk3MyLB_RQUhgbW7xxMxZ_cNskad_k4Nc7cB8tEgIao,6284
211
212
  dw/server/ui/assets/hcl-CpzslTdj.js,sha256=FTELtvUdJnCIa6x3jYwjNRaXvSqDk7_x4SlTYehMmdI,3449
212
- dw/server/ui/assets/html-BsNsYnSX.js,sha256=4TtFUyI-U4288MefQ7qZr8y5DkNRCb4qM8mxAx-yl4I,4516
213
+ dw/server/ui/assets/html-vOrmT26a.js,sha256=WQ66-aJm7EFc-Eg_EafqYMLMwslrjGgSxr4b8LKTWhk,4516
213
214
  dw/server/ui/assets/html.worker-C5yZDBHz.js,sha256=4Kkoa_A4TNCicFnuUnxjWUnhuTl1Mn4XhuWx5B3E4w4,743387
214
- dw/server/ui/assets/htmlMode-BcQxv5VO.js,sha256=LhMXuvSgAtKzLkaoCcX8_7E5PAjSdXf0Llsi8wYkd7E,3406
215
- dw/server/ui/assets/index-Bm_jBlG4.css,sha256=O9ZJFmS-CUmK7MWENuAY1ubpUSujwfhqc06gAVcpk4M,83544
216
- dw/server/ui/assets/index-CN0qvKxj.js,sha256=Mnk_TiIabxjIdATXod5_beKb2KrFYmrHsDygkvpe5k0,521640
215
+ dw/server/ui/assets/htmlMode-B3_tP7qO.js,sha256=9Rd6twYdToPCOrld4ktvsVV1-Jp7d8tgcPGIziaLIhc,3406
216
+ dw/server/ui/assets/index-B4g6-wf0.css,sha256=CZdF0R7nm1uN84RwLQX464wHGxTrz6RuGNOdF7f1_mE,86156
217
+ dw/server/ui/assets/index-iWOpaYpw.js,sha256=bWT6256g_LPyQfOMRhlSble6mnO1P-kq0iC8D78In2Q,526084
217
218
  dw/server/ui/assets/ini-sBoK_t0W.js,sha256=6QF6Fp68pxwu26PuYuAa5XlpwDMMopXB8gHj4XgppU4,960
218
219
  dw/server/ui/assets/java-BEtHBSE6.js,sha256=d9OpHur1TgBPjsMh5iCK_s6-JDUjIUa0H2gTU3OACVM,2906
219
- dw/server/ui/assets/javascript-CEdXynRF.js,sha256=J2WtLitEgIH7MR1MDy2FjIhDgvo_hn_FR1-bIuIVsgA,688
220
+ dw/server/ui/assets/javascript-BQtYc0R4.js,sha256=wnPsm4g0FDkpsbpZUFJ-aUi36zAiBXqT9Mskn0OSgSU,688
220
221
  dw/server/ui/assets/json.worker-DdeUAmHa.js,sha256=Gihf5S5n4Xv_Ipc_FoW6p492ZrLcyFk22r-RcK-GTlA,433137
221
- dw/server/ui/assets/jsonMode-hbOYEMCP.js,sha256=sqft_2TElJUWQl3VrPuQ8Kgy7UX0CI3U0jYY9cIBu5U,12178
222
+ dw/server/ui/assets/jsonMode-coryFZSr.js,sha256=GQsKU5v8MTtqUAykpoqPA1_5_z55Cw09B6UNzQuecw0,12178
222
223
  dw/server/ui/assets/julia-Bri6UV-V.js,sha256=GgHfKwkibx83YYASauJxey9COaeCnDC0-FO9DI5h1ww,6505
223
224
  dw/server/ui/assets/kotlin-BOotOW0E.js,sha256=y9kKjKTUCkkgIf0XZrn0aW0M28yZaabvrArNjMhi9kM,3041
224
225
  dw/server/ui/assets/less-B9JPFI3C.js,sha256=RK-lDgNqYLUdnolGcFtj5W5Nhdj2rhAQjegLMStkLbw,3749
225
226
  dw/server/ui/assets/lexon-CfSJPG6W.js,sha256=3wceYal1Tl_3oIKlurT29e46CCwlH0DYXRxHyki6aAc,2288
226
- dw/server/ui/assets/liquid-JLSoiOSA.js,sha256=Y-pKVM46dzmiUAxa3qq1pyvgzDy-nX0omSHMi_MWVWU,3344
227
- dw/server/ui/assets/lspLanguageFeatures-BOyNtxH5.js,sha256=7rRNTtMA7fpkE67z79J1oAlu4Y8u64RGW6y31H72nTE,28224
227
+ dw/server/ui/assets/liquid-CyA_P3Or.js,sha256=CpmrXUSxwUly0Q5WC_pB-5KvOmprLZDbaX8nn_ZkfKY,3344
228
+ dw/server/ui/assets/lspLanguageFeatures-D0AVk7gi.js,sha256=2KwBvvpftuFh2eCb4bk9ck2iHRSjqICGASrFd41s7ik,28224
228
229
  dw/server/ui/assets/lua-CsQS60Ue.js,sha256=T68zBfv8YbWQOUMOoKDHlS6ZLXQbvUoVzIqjfdKaN80,1982
229
230
  dw/server/ui/assets/m3-D-oSqn_W.js,sha256=wiQpsc-ejuU-Nd_N1EEku70GvFxCKR2enx_4FMaLERU,2520
230
231
  dw/server/ui/assets/markdown-Cimd5fb3.js,sha256=Yh5RI0xP6paio6bg3VkVHxwCFtfLSpYzYe4pqjAseXc,3639
231
- dw/server/ui/assets/mdx-sDDXTu9v.js,sha256=-ZuI3P6onJcykyEpyP2cCua09pyi61_jo7iodl6Zspw,4319
232
+ dw/server/ui/assets/mdx-CfQ3hrJU.js,sha256=tjZmDHBWj-6b21T3rW7lZXiXC2ryC6Rcsln2PKzqVu8,4319
232
233
  dw/server/ui/assets/mips-CIPQ_RoX.js,sha256=Mf9nhH4UiNv4cOxx9GbzZEwcanALyeX1nqZyeDVwn-8,2325
233
- dw/server/ui/assets/monaco-1MuWdUz9.js,sha256=iQAsBQFCQ0xkyvPaZB9DtAOA7OtgydOEP4dBKGLGoWk,1296590
234
+ dw/server/ui/assets/monaco-DDH4aAZp.js,sha256=whFj7SZwv9t5bvLCRSfeQXRx_0Wivzpexof2jk7xcA8,1296590
234
235
  dw/server/ui/assets/monaco-n7clI0si.css,sha256=_s5n5INJJjzoqAk04ZYXP99EFmWEMeL6k0BatkMtehw,86925
235
236
  dw/server/ui/assets/msdax-DauUninz.js,sha256=x-Ec1FvZQfNyIBufG3aF-nbhjtWWCb4trNEl2w7mORU,4270
236
237
  dw/server/ui/assets/mysql-SOo6toE5.js,sha256=s0175vipA9oId7yWxl-u4jDQp6cAD1LlzIlQ94knUzE,9659
@@ -246,10 +247,10 @@ dw/server/ui/assets/powerquery-D3hlyOfw.js,sha256=h7-yZyeDYpf8Vz7I-o-AdOXL673EDo
246
247
  dw/server/ui/assets/powershell-DmHpPYUd.js,sha256=fS-k4myYtbJ7I-nT4AOE2xWBU6BC4yBTsO8utRI2kYA,3057
247
248
  dw/server/ui/assets/protobuf-C531GsRP.js,sha256=CE2QZMYH5tuK5qacJhFCN5Egq0ldACCn8ZMy7drCA_A,8897
248
249
  dw/server/ui/assets/pug-Z5eAx3Zn.js,sha256=3W_Q5pw42PShvXTeZmdid5YpzS29ZEKItG3NbMZkZIY,4468
249
- dw/server/ui/assets/python-FwMP_5s9.js,sha256=olCd3dTfxXqsLPeSrqsD8ozSPa7dWUt4zOmD0ETG-eg,3455
250
+ dw/server/ui/assets/python-CuiAPJvH.js,sha256=Ee58XbGLS2JuS_FpfknjhKMX24rSRsqzzz2f-1gI1x0,3455
250
251
  dw/server/ui/assets/qsharp-DkqhCAOL.js,sha256=72cTeKiuU6qRxzI9j4KVb-r2y5u7Yj9O-DppqJMrsw8,2722
251
252
  dw/server/ui/assets/r-BwWrilGY.js,sha256=kjvwR-197La6WrPfRntvc5VS4GcVs7SVUIcq5brgDh4,2836
252
- dw/server/ui/assets/razor-CHr8DUwq.js,sha256=a1SKEG3L0sIFDpZfZ30fRlMb432QNgcCv0GwkvSE3BM,8113
253
+ dw/server/ui/assets/razor-BlOIBjYU.js,sha256=CuonclfnyEiNrQ-MYLYesmvDM-9M6IgNxSHqrqtWkZ0,8113
253
254
  dw/server/ui/assets/redis-ClamHrr6.js,sha256=P6KIG5bJRWvmyPzG14QO5RZJlmj49pzn-p4hDqSFQ5M,3032
254
255
  dw/server/ui/assets/redshift-DT7zqm-g.js,sha256=PmLS8mPeeCIWu-NLw1SMU7nZp94WvW7aqKAG7TbJv3c,10331
255
256
  dw/server/ui/assets/restructuredtext-BYgofb2h.js,sha256=UmiK7-mgglvXYqrOt4NCdx4oKNNoHilj1XfmVkRw7mA,3744
@@ -269,15 +270,15 @@ dw/server/ui/assets/swift-Bxkupp3x.js,sha256=PAoUaoj9w0C1Q8tOfBsDefytIxzaJLYxXo8
269
270
  dw/server/ui/assets/systemverilog-Bz4Y3fRF.js,sha256=N8BJdmDPdAS3YSLf9-c6WjpeHiC8AUiPFC0b83QRu84,6850
270
271
  dw/server/ui/assets/tcl-DISqw1ZD.js,sha256=tGDwrjRxtiwzHBQVX4aYHPx2tvnzyCbsk3MouRN8nGI,3271
271
272
  dw/server/ui/assets/ts.worker-DGGa2mF8.js,sha256=Eo0Wf0gtl2BDSbqkCqvF4LtrJA8iMe9U-cKzQ3RM8kY,6928036
272
- dw/server/ui/assets/tsMode-DMRBdzCs.js,sha256=sNd_jIXeDu5S5g4jsLT2XtJSmcrll3l5h7OMTkzkFz4,21847
273
+ dw/server/ui/assets/tsMode-B6QHESoA.js,sha256=m4p_d84T9JpEILg9P17P6Je3WY6QdV_lpXfUhNVTph8,21847
273
274
  dw/server/ui/assets/twig-De2hgUGE.js,sha256=7UK-mZY0t2AOG2upJFdhUfk_hN4jQxNO37xW_pXsYRk,5781
274
- dw/server/ui/assets/typescript-DX26K2Zt.js,sha256=wzQbi1bBJ-uog8iy6alBl13wy1uv3TWTus_WwyXjbYI,4675
275
+ dw/server/ui/assets/typescript-1upiba6z.js,sha256=cWxbcyQh2TL-tL3oHC-CrXS5XW-4T7L-s7XRbkyqso4,4675
275
276
  dw/server/ui/assets/typespec-B8J7ngcE.js,sha256=4SiWGtYCn-n7DAFoQw3hFbXpXOEzUIVgPrFnMxeDL0A,2625
276
277
  dw/server/ui/assets/vb-DV3o63ZY.js,sha256=g6FxShoSupLTGxKrGHUt31pO6FoCrY9npMMQpnSqtsM,5300
277
278
  dw/server/ui/assets/wgsl-DpFanUEy.js,sha256=M1uSecn4lmt1G3mQyTCdxT4mfHC4g3AjJAw7cuUwAg4,7182
278
- dw/server/ui/assets/workers-C00WfVNJ.js,sha256=ZiDXa729GYFP10XGSyiCKWPmkBQN6u_zxj5ZdeA6Z-c,1249
279
- dw/server/ui/assets/xml-5-4XmnnO.js,sha256=VNjc5zscHi6wlP6kPWrFCqNcGJzFf1xf44A_zVUS0_E,1923
280
- dw/server/ui/assets/yaml-DjHDC-oK.js,sha256=Rin6cB6Lb8bugiVMJ-QYwcPPSFTlGQxsp1Bv1RYrXD4,3543
279
+ dw/server/ui/assets/workers-CUVcDZni.js,sha256=NYAJP2TlrI4t7fKE5WDzAatTtpAANtt8lR2u0J6PlvY,1249
280
+ dw/server/ui/assets/xml-Cq2Ppp0D.js,sha256=2Q2yo08QFBBMY1q_rdfPc8w8S0mBzEee0N8aSSrWTiY,1923
281
+ dw/server/ui/assets/yaml-C14c6b0-.js,sha256=1Dqc-6B1KjevBCt6GlL0jzF2IepBZB8EtY3vWbx8loI,3543
281
282
  dw/tasks/assess.py,sha256=Fh298lKsHATn6xwcqSgnSHj9ufXp0SMZNGkEg6PA45Q,39348
282
283
  dw/tasks/audio_dynamics.py,sha256=-8bDARkUb518A9oZnNy5Sk7nrq8ViklLRxH7HyV_p34,22305
283
284
  dw/tasks/audio_handlers.py,sha256=0hLa6olH2x01mQO5ev9yUBDd5BZbeHoZWGzkac_ut8c,8799
@@ -293,7 +294,8 @@ dw/tasks/cuts_lines.py,sha256=f7XQDWg7z5njV3_Uy8uUpsARSChUJkWheMq4b3Jvb84,15108
293
294
  dw/tasks/depth_estimator.py,sha256=q1_VWMKAIMzeW5miBfln8JkimJCqAYxpFwnvPEWP4M0,2582
294
295
  dw/tasks/diffusion_upscale.py,sha256=gCaZf24vt6_fopQ9B2HbRkdhS6uXMcT9qZQ6RlsZyjY,4028
295
296
  dw/tasks/dissolve_videos.py,sha256=GT1sDXSUo1IfG78GmS3dRRTDwVQPRz0Jk7QRlGl3fD0,12923
296
- dw/tasks/face_track.py,sha256=ZFrFvKsYkG9o1GUDLlgGQ1wmhhTH4OLoL0bmFX6r7LI,34602
297
+ dw/tasks/face_drift.py,sha256=wJiNWtif7mG-Qwsy1x-VKR650yN3yNeU9H8GSkocAiE,10710
298
+ dw/tasks/face_track.py,sha256=kfQ4IWYITE-cWZfr2o1Wl8gCQlun2QvDPwpCRfXlbH4,34988
297
299
  dw/tasks/finish.py,sha256=TuXW_vETJI14QiBrP8yxzBTUbptxW0P4qamUBSAO-qM,6011
298
300
  dw/tasks/finish_handlers.py,sha256=2vsN2vt7W76XovsZwX5Vfp4SP35-xC_6Vo1sjAyDMT4,7435
299
301
  dw/tasks/fit.py,sha256=fu7BaAQGyNGLBKDSs1UoGmhdDddINFU4plJmWFORyxA,14690
@@ -304,7 +306,7 @@ dw/tasks/h3_latent_upscale.py,sha256=rNe9GkqSCPBBZhEfLo6Royd2rEsiHmtzWuzRKjwNvSE
304
306
  dw/tasks/h3_latent_upscaler_model.py,sha256=U-W9BXhDiy2ocv7TajxPsbNGmN2a9ymryjuiwP2LlGE,10440
305
307
  dw/tasks/image_ops.py,sha256=KFFWnboOPfcnHqnKnI9csy7t9enV1-slK7wcYEg0TiE,2334
306
308
  dw/tasks/image_to_text.py,sha256=3MEGQg4feViZX19l8zR0xJnxm1aV86dHKlpmLaQTQ5U,1701
307
- dw/tasks/image_utils.py,sha256=BIs3rJVcffoHOUt71eX1ZnG9o4dL5_g2cQyw7MXbDxc,36272
309
+ dw/tasks/image_utils.py,sha256=ynfpYN2yR1_0KobdoakpMTuxpk3PEatwH4bP0CdRemQ,36357
308
310
  dw/tasks/interpolate_frames.py,sha256=-zI-CospT8mZDS21_CJHTpeJI4t1cIAyYcTEFqaIobQ,9750
309
311
  dw/tasks/join_into_song.py,sha256=54nr2-Q5MOUV4rTtBeWyJV-oK1misJ86LV2eRRV_BTo,17825
310
312
  dw/tasks/joins.py,sha256=fIDzgCy1E7d-lViF9_gkI8N9qnxzgRktK3iEJ55yY6I,27616
@@ -336,8 +338,8 @@ dw/tasks/text_generation.py,sha256=Ib519B9dlmK9xNll_FypnLj1QA_u-qtvtMq1N484HOE,1
336
338
  dw/tasks/text_sections.py,sha256=0eE7O0eLQCgxEooO3-RLuQSRwmeFwHttLqwhp71q3Lw,3260
337
339
  dw/tasks/trim.py,sha256=wXKBjSdYTZQXlMIJpBwTGxJoun_SBzqw0kkPgF3-Nhg,5253
338
340
  dw/tasks/upscale.py,sha256=BkUEFax6OS3DrOb04vtvhZnDFXDMKSlSjqxYBfhwwUQ,7627
339
- dw/tasks/video_handlers.py,sha256=vV7jKiytXTyJ2JslwT4rtl8k9OJ-LUyyzzvtjYlP8qM,15426
340
- dw/tasks/video_utils.py,sha256=AbjnECqZZP7-C9PsrlrVqpdgSIgqIe6HcVT7LbVtCXE,18810
341
+ dw/tasks/video_handlers.py,sha256=lUpEDMouBBW_xJTugVHLra6kIXWQn8trZNtxGZpGQ1Q,18499
342
+ dw/tasks/video_utils.py,sha256=zfqr4N1HcBDEspi-ZbFfEGBbpg0vd0q4ZMGFWfAK09A,22915
341
343
  dw/tasks/voice_attribution.py,sha256=Yn5BL3pZZtecEFa2fm4fR3OQ0TrIOAIw3Y5FH4Zs-Ig,42209
342
344
  dw/tasks/weights.py,sha256=vScYROufardl842ZN-3HKW24xhBF0ccCwa4X_qg5xg4,3767
343
345
  dw/tasks/windows.py,sha256=3-ZYQnIstw5wEr2p75gcuN4n5u1zekUHnaYFvYavEj0,22287
@@ -371,8 +373,8 @@ dw_mcp/tools_catalog.py,sha256=32bJx1n0-GOGr11cXOnPYhPpYalde52ADgi05wh1f5s,21484
371
373
  dw_mcp/tools_jobs.py,sha256=IEErwMReZGBVVtbIpJFypNLB60q5gB87zZaSYDD-0hE,12403
372
374
  dw_mcp/tools_media.py,sha256=1XwB3sBIxzXEIbPLF4s16SjLyxzlrI2fF4uZW0xe7JM,18755
373
375
  dw_mcp/workspaces.py,sha256=wuFRa5fv4lQ5rFYJ01dm6LRBDBlajPxpwLZ-qh6JpAU,10976
374
- diffusers_workflow-0.17.0.dist-info/METADATA,sha256=JaoeFNpX3yb80dpqm4c1y_rvtA7zOXlEUllwY300QbU,14989
375
- diffusers_workflow-0.17.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
376
- diffusers_workflow-0.17.0.dist-info/entry_points.txt,sha256=Dem_AOzV-Kcpr9AASlSvJ-S5sn3f6TQu6ABb6BbApho,148
377
- diffusers_workflow-0.17.0.dist-info/top_level.txt,sha256=o-uFAN_oUOrhXfMKO39HsMs2r19L9LykxoVKj2S9q7U,10
378
- diffusers_workflow-0.17.0.dist-info/RECORD,,
376
+ diffusers_workflow-0.18.0.dist-info/METADATA,sha256=XKHv9UYz85ntI22WZRg7berJeQ_L8m-T0Tb3T76iNkE,15827
377
+ diffusers_workflow-0.18.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
378
+ diffusers_workflow-0.18.0.dist-info/entry_points.txt,sha256=Dem_AOzV-Kcpr9AASlSvJ-S5sn3f6TQu6ABb6BbApho,148
379
+ diffusers_workflow-0.18.0.dist-info/top_level.txt,sha256=o-uFAN_oUOrhXfMKO39HsMs2r19L9LykxoVKj2S9q7U,10
380
+ diffusers_workflow-0.18.0.dist-info/RECORD,,
dw/arguments.py CHANGED
@@ -925,6 +925,7 @@ _LAZY_FRAME_COMMANDS = frozenset(
925
925
  "analyze_shots",
926
926
  "analyze_seams",
927
927
  "analyze_sync_drift",
928
+ "analyze_face_drift",
928
929
  "window_video",
929
930
  "trim_video",
930
931
  "generate_sound_effects",
dw/docs/DEPENDENCIES.md CHANGED
@@ -18,6 +18,12 @@ source ./activate
18
18
 
19
19
  The install scripts handle everything: Python version detection (3.12-3.14), virtual environment creation, PyTorch, diffusers, and all dependencies.
20
20
 
21
+ ### Docker (Linux, NVIDIA)
22
+
23
+ A container image with torch, dw and its dependencies built in, sharing the
24
+ workspace and caches with a native install on the same host:
25
+ [DOCKER.md](DOCKER.md).
26
+
21
27
  ### Manual Installation
22
28
 
23
29
  If you prefer manual control:
dw/docs/DOCKER.md ADDED
@@ -0,0 +1,143 @@
1
+ # Running dw in Docker
2
+
3
+ A container image for a Linux box with an NVIDIA GPU. It holds Python, torch
4
+ (CUDA 13), dw and its web UI. You don't need a venv or `install.sh`. Build
5
+ it on the box from this checkout, or run the one published on Docker Hub as
6
+ `dkackman/diffusers-workflow` (each release from 0.18.0 on, plus `latest`).
7
+
8
+ Docker is for Linux and NVIDIA only. On a Mac, Docker runs a Linux VM with
9
+ no access to the GPU (MPS), so use `install.sh` there.
10
+
11
+ ## What the host needs
12
+
13
+ - An NVIDIA driver **580 or newer**, and a Turing or newer card (RTX 20-series
14
+ and up). CUDA 13 dropped Maxwell, Pascal and Volta.
15
+ - Docker with the compose plugin, and the
16
+ [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)
17
+ (`nvidia-ctk runtime configure --runtime=docker`, then restart docker).
18
+ - Your user in the `docker` group, or every command below under `sudo`.
19
+
20
+ Check the GPU reaches a container:
21
+ `docker run --rm --gpus all ubuntu nvidia-smi`.
22
+
23
+ ## Start it
24
+
25
+ ```bash
26
+ bash docker/init-env.sh # writes docker/.env
27
+ docker compose -f docker/compose.yaml up -d --build
28
+ docker compose -f docker/compose.yaml logs -f # wait for the server to start
29
+ docker compose -f docker/compose.yaml exec dw python /opt/dw/entrypoint.py login-url
30
+ ```
31
+
32
+ To use the published image instead of building, uncomment `DW_IMAGE` in
33
+ `docker/.env` and run `docker compose -f docker/compose.yaml pull` before
34
+ `up -d` (without `--build`). The first build takes a while, because torch
35
+ alone is several GB. The first
36
+ start then installs diffusers from GitHub main into its volume (see below),
37
+ which takes a few more minutes before the server answers. Then `login-url`
38
+ prints `http://localhost:8765/?token=...`. Open that link and the UI saves
39
+ the token.
40
+
41
+ ## Where the data lives: shared with a native install
42
+
43
+ `docker/init-env.sh` fills `docker/.env` with the directories a native
44
+ dw.serve on the same host already uses:
45
+
46
+ | variable | default | holds |
47
+ |---|---|---|
48
+ | `DW_WORKSPACE` | `~/diffusers-workspace` | workflows, prompts, assets, outputs |
49
+ | `HF_HOME` | `~/.cache/huggingface` | model weights, and the quantized cache (`dw-quantized/`) |
50
+ | `TORCHINDUCTOR_CACHE_DIR` | `~/.cache/dw/torchinductor` | `torch.compile` kernels |
51
+ | `TRITON_CACHE_DIR` | `~/.triton/cache` | Triton kernels |
52
+ | `DIFFUSERS_HELPER_ROOT` | `~/.diffusers_helper` | `settings.json`, the log, the container's API token |
53
+ | `DW_ENV_DIR` | `~/.local/share/dw-docker/env` | the diffusers overlay (container only) |
54
+
55
+ Export any of them before running the script to change it. Each one is
56
+ mounted **at the same absolute path** inside the container, and the
57
+ container runs as your uid. Run manifests, settings and cache entries
58
+ record absolute paths, so a job the container ran opens in a native server
59
+ and the other way round. Models download once, and kernels compiled by one
60
+ are reused by the other. A symlinked directory, such as an `HF_HOME` that
61
+ links to another disk, works: Docker mounts the target at the link's path.
62
+
63
+ The checkout's own `.env`, which a native dw.serve loads (for example
64
+ `DW_QUANTIZED_CACHE=1`), is passed to the container too, so both run with
65
+ the same switches. A path in it, such as `DW_QUANTIZED_CACHE_DIR`, has to be
66
+ one of the mounted directories above.
67
+
68
+ ### Switching between Docker and systemd
69
+
70
+ Both use the same port, GPUs and data, so only one should run at a time:
71
+
72
+ ```bash
73
+ bash docker/switch.sh docker # stop the dw-serve user unit, start the container
74
+ bash docker/switch.sh native # stop the container, start the unit
75
+ bash docker/switch.sh status
76
+ ```
77
+
78
+ The script assumes the user unit from `scripts/dw-serve.service`. For the
79
+ system unit in `contrib/systemd/`, set `DW_SYSTEMCTL="sudo systemctl"`.
80
+ To keep the token your MCP clients already use, set `DW_API_TOKEN` in
81
+ `docker/.env` to the one the unit passes.
82
+
83
+ The examples catalog is one difference: the container offers the copy of
84
+ the checkout's `workflows/` that was built into the image, while a native
85
+ server offers the live checkout.
86
+
87
+ ## diffusers tracks main, on a volume
88
+
89
+ Everything in the image is fixed when it's built, except diffusers. New
90
+ model pipelines land on diffusers' GitHub main before a release, so the
91
+ diffusers the server uses lives in `DW_ENV_DIR`. That directory holds a
92
+ small venv layered over the image's Python (`--system-site-packages`), with
93
+ only diffusers and any dependency a new commit needs that the image lacks.
94
+
95
+ - **The first start** installs main HEAD (or `DW_DIFFUSERS_REF`; see below).
96
+ - **A restart changes nothing.** diffusers moves only when you ask it to.
97
+ - **Update** from the web UI's Models page, as on a native install, or:
98
+ `docker compose -f docker/compose.yaml exec dw python /opt/dw/entrypoint.py update-diffusers [--commit SHA | --revert]`,
99
+ then restart the container.
100
+ - **A rebuilt image** (a new dw) rebuilds the overlay and reinstalls the
101
+ diffusers commit you had, not HEAD.
102
+ - **If the overlay doesn't import** (a broken HEAD, or no network on the
103
+ first start), the server starts on the copy of diffusers built into the
104
+ image, and says so in the log. Pin a working commit from the Models page,
105
+ then restart. An update made in this state goes into the container
106
+ rather than the volume, so it's lost when the container is re-created.
107
+
108
+ `DW_DIFFUSERS_REF` in `docker/.env`: `head` (the default), a commit hash
109
+ (the overlay is held to it), or `image` (no overlay; use the copy built
110
+ into the image).
111
+
112
+ ## The API token
113
+
114
+ Inside the container the server listens on every interface, and it can't
115
+ tell how the port is published. So it always gets a token: `DW_API_TOKEN`
116
+ if you set one, otherwise one generated on first start and saved to
117
+ `DIFFUSERS_HELPER_ROOT/api-token`. The token is never written to the log,
118
+ so `docker logs` output is safe to paste into an issue: `login-url` prints
119
+ the link when you ask for it.
120
+ `DW_INSECURE_NO_TOKEN=1` turns this off; only do that with the port
121
+ published on localhost (`DW_BIND=127.0.0.1`, the default).
122
+
123
+ To reach the server from your LAN, set `DW_BIND=0.0.0.0`, then run `up -d`
124
+ again to re-create the container. Clients connect the way
125
+ [REMOTE.md](REMOTE.md) describes. A box that switches from a systemd unit
126
+ bound to `0.0.0.0` needs this, or after the switch the server answers only
127
+ on the box itself.
128
+
129
+ ## Options
130
+
131
+ `DW_SERVE_ARGS` holds dw.serve's own arguments (default `--mcp`), for example
132
+ `--mcp --devices cuda:0,cuda:1` for one worker per card. The entrypoint adds
133
+ `--host 0.0.0.0`, `--port 8765` and the examples catalog unless you give
134
+ them. `HF_TOKEN` is passed through for gated models.
135
+
136
+ Build arguments (`docker compose build --build-arg ...`): `TORCH_INDEX`
137
+ (default the cu130 index; `https://pypi.org/simple` gives the CUDA 12 wheel
138
+ for an older driver) and `DIFFUSERS_REF` (the diffusers built into the
139
+ image; default `main`).
140
+
141
+ flash_attn is not in the image, because it needs the CUDA toolkit to
142
+ build. The Hub kernels and comfy-kitchen's prebuilt kernels work as they do
143
+ natively.
dw/docs/RELEASING.md CHANGED
@@ -7,6 +7,90 @@ notes from commits at tag time (see below). This section is a scratch pad
7
7
  for items a branch's author wants the next release note to name; clear it
8
8
  when a release ships.
9
9
 
10
+ ### 0.18.0
11
+
12
+ <!-- Drafted from v0.17.0..develop at release prep (2026-11-01). Paste into the GitHub release body once the tag has published: gh release edit v0.18.0 --notes-file ... -->
13
+
14
+ This release has two halves. One is directing: a shared vocabulary for the
15
+ camera and the look, compiled into each video family's own caption format.
16
+ Alongside it come storyboards and a timed animatic before any video is paid
17
+ for, and a check that a recurring face stays the same person across shots.
18
+ The other is packaging: dw now runs from a Docker image, the first step
19
+ toward making it something you install rather than build.
20
+
21
+ **Docker** (`docs/DOCKER.md`)
22
+
23
+ - `docker/compose.yaml` runs the server, web UI and MCP endpoint on a Linux
24
+ box with an NVIDIA GPU (driver 580 or newer; CUDA 13). The image carries
25
+ Python, torch and dw. From this release on, each release publishes it to
26
+ Docker Hub as `dkackman/diffusers-workflow:<version>` and `latest`. Set
27
+ `DW_IMAGE` in `docker/.env` to run that instead of building locally.
28
+ - diffusers keeps following GitHub main. It lives in a small venv on a
29
+ volume, layered over the image, so the Models page's update button works
30
+ as it does on a native install. A restart never moves it, a new image
31
+ reinstalls the commit you had, and a broken HEAD falls back to the copy
32
+ of diffusers built into the image so the server still starts.
33
+ - `bash docker/init-env.sh` points the container at the directories a
34
+ native install on the same box already uses: the workspace, the Hugging
35
+ Face cache (quantized cache included), the compile caches and settings.
36
+ Each is mounted at its own path, so runs, downloads and compiled kernels
37
+ are shared both ways. `docker/switch.sh docker|native` swaps between the
38
+ container and the systemd unit.
39
+ - Inside the container the server always has a token: `DW_API_TOKEN`, or
40
+ one generated on first start and kept. The token never goes in the log;
41
+ `entrypoint.py login-url` prints a `/?token=...` link, which the web UI
42
+ now accepts. It saves the token, then
43
+ clears it from the address bar.
44
+
45
+ **Camera and look, per family** (#1142)
46
+
47
+ - The `cinematography` skill is a closed vocabulary of six axes: shot size,
48
+ move, lens, light, era and tempo. Each value has the one sentence it
49
+ becomes in H3's, LTX-2.5's, Kandinsky 6's and FLUX 3 Klein's own caption
50
+ formats. A shot list can say `move: dolly-in` and mean the same thing on
51
+ every family. An unset axis is left to the model.
52
+ - Named grades applied after generation, on the CPU: `noir`, `teal-orange`,
53
+ `70s-stock`, `vhs` and `bleach-bypass`. Each is an `apply_lut` palette
54
+ followed by `film_grain`.
55
+
56
+ **Storyboards and animatics** (#1144, #1145)
57
+
58
+ - The `storyboard` skill draws boards on FLUX 3 Klein from a character
59
+ reference, covers one moment from six camera positions, and hands boards
60
+ to H3, LTX-2.5 or Kandinsky 6 as first frames.
61
+ - `stills_to_video` holds each still for a duration (one for all, or one per
62
+ still) and returns a silent clip with a shot record per still.
63
+ `templates/animatic` lays a scratch voice or music bed under the boards.
64
+ It loads no model, so pacing and order can be checked before any video is
65
+ rendered. Sizes are checked up front: over 600 s, 36000 frames, or a
66
+ clip that would need more than 4 GiB is refused before it allocates.
67
+
68
+ **Shot documents, the fix ladder, and face drift** (#1143, #1146, #1147)
69
+
70
+ - `script-to-video` keeps its shot list in the prompt library
71
+ (`<project>/shots`, one compiled `<project>/shot-NN` per shot). A revision
72
+ recompiles only the shots it changed, and a later session picks the
73
+ project up where it stopped.
74
+ - A wrong shot is fixed in a fixed order, cheapest first, each step with
75
+ a cap: edit the region or repair the face, re-prompt with the seed kept,
76
+ reseed, and then stop and ask, showing the attempts and what each one
77
+ changed. H3 prompts get a lint checklist before a
78
+ render (a missing `overall_soundscape`, an overfull beat, and so on).
79
+ - `analyze_face_drift` (`templates/face-drift-check`) scores sampled frames
80
+ of each shot against a cast portrait with OpenCV's SFace. A shot whose
81
+ median falls below the published same-person threshold is flagged as
82
+ `face_drift`, and one with no face found as `no_face`. These are places to
83
+ look before regenerating, not verdicts: a turned head scores low too.
84
+ - `series-episodes` gains a sitcom multicam grammar: a wide master held for
85
+ the whole scene, a single per speaker, and cuts on line boundaries, never
86
+ mid-word. `plan_cuts` places them from the transcript's line starts.
87
+
88
+ **Web UI**
89
+
90
+ - On the job page, clicking a step in the data-flow graph scrolls to what
91
+ that step produced. A failed run draws the step it stopped in, red. The
92
+ workflow's JSON is behind a toggle under the graph.
93
+
10
94
  ### 0.17.0
11
95
 
12
96
  <!-- Drafted from v0.16.0..develop at release prep (2026-11-01). Paste into the GitHub release body once the tag has published: gh release edit v0.17.0 --notes-file ... -->
@@ -1557,6 +1641,16 @@ with owner `dkackman`, repository `diffusers-workflow`, workflow
1557
1641
  first release, since the project won't exist yet). Pre-release versions
1558
1642
  are hidden from plain `pip install`; they need `pip install --pre`.
1559
1643
 
1644
+ The `docker` job, also after the GitHub release, builds
1645
+ `docker/Dockerfile` from the tag, starts the image on the CPU runner and
1646
+ waits for `/api/health`, then pushes `dkackman/diffusers-workflow:<version>`
1647
+ to Docker Hub. A release also moves `latest`; a pre-release does not.
1648
+ One-time setup: on Docker Hub, create the public repository
1649
+ `dkackman/diffusers-workflow` and an access token with read/write scope.
1650
+ On GitHub, under *Settings > Environments*, create an environment named
1651
+ `dockerhub` with that token as secret `DOCKERHUB_TOKEN`. A failed push
1652
+ leaves the GitHub release and PyPI as they are; re-run the job.
1653
+
1560
1654
  Note: released `diffusers` from PyPI may lag the newest model pipelines
1561
1655
  this project targets — a PyPI install can need
1562
1656
  `pip install git+https://github.com/huggingface/diffusers` on top.
dw/docs/REMOTE.md CHANGED
@@ -5,7 +5,9 @@ your laptop use it over the network. Nothing is installed on the laptop.
5
5
 
6
6
  ## On the GPU box
7
7
 
8
- 1. Install as usual: `git clone …`, `bash ./install.sh`.
8
+ 1. Install as usual: `git clone …`, `bash ./install.sh` - or run the
9
+ container instead ([DOCKER.md](DOCKER.md), `DW_BIND=0.0.0.0`), which
10
+ makes the token for you; skip to the clients.
9
11
  2. Make a token: `openssl rand -hex 32`. This one string is the only thing
10
12
  between "on your network" and "can run workflows on your GPU" - keep it
11
13
  long and random.
dw/docs/TASKS.md CHANGED
@@ -526,6 +526,7 @@ add grain last so it is not itself sharpened:
526
526
  | `get_first_frame` | Extract first video frame | |
527
527
  | `get_last_frame` | Extract last video frame | |
528
528
  | `get_frame` | Extract frame at index | `frame_index` |
529
+ | `stills_to_video` | Hold storyboard stills for a duration each, as one silent clip | `images`, `durations`, `fps` - see [stills_to_video](#stills_to_video) |
529
530
  | `window_video` | One overlapping, fixed-length window of a long video, with its audio | `index`, `num_frames`, `overlap`, `fps` - see [window_video](#window_video) |
530
531
  | `join_windows` | Blend processed windows back into one video the source's length, with the source's audio | `videos`, `source`, `num_frames`, `overlap`, `curve`, `fps` - see [join_windows](#join_windows) |
531
532
  | `fit_to_model` | Fit a video into a model's working size and exact frame count; returns `{video, fit}` | `width`, `height`, `num_frames`, `mode` (`letterbox`, `stretch`, `crop`), `downscale` - see [fit_to_model and restore_to_source](#fit_to_model-and-restore_to_source) |
@@ -535,6 +536,50 @@ The frame commands accept videos in any shape a result carries them: PIL frame
535
536
  lists, numpy or torch frame arrays, and audio+video pairs (LTX-2, MiniMax H3).
536
537
  The extracted frame is always a PIL image.
537
538
 
539
+ ### stills_to_video
540
+
541
+ Hold each still on screen for a set time and get one silent clip back - an
542
+ animatic of a storyboard. The result joins with `concat_videos` and takes a
543
+ score from `pair_audio` or the `assemble-and-score` template like any shot.
544
+
545
+ ```json
546
+ {
547
+ "name": "animatic",
548
+ "task": {
549
+ "command": "stills_to_video",
550
+ "arguments": {
551
+ "images": [
552
+ "previous_result:frame_1",
553
+ "previous_result:frame_2",
554
+ "previous_result:frame_3"
555
+ ],
556
+ "durations": [1, 2, 0.5],
557
+ "fps": 24
558
+ }
559
+ },
560
+ "result": { "content_type": "video/mp4", "save": true }
561
+ }
562
+ ```
563
+
564
+ | Argument | Required | Description |
565
+ | -------- | -------- | ----------- |
566
+ | `images` | Yes | The stills in order - images, arrays, or `{"media_type": "image", "location": "asset:x.png"}`. All the same size |
567
+ | `durations` | Yes | Seconds per still: one number for all, or one per still |
568
+ | `fps` | No | Frame rate, default 24, at most 120 |
569
+
570
+ Each still gets `max(1, round(duration * fps))` frames, so a duration shorter
571
+ than a frame still shows for one. The clip is at most 600 seconds and 36000
572
+ frames in total; those cap its length, not its memory. The frames are held as
573
+ uint8 pixels, so the command also refuses, before allocating, a clip over
574
+ 4 GiB (frames x width x height x 3), naming `durations`, `fps` and the image
575
+ size.
576
+ Stills of different sizes are refused, naming both sizes. The video has no
577
+ audio track; its `shots` record where each still starts.
578
+ `validate_workflow` catches a non-positive duration, an `fps` out of range, a
579
+ duration count that does not match a literal image list, and a total over 600
580
+ seconds or 36000 frames (the 4 GiB limit depends on the image size, so it is
581
+ checked at run time).
582
+
538
583
  ### concat_videos
539
584
 
540
585
  Concatenate videos - and the audio generated with them - into one video. The
@@ -2329,6 +2374,42 @@ whole file:
2329
2374
  | `video_seconds` / `audio_seconds` | Each stream's own duration |
2330
2375
  | `length_delta_ms` | `audio_seconds` minus `video_seconds` |
2331
2376
 
2377
+ ### analyze_face_drift
2378
+
2379
+ Whether a recurring character still looks like their cast portrait. It
2380
+ answers the shape of the probes above but is not one: it measures faces, not
2381
+ the soundtrack, and its two rules live in the command rather than in the
2382
+ table below. Needs the SFace and YuNet weights from `opencv/face_recognition_sface`
2383
+ and `opencv/face_detection_yunet`, which `validate_workflow` lists under
2384
+ `downloads_required`.
2385
+
2386
+ ```json
2387
+ {
2388
+ "command": "analyze_face_drift",
2389
+ "arguments": {
2390
+ "video": "output:<identity>/latest/final/cut.mp4",
2391
+ "reference": "asset:cast/ada.png"
2392
+ }
2393
+ }
2394
+ ```
2395
+
2396
+ | Argument | Meaning |
2397
+ | -------- | ------- |
2398
+ | `video` | A stored video, or the video an earlier step returned |
2399
+ | `reference` | The face to hold. With several faces the largest is used and `notes` says so; with none the step is refused |
2400
+ | `shots` | Shot records, as the probes take them; else the video's own, else the run manifest, else the whole file is one shot |
2401
+ | `threshold` | Median cosine similarity below which a shot raises `face_drift`, from -1 to 1. Default 0.363, OpenCV's published SFace threshold |
2402
+ | `samples_per_shot` | Frames read per shot, evenly spaced, 1 to 64. Default 8 |
2403
+
2404
+ Each shot is a `measurements[]` entry: `shot`, `frames_sampled`,
2405
+ `faces_found` (sampled frames with a face), `similarity_median` and
2406
+ `similarity_min` - over those frames, the best cosine match among the faces
2407
+ in each frame. Both are null when no sampled frame had a face. Findings:
2408
+ `face_drift` (warn) when the median is below `threshold`, and `no_face`
2409
+ (info) for a shot where no sampled frame had a face. Like the probes, they
2410
+ are places to look, not verdicts: a turned head or a mask also lowers the
2411
+ score, so look at the shot before regenerating it.
2412
+
2332
2413
  ### Rules
2333
2414
 
2334
2415
  Each rule names the probe and field it reads, how the value is compared to