diffusers-workflow 0.4.0__tar.gz
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.
- diffusers_workflow-0.4.0/LICENSE +201 -0
- diffusers_workflow-0.4.0/MANIFEST.in +4 -0
- diffusers_workflow-0.4.0/PKG-INFO +318 -0
- diffusers_workflow-0.4.0/README.md +240 -0
- diffusers_workflow-0.4.0/diffusers_workflow.egg-info/PKG-INFO +318 -0
- diffusers_workflow-0.4.0/diffusers_workflow.egg-info/SOURCES.txt +433 -0
- diffusers_workflow-0.4.0/diffusers_workflow.egg-info/dependency_links.txt +1 -0
- diffusers_workflow-0.4.0/diffusers_workflow.egg-info/entry_points.txt +7 -0
- diffusers_workflow-0.4.0/diffusers_workflow.egg-info/requires.txt +63 -0
- diffusers_workflow-0.4.0/diffusers_workflow.egg-info/top_level.txt +2 -0
- diffusers_workflow-0.4.0/dw/__init__.py +440 -0
- diffusers_workflow-0.4.0/dw/adapter_compatibility.py +226 -0
- diffusers_workflow-0.4.0/dw/arguments.py +1231 -0
- diffusers_workflow-0.4.0/dw/assessment_rules.py +159 -0
- diffusers_workflow-0.4.0/dw/assets.py +130 -0
- diffusers_workflow-0.4.0/dw/cache_blocks.json +16 -0
- diffusers_workflow-0.4.0/dw/cache_blocks.py +146 -0
- diffusers_workflow-0.4.0/dw/community_pipelines/pipeline_flux_rf_inversion.py +1184 -0
- diffusers_workflow-0.4.0/dw/content_types.py +150 -0
- diffusers_workflow-0.4.0/dw/dissolve_frame_errors.py +121 -0
- diffusers_workflow-0.4.0/dw/docs/ACCELERATION.md +352 -0
- diffusers_workflow-0.4.0/dw/docs/AGENT_LOOP.md +95 -0
- diffusers_workflow-0.4.0/dw/docs/DEPENDENCIES.md +91 -0
- diffusers_workflow-0.4.0/dw/docs/IP_ADAPTER.md +109 -0
- diffusers_workflow-0.4.0/dw/docs/LORAS.md +131 -0
- diffusers_workflow-0.4.0/dw/docs/MCP.md +517 -0
- diffusers_workflow-0.4.0/dw/docs/PROMPT_WEIGHTING.md +78 -0
- diffusers_workflow-0.4.0/dw/docs/QUANTIZATION.md +230 -0
- diffusers_workflow-0.4.0/dw/docs/RECIPES_24GB.md +201 -0
- diffusers_workflow-0.4.0/dw/docs/RELEASING.md +195 -0
- diffusers_workflow-0.4.0/dw/docs/REMOTE.md +140 -0
- diffusers_workflow-0.4.0/dw/docs/REPL_COMMANDS.md +121 -0
- diffusers_workflow-0.4.0/dw/docs/REPL_WORKER_GUIDE.md +51 -0
- diffusers_workflow-0.4.0/dw/docs/SECURITY.md +272 -0
- diffusers_workflow-0.4.0/dw/docs/SECURITY_QUICKREF.md +112 -0
- diffusers_workflow-0.4.0/dw/docs/SERVER.md +679 -0
- diffusers_workflow-0.4.0/dw/docs/TASKS.md +1741 -0
- diffusers_workflow-0.4.0/dw/docs/TESTING.md +71 -0
- diffusers_workflow-0.4.0/dw/docs/WORKFLOW_GUIDE.md +2038 -0
- diffusers_workflow-0.4.0/dw/docs/WORKSPACES.md +316 -0
- diffusers_workflow-0.4.0/dw/download_watch.py +335 -0
- diffusers_workflow-0.4.0/dw/elision.py +306 -0
- diffusers_workflow-0.4.0/dw/events.py +275 -0
- diffusers_workflow-0.4.0/dw/for_each.py +409 -0
- diffusers_workflow-0.4.0/dw/host_memory.py +258 -0
- diffusers_workflow-0.4.0/dw/host_memory_projection.py +230 -0
- diffusers_workflow-0.4.0/dw/hub_cache.py +432 -0
- diffusers_workflow-0.4.0/dw/introspection.py +1228 -0
- diffusers_workflow-0.4.0/dw/kernel_availability.py +208 -0
- diffusers_workflow-0.4.0/dw/locations.py +599 -0
- diffusers_workflow-0.4.0/dw/log_setup.py +45 -0
- diffusers_workflow-0.4.0/dw/loudness.py +82 -0
- diffusers_workflow-0.4.0/dw/media_audio.py +217 -0
- diffusers_workflow-0.4.0/dw/media_frames.py +367 -0
- diffusers_workflow-0.4.0/dw/media_info.py +297 -0
- diffusers_workflow-0.4.0/dw/pipeline_processors/chain.py +821 -0
- diffusers_workflow-0.4.0/dw/pipeline_processors/config_objects.py +237 -0
- diffusers_workflow-0.4.0/dw/pipeline_processors/pipeline.py +2297 -0
- diffusers_workflow-0.4.0/dw/pipeline_processors/remote.py +46 -0
- diffusers_workflow-0.4.0/dw/plan.py +920 -0
- diffusers_workflow-0.4.0/dw/previous_results.py +411 -0
- diffusers_workflow-0.4.0/dw/probe_paths.py +59 -0
- diffusers_workflow-0.4.0/dw/prompt_schema.json +48 -0
- diffusers_workflow-0.4.0/dw/prompt_weighting.py +378 -0
- diffusers_workflow-0.4.0/dw/prompts.py +159 -0
- diffusers_workflow-0.4.0/dw/realize.py +250 -0
- diffusers_workflow-0.4.0/dw/reference_limits.py +215 -0
- diffusers_workflow-0.4.0/dw/reference_names.py +125 -0
- diffusers_workflow-0.4.0/dw/repl.py +338 -0
- diffusers_workflow-0.4.0/dw/repl_commands.py +836 -0
- diffusers_workflow-0.4.0/dw/repl_worker.py +159 -0
- diffusers_workflow-0.4.0/dw/result.py +1720 -0
- diffusers_workflow-0.4.0/dw/result_fps.py +82 -0
- diffusers_workflow-0.4.0/dw/run.py +162 -0
- diffusers_workflow-0.4.0/dw/runs.py +768 -0
- diffusers_workflow-0.4.0/dw/scalar_result_validation.py +97 -0
- diffusers_workflow-0.4.0/dw/schema.py +283 -0
- diffusers_workflow-0.4.0/dw/security.py +1038 -0
- diffusers_workflow-0.4.0/dw/select_validation.py +115 -0
- diffusers_workflow-0.4.0/dw/serve.py +277 -0
- diffusers_workflow-0.4.0/dw/server/__init__.py +2 -0
- diffusers_workflow-0.4.0/dw/server/app.py +4586 -0
- diffusers_workflow-0.4.0/dw/server/assess.py +132 -0
- diffusers_workflow-0.4.0/dw/server/catalog_shape.py +487 -0
- diffusers_workflow-0.4.0/dw/server/enhancers.py +129 -0
- diffusers_workflow-0.4.0/dw/server/exports.py +480 -0
- diffusers_workflow-0.4.0/dw/server/guides.py +257 -0
- diffusers_workflow-0.4.0/dw/server/jobs.py +1561 -0
- diffusers_workflow-0.4.0/dw/server/mcp_mount.py +95 -0
- diffusers_workflow-0.4.0/dw/server/netinfo.py +124 -0
- diffusers_workflow-0.4.0/dw/server/observed_cost.py +379 -0
- diffusers_workflow-0.4.0/dw/server/sysinfo.py +71 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/abap-08VXUWAP.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/apex-BWPQTe0t.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/azcli-Bc_sGQ0U.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/bat-i0X4ZdIN.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/bicep-B5-_aFwp.js +2 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/cameligo-DMUM7wLl.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/clojure-Cm7r79vr.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/codicon-Brq4_Ui5.ttf +0 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/coffee-Ba7i2nA0.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/cpp-C7h46wYY.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/csharp-BKxtCVv1.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/csp-bTuwJoIa.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/css-DIMkf-bt.js +3 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/css.worker-B3ciXF_0.js +93 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/cssMode-CPznxfY8.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/cypher-CVaqCwHa.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/dart-onAF5SnQ.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/dockerfile-DZFCIeNp.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/ecl-D05T4iGw.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/editor-jjEx9u7D.css +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/editor.api-CpWcotrd.js +847 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/editor.worker-q-txB4vs.js +30 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/elixir-6RTg0lbw.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/flow9-C5_-GSwl.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/freemarker2-CXtRM8N4.js +3 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/fsharp-C8Ef5oNN.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/go-C-y9NEjX.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/graphql-fmXr3nnJ.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/handlebars-N7x-6NMY.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/hcl-CpzslTdj.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/html-PhsdjHSr.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/html.worker-C93Ht9o9.js +506 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/htmlMode-Dgj0SEok.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/index-3Vw6WAPW.css +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/index-DgrYhQd9.js +43 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/ini-sBoK_t0W.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/java-BEtHBSE6.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/javascript-BJqN9Qhv.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/json.worker-B2V3pomh.js +62 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/jsonMode-DbM4SWSv.js +7 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/julia-Bri6UV-V.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/kotlin-BOotOW0E.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/less-B9JPFI3C.js +2 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/lexon-CfSJPG6W.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/liquid-BWr8lEc4.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/lspLanguageFeatures-C1iGuDyZ.js +4 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/lua-CsQS60Ue.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/m3-D-oSqn_W.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/markdown-Cimd5fb3.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/mdx-DAdMi_0p.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/mips-CIPQ_RoX.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/monaco--ixms01u.css +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/monaco-BGCeEqaw.js +56 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/msdax-DauUninz.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/mysql-SOo6toE5.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/objective-c-FvmIjYaQ.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/pascal-DrH0SRf2.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/pascaligo-D-ptJ9y-.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/perl-oz_6vUea.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/pgsql-DTj74zXo.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/php-nr791fC2.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/pla-CopQ2nXW.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/postiats-43DmfD33.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/powerquery-D3hlyOfw.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/powershell-DmHpPYUd.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/protobuf-C531GsRP.js +2 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/pug-Z5eAx3Zn.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/python-Bcn70HdC.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/qsharp-DkqhCAOL.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/r-BwWrilGY.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/razor-D1HmNnby.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/redis-ClamHrr6.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/redshift-DT7zqm-g.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/restructuredtext-BYgofb2h.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/ruby-DezsRK8O.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/rust-DdL9SqIa.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/sb-CcwsVR0C.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/scala-DHpiXF5c.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/scheme-BeGwcela.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/scss-gp-XZpBa.js +3 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/shell-CC2rA5mh.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/solidity-BEEn4gHE.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/sophia-CRfGWb83.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/sparql-D_Lu-MrJ.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/sql-NEE52Syq.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/st-DbInun42.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/swift-Bxkupp3x.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/systemverilog-Bz4Y3fRF.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/tcl-DISqw1ZD.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/ts.worker-D7T1-Ig5.js +67738 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/tsMode-D6u0XmOW.js +11 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/twig-De2hgUGE.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/typescript-BU6v-LMV.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/typespec-B8J7ngcE.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/vb-DV3o63ZY.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/wgsl-DpFanUEy.js +298 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/workers-Cn7cTUKr.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/xml--0LP2Lwk.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/assets/yaml-mpBg9jnt.js +1 -0
- diffusers_workflow-0.4.0/dw/server/ui/index.html +17 -0
- diffusers_workflow-0.4.0/dw/server/updater.py +192 -0
- diffusers_workflow-0.4.0/dw/settings.py +98 -0
- diffusers_workflow-0.4.0/dw/shot_span_preflight.py +116 -0
- diffusers_workflow-0.4.0/dw/shots.py +359 -0
- diffusers_workflow-0.4.0/dw/slice_preflight.py +148 -0
- diffusers_workflow-0.4.0/dw/step.py +187 -0
- diffusers_workflow-0.4.0/dw/step_cache.py +442 -0
- diffusers_workflow-0.4.0/dw/subfolders.py +107 -0
- diffusers_workflow-0.4.0/dw/task_domains.py +307 -0
- diffusers_workflow-0.4.0/dw/tasks/assess.py +826 -0
- diffusers_workflow-0.4.0/dw/tasks/audio_transcription.py +88 -0
- diffusers_workflow-0.4.0/dw/tasks/audio_utils.py +1862 -0
- diffusers_workflow-0.4.0/dw/tasks/background_remover.py +43 -0
- diffusers_workflow-0.4.0/dw/tasks/borders.py +113 -0
- diffusers_workflow-0.4.0/dw/tasks/compose_text.py +74 -0
- diffusers_workflow-0.4.0/dw/tasks/concat_videos.py +300 -0
- diffusers_workflow-0.4.0/dw/tasks/depth_estimator.py +54 -0
- diffusers_workflow-0.4.0/dw/tasks/diffusion_upscale.py +109 -0
- diffusers_workflow-0.4.0/dw/tasks/dissolve_videos.py +342 -0
- diffusers_workflow-0.4.0/dw/tasks/format_messages.py +24 -0
- diffusers_workflow-0.4.0/dw/tasks/gather.py +173 -0
- diffusers_workflow-0.4.0/dw/tasks/grade.py +97 -0
- diffusers_workflow-0.4.0/dw/tasks/image_to_text.py +43 -0
- diffusers_workflow-0.4.0/dw/tasks/image_utils.py +764 -0
- diffusers_workflow-0.4.0/dw/tasks/interpolate_frames.py +252 -0
- diffusers_workflow-0.4.0/dw/tasks/judge.py +68 -0
- diffusers_workflow-0.4.0/dw/tasks/model_cache.py +55 -0
- diffusers_workflow-0.4.0/dw/tasks/pair_audio.py +268 -0
- diffusers_workflow-0.4.0/dw/tasks/qr_code.py +19 -0
- diffusers_workflow-0.4.0/dw/tasks/restore_faces.py +175 -0
- diffusers_workflow-0.4.0/dw/tasks/rife_model.py +192 -0
- diffusers_workflow-0.4.0/dw/tasks/segment.py +121 -0
- diffusers_workflow-0.4.0/dw/tasks/select.py +111 -0
- diffusers_workflow-0.4.0/dw/tasks/speech_generation.py +228 -0
- diffusers_workflow-0.4.0/dw/tasks/stabilize.py +129 -0
- diffusers_workflow-0.4.0/dw/tasks/task.py +920 -0
- diffusers_workflow-0.4.0/dw/tasks/tensor_image.py +57 -0
- diffusers_workflow-0.4.0/dw/tasks/text_generation.py +169 -0
- diffusers_workflow-0.4.0/dw/tasks/text_sections.py +80 -0
- diffusers_workflow-0.4.0/dw/tasks/upscale.py +203 -0
- diffusers_workflow-0.4.0/dw/tasks/video_utils.py +624 -0
- diffusers_workflow-0.4.0/dw/tasks/zoe_depth.py +71 -0
- diffusers_workflow-0.4.0/dw/teacache.py +381 -0
- diffusers_workflow-0.4.0/dw/teacache_models.json +99 -0
- diffusers_workflow-0.4.0/dw/test.py +29 -0
- diffusers_workflow-0.4.0/dw/type_helpers.py +231 -0
- diffusers_workflow-0.4.0/dw/validate.py +68 -0
- diffusers_workflow-0.4.0/dw/variable_constraints.py +444 -0
- diffusers_workflow-0.4.0/dw/variables.py +443 -0
- diffusers_workflow-0.4.0/dw/video_extensions.py +141 -0
- diffusers_workflow-0.4.0/dw/vram_estimate.py +116 -0
- diffusers_workflow-0.4.0/dw/worker.py +764 -0
- diffusers_workflow-0.4.0/dw/workflow.py +2007 -0
- diffusers_workflow-0.4.0/dw/workflow_schema.json +1346 -0
- diffusers_workflow-0.4.0/dw/workflow_sources.py +383 -0
- diffusers_workflow-0.4.0/dw/workflows/h3_context_ir.json +57 -0
- diffusers_workflow-0.4.0/dw/workflows/test.json +31 -0
- diffusers_workflow-0.4.0/dw/workspace.py +730 -0
- diffusers_workflow-0.4.0/dw_mcp/__init__.py +6 -0
- diffusers_workflow-0.4.0/dw_mcp/__main__.py +133 -0
- diffusers_workflow-0.4.0/dw_mcp/assets.py +336 -0
- diffusers_workflow-0.4.0/dw_mcp/authoring.py +114 -0
- diffusers_workflow-0.4.0/dw_mcp/catalog.py +360 -0
- diffusers_workflow-0.4.0/dw_mcp/client.py +486 -0
- diffusers_workflow-0.4.0/dw_mcp/diagnose.py +371 -0
- diffusers_workflow-0.4.0/dw_mcp/exports.py +84 -0
- diffusers_workflow-0.4.0/dw_mcp/guides.py +35 -0
- diffusers_workflow-0.4.0/dw_mcp/media.py +638 -0
- diffusers_workflow-0.4.0/dw_mcp/models.py +97 -0
- diffusers_workflow-0.4.0/dw_mcp/prompts.py +104 -0
- diffusers_workflow-0.4.0/dw_mcp/server.py +1343 -0
- diffusers_workflow-0.4.0/dw_mcp/workspaces.py +212 -0
- diffusers_workflow-0.4.0/pyproject.toml +165 -0
- diffusers_workflow-0.4.0/setup.cfg +4 -0
- diffusers_workflow-0.4.0/tests/test_argument_updates.py +64 -0
- diffusers_workflow-0.4.0/tests/test_arguments.py +1318 -0
- diffusers_workflow-0.4.0/tests/test_assess.py +824 -0
- diffusers_workflow-0.4.0/tests/test_assessment_rules.py +275 -0
- diffusers_workflow-0.4.0/tests/test_assets.py +169 -0
- diffusers_workflow-0.4.0/tests/test_audio_utils.py +1537 -0
- diffusers_workflow-0.4.0/tests/test_best_of_n_template.py +56 -0
- diffusers_workflow-0.4.0/tests/test_borders.py +155 -0
- diffusers_workflow-0.4.0/tests/test_cache_blocks.py +440 -0
- diffusers_workflow-0.4.0/tests/test_catalog_shape.py +771 -0
- diffusers_workflow-0.4.0/tests/test_catalog_structure.py +602 -0
- diffusers_workflow-0.4.0/tests/test_chain.py +739 -0
- diffusers_workflow-0.4.0/tests/test_cli.py +219 -0
- diffusers_workflow-0.4.0/tests/test_component_name_errors.py +141 -0
- diffusers_workflow-0.4.0/tests/test_component_pruning.py +176 -0
- diffusers_workflow-0.4.0/tests/test_component_type_errors.py +335 -0
- diffusers_workflow-0.4.0/tests/test_compose_text.py +50 -0
- diffusers_workflow-0.4.0/tests/test_concat_videos.py +771 -0
- diffusers_workflow-0.4.0/tests/test_config_objects.py +369 -0
- diffusers_workflow-0.4.0/tests/test_configuration_schema.py +111 -0
- diffusers_workflow-0.4.0/tests/test_content_types.py +132 -0
- diffusers_workflow-0.4.0/tests/test_depth_estimator.py +59 -0
- diffusers_workflow-0.4.0/tests/test_device.py +149 -0
- diffusers_workflow-0.4.0/tests/test_device_helpers.py +282 -0
- diffusers_workflow-0.4.0/tests/test_device_portability.py +116 -0
- diffusers_workflow-0.4.0/tests/test_dialogue_short_voices.py +120 -0
- diffusers_workflow-0.4.0/tests/test_diffusion_upscale.py +174 -0
- diffusers_workflow-0.4.0/tests/test_dissolve_frame_errors.py +146 -0
- diffusers_workflow-0.4.0/tests/test_dissolve_videos.py +275 -0
- diffusers_workflow-0.4.0/tests/test_docs_links.py +53 -0
- diffusers_workflow-0.4.0/tests/test_download_watch.py +265 -0
- diffusers_workflow-0.4.0/tests/test_elision.py +476 -0
- diffusers_workflow-0.4.0/tests/test_events.py +587 -0
- diffusers_workflow-0.4.0/tests/test_examples.py +234 -0
- diffusers_workflow-0.4.0/tests/test_for_each.py +956 -0
- diffusers_workflow-0.4.0/tests/test_gather.py +265 -0
- diffusers_workflow-0.4.0/tests/test_grade.py +265 -0
- diffusers_workflow-0.4.0/tests/test_h3_adapters.py +195 -0
- diffusers_workflow-0.4.0/tests/test_h3_context_ir.py +129 -0
- diffusers_workflow-0.4.0/tests/test_h3_schedule.py +152 -0
- diffusers_workflow-0.4.0/tests/test_hf_placement.py +14 -0
- diffusers_workflow-0.4.0/tests/test_host_memory.py +221 -0
- diffusers_workflow-0.4.0/tests/test_host_memory_projection.py +159 -0
- diffusers_workflow-0.4.0/tests/test_hub_cache.py +327 -0
- diffusers_workflow-0.4.0/tests/test_image_to_text.py +116 -0
- diffusers_workflow-0.4.0/tests/test_image_utils.py +155 -0
- diffusers_workflow-0.4.0/tests/test_integration.py +285 -0
- diffusers_workflow-0.4.0/tests/test_interpolate_frames.py +203 -0
- diffusers_workflow-0.4.0/tests/test_introspection.py +357 -0
- diffusers_workflow-0.4.0/tests/test_job_history_wal.py +14 -0
- diffusers_workflow-0.4.0/tests/test_job_progress.py +215 -0
- diffusers_workflow-0.4.0/tests/test_job_warnings.py +46 -0
- diffusers_workflow-0.4.0/tests/test_jobs_listing.py +202 -0
- diffusers_workflow-0.4.0/tests/test_jobs_reused.py +69 -0
- diffusers_workflow-0.4.0/tests/test_judge.py +105 -0
- diffusers_workflow-0.4.0/tests/test_kernel_availability.py +255 -0
- diffusers_workflow-0.4.0/tests/test_library_sources.py +249 -0
- diffusers_workflow-0.4.0/tests/test_list_images.py +61 -0
- diffusers_workflow-0.4.0/tests/test_locations.py +501 -0
- diffusers_workflow-0.4.0/tests/test_lora_alpha.py +128 -0
- diffusers_workflow-0.4.0/tests/test_ltx2_diffusion_decode.py +97 -0
- diffusers_workflow-0.4.0/tests/test_ltx2_ic_loras.py +166 -0
- diffusers_workflow-0.4.0/tests/test_ltx_prompt_library.py +123 -0
- diffusers_workflow-0.4.0/tests/test_mcp_assets.py +390 -0
- diffusers_workflow-0.4.0/tests/test_mcp_authoring.py +255 -0
- diffusers_workflow-0.4.0/tests/test_mcp_catalog.py +386 -0
- diffusers_workflow-0.4.0/tests/test_mcp_client.py +534 -0
- diffusers_workflow-0.4.0/tests/test_mcp_diagnose.py +787 -0
- diffusers_workflow-0.4.0/tests/test_mcp_exports.py +156 -0
- diffusers_workflow-0.4.0/tests/test_mcp_guides.py +77 -0
- diffusers_workflow-0.4.0/tests/test_mcp_main.py +136 -0
- diffusers_workflow-0.4.0/tests/test_mcp_media.py +1324 -0
- diffusers_workflow-0.4.0/tests/test_mcp_models.py +129 -0
- diffusers_workflow-0.4.0/tests/test_mcp_prompts.py +179 -0
- diffusers_workflow-0.4.0/tests/test_mcp_server.py +1526 -0
- diffusers_workflow-0.4.0/tests/test_mcp_workspaces.py +393 -0
- diffusers_workflow-0.4.0/tests/test_media_audio.py +343 -0
- diffusers_workflow-0.4.0/tests/test_media_frames.py +558 -0
- diffusers_workflow-0.4.0/tests/test_media_info.py +326 -0
- diffusers_workflow-0.4.0/tests/test_mix_audio.py +152 -0
- diffusers_workflow-0.4.0/tests/test_model_cache.py +113 -0
- diffusers_workflow-0.4.0/tests/test_modular_pipeline.py +896 -0
- diffusers_workflow-0.4.0/tests/test_modular_progress.py +341 -0
- diffusers_workflow-0.4.0/tests/test_observed_cost.py +782 -0
- diffusers_workflow-0.4.0/tests/test_offload_placement.py +105 -0
- diffusers_workflow-0.4.0/tests/test_output_references.py +212 -0
- diffusers_workflow-0.4.0/tests/test_pair_audio.py +117 -0
- diffusers_workflow-0.4.0/tests/test_pair_audio_fit.py +228 -0
- diffusers_workflow-0.4.0/tests/test_phase_events.py +303 -0
- diffusers_workflow-0.4.0/tests/test_pipeline_caching.py +797 -0
- diffusers_workflow-0.4.0/tests/test_pipeline_components.py +761 -0
- diffusers_workflow-0.4.0/tests/test_plan.py +1359 -0
- diffusers_workflow-0.4.0/tests/test_plugin_skills.py +536 -0
- diffusers_workflow-0.4.0/tests/test_previous_results.py +636 -0
- diffusers_workflow-0.4.0/tests/test_prompt_library.py +71 -0
- diffusers_workflow-0.4.0/tests/test_prompt_parser.py +194 -0
- diffusers_workflow-0.4.0/tests/test_prompt_references.py +66 -0
- diffusers_workflow-0.4.0/tests/test_prompt_weighting.py +90 -0
- diffusers_workflow-0.4.0/tests/test_prompts.py +196 -0
- diffusers_workflow-0.4.0/tests/test_realize.py +346 -0
- diffusers_workflow-0.4.0/tests/test_recenter_crop.py +78 -0
- diffusers_workflow-0.4.0/tests/test_reference_limits.py +138 -0
- diffusers_workflow-0.4.0/tests/test_reference_names.py +103 -0
- diffusers_workflow-0.4.0/tests/test_repl_commands.py +56 -0
- diffusers_workflow-0.4.0/tests/test_repl_ergonomics.py +113 -0
- diffusers_workflow-0.4.0/tests/test_repl_worker.py +112 -0
- diffusers_workflow-0.4.0/tests/test_rerun_new_seed.py +153 -0
- diffusers_workflow-0.4.0/tests/test_resize_bucket.py +89 -0
- diffusers_workflow-0.4.0/tests/test_result.py +2146 -0
- diffusers_workflow-0.4.0/tests/test_result_fps.py +189 -0
- diffusers_workflow-0.4.0/tests/test_result_output_naming.py +32 -0
- diffusers_workflow-0.4.0/tests/test_runs.py +959 -0
- diffusers_workflow-0.4.0/tests/test_scalar_result_validation.py +265 -0
- diffusers_workflow-0.4.0/tests/test_scheduler_config.py +145 -0
- diffusers_workflow-0.4.0/tests/test_schema.py +727 -0
- diffusers_workflow-0.4.0/tests/test_security.py +507 -0
- diffusers_workflow-0.4.0/tests/test_security_auth.py +451 -0
- diffusers_workflow-0.4.0/tests/test_security_decoder_bombs.py +209 -0
- diffusers_workflow-0.4.0/tests/test_security_input_caps.py +241 -0
- diffusers_workflow-0.4.0/tests/test_security_ssrf.py +771 -0
- diffusers_workflow-0.4.0/tests/test_security_symlinks.py +696 -0
- diffusers_workflow-0.4.0/tests/test_security_trust_gate.py +976 -0
- diffusers_workflow-0.4.0/tests/test_security_web_headers.py +307 -0
- diffusers_workflow-0.4.0/tests/test_segment.py +155 -0
- diffusers_workflow-0.4.0/tests/test_select.py +114 -0
- diffusers_workflow-0.4.0/tests/test_select_validation.py +185 -0
- diffusers_workflow-0.4.0/tests/test_serve_main.py +89 -0
- diffusers_workflow-0.4.0/tests/test_server.py +5744 -0
- diffusers_workflow-0.4.0/tests/test_server_assess.py +282 -0
- diffusers_workflow-0.4.0/tests/test_server_downloads.py +283 -0
- diffusers_workflow-0.4.0/tests/test_server_exports.py +503 -0
- diffusers_workflow-0.4.0/tests/test_server_guides.py +324 -0
- diffusers_workflow-0.4.0/tests/test_server_info.py +243 -0
- diffusers_workflow-0.4.0/tests/test_server_jobs.py +344 -0
- diffusers_workflow-0.4.0/tests/test_server_mcp.py +174 -0
- diffusers_workflow-0.4.0/tests/test_server_workspaces.py +1093 -0
- diffusers_workflow-0.4.0/tests/test_shot_span_preflight.py +124 -0
- diffusers_workflow-0.4.0/tests/test_shots.py +1104 -0
- diffusers_workflow-0.4.0/tests/test_slice_preflight.py +148 -0
- diffusers_workflow-0.4.0/tests/test_speech_generation.py +464 -0
- diffusers_workflow-0.4.0/tests/test_stabilize.py +110 -0
- diffusers_workflow-0.4.0/tests/test_step.py +385 -0
- diffusers_workflow-0.4.0/tests/test_step_cache.py +574 -0
- diffusers_workflow-0.4.0/tests/test_strip_exif_and_watermark.py +134 -0
- diffusers_workflow-0.4.0/tests/test_subfolders.py +141 -0
- diffusers_workflow-0.4.0/tests/test_task.py +256 -0
- diffusers_workflow-0.4.0/tests/test_task_discovery.py +174 -0
- diffusers_workflow-0.4.0/tests/test_task_domains.py +314 -0
- diffusers_workflow-0.4.0/tests/test_task_signature_errors.py +222 -0
- diffusers_workflow-0.4.0/tests/test_teacache.py +300 -0
- diffusers_workflow-0.4.0/tests/test_template_subfolders.py +96 -0
- diffusers_workflow-0.4.0/tests/test_tensor_image.py +148 -0
- diffusers_workflow-0.4.0/tests/test_text_generation.py +340 -0
- diffusers_workflow-0.4.0/tests/test_text_sections.py +137 -0
- diffusers_workflow-0.4.0/tests/test_transcribe_audio.py +104 -0
- diffusers_workflow-0.4.0/tests/test_type_helpers.py +102 -0
- diffusers_workflow-0.4.0/tests/test_updater.py +135 -0
- diffusers_workflow-0.4.0/tests/test_validate_arguments.py +544 -0
- diffusers_workflow-0.4.0/tests/test_variable_constraints.py +566 -0
- diffusers_workflow-0.4.0/tests/test_variables.py +446 -0
- diffusers_workflow-0.4.0/tests/test_video_extensions.py +107 -0
- diffusers_workflow-0.4.0/tests/test_video_utils.py +937 -0
- diffusers_workflow-0.4.0/tests/test_worker.py +275 -0
- diffusers_workflow-0.4.0/tests/test_worker_execute.py +467 -0
- diffusers_workflow-0.4.0/tests/test_workflow.py +1359 -0
- diffusers_workflow-0.4.0/tests/test_workflow_sources.py +241 -0
- diffusers_workflow-0.4.0/tests/test_workflow_step_cache.py +681 -0
- diffusers_workflow-0.4.0/tests/test_workflow_trust.py +545 -0
- diffusers_workflow-0.4.0/tests/test_workspace.py +249 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: diffusers-workflow
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Declarative workflow engine and web UI for Hugging Face Diffusers
|
|
5
|
+
Author: dkackman
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/dkackman/diffusers-workflow
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: torch>=2.13.0
|
|
20
|
+
Requires-Dist: torchvision>=0.28.0
|
|
21
|
+
Requires-Dist: diffusers>=0.40.0
|
|
22
|
+
Requires-Dist: transformers!=5.17.0,>=5.16.1
|
|
23
|
+
Requires-Dist: accelerate>=1.14.0
|
|
24
|
+
Requires-Dist: peft>=0.20.0
|
|
25
|
+
Requires-Dist: safetensors>=0.8.0
|
|
26
|
+
Requires-Dist: huggingface-hub>=1.29.0
|
|
27
|
+
Requires-Dist: sentencepiece>=0.2.2
|
|
28
|
+
Requires-Dist: protobuf>=7.36.0
|
|
29
|
+
Requires-Dist: ftfy>=6.3.1
|
|
30
|
+
Requires-Dist: torchsde>=0.2.6
|
|
31
|
+
Requires-Dist: torchao>=0.18.0
|
|
32
|
+
Requires-Dist: optimum-quanto>=0.2.7
|
|
33
|
+
Requires-Dist: sdnq>=0.2.5
|
|
34
|
+
Requires-Dist: gguf>=0.19.0
|
|
35
|
+
Requires-Dist: bitsandbytes>=0.50.2; sys_platform == "linux"
|
|
36
|
+
Requires-Dist: controlnet-aux>=0.0.10
|
|
37
|
+
Requires-Dist: opencv-python-headless>=5.0.0.93
|
|
38
|
+
Requires-Dist: kornia>=0.8.3
|
|
39
|
+
Requires-Dist: kernels>=0.17.0
|
|
40
|
+
Requires-Dist: spandrel>=0.4.2
|
|
41
|
+
Requires-Dist: facexlib>=0.3.0
|
|
42
|
+
Requires-Dist: numpy>=2.5.2
|
|
43
|
+
Requires-Dist: Pillow>=12.3.0
|
|
44
|
+
Requires-Dist: piexif>=1.1.3
|
|
45
|
+
Requires-Dist: imageio>=2.37.4
|
|
46
|
+
Requires-Dist: imageio-ffmpeg>=0.6.0
|
|
47
|
+
Requires-Dist: av>=18.1.0
|
|
48
|
+
Requires-Dist: soundfile>=0.14.0
|
|
49
|
+
Requires-Dist: matplotlib>=3.11.1
|
|
50
|
+
Requires-Dist: pyloudnorm>=0.2.0
|
|
51
|
+
Requires-Dist: speechbrain>=1.0.3
|
|
52
|
+
Requires-Dist: qrcode>=8.2
|
|
53
|
+
Requires-Dist: requests>=2.34.2
|
|
54
|
+
Requires-Dist: aiohttp>=3.14.3
|
|
55
|
+
Requires-Dist: beautifulsoup4>=4.15.0
|
|
56
|
+
Requires-Dist: jsonschema>=4.26.0
|
|
57
|
+
Requires-Dist: concurrent-log-handler>=0.9.29
|
|
58
|
+
Requires-Dist: python-dotenv>=1.2.3
|
|
59
|
+
Requires-Dist: packaging>=26.3
|
|
60
|
+
Provides-Extra: server
|
|
61
|
+
Requires-Dist: fastapi>=0.141.1; extra == "server"
|
|
62
|
+
Requires-Dist: uvicorn[standard]>=0.52.4; extra == "server"
|
|
63
|
+
Provides-Extra: mcp
|
|
64
|
+
Requires-Dist: mcp>=2.1.1; extra == "mcp"
|
|
65
|
+
Requires-Dist: httpx>=0.28.1; extra == "mcp"
|
|
66
|
+
Provides-Extra: dev
|
|
67
|
+
Requires-Dist: pytest>=9.1.1; extra == "dev"
|
|
68
|
+
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
|
|
69
|
+
Requires-Dist: pytest-xdist>=3.8.0; extra == "dev"
|
|
70
|
+
Requires-Dist: pytest-timeout>=2.4.0; extra == "dev"
|
|
71
|
+
Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
|
|
72
|
+
Requires-Dist: pytest-asyncio>=1.4.0; extra == "dev"
|
|
73
|
+
Requires-Dist: httpx>=0.28.1; extra == "dev"
|
|
74
|
+
Requires-Dist: ruff>=0.15.0; extra == "dev"
|
|
75
|
+
Requires-Dist: build; extra == "dev"
|
|
76
|
+
Requires-Dist: mcp>=2.1.1; extra == "dev"
|
|
77
|
+
Dynamic: license-file
|
|
78
|
+
|
|
79
|
+
[](https://github.com/dkackman/diffusers-workflow/actions/workflows/github-code-scanning/codeql)
|
|
80
|
+
|
|
81
|
+
# diffusers-workflow
|
|
82
|
+
|
|
83
|
+
Your GPU, as something an agent can drive.
|
|
84
|
+
|
|
85
|
+
diffusers-workflow wraps the [Hugging Face Diffusers library](https://github.com/huggingface/diffusers)
|
|
86
|
+
in an engine that runs image, video and audio generation as jobs, and puts
|
|
87
|
+
two front ends on it: an **MCP server**, so Claude Code (or any MCP client)
|
|
88
|
+
can author, run and inspect generations; and a **web UI** for doing the same
|
|
89
|
+
by hand. A CLI and REPL sit underneath for when you want neither.
|
|
90
|
+
|
|
91
|
+
**Python 3.10-3.14 | CUDA (NVIDIA) | MPS (Apple Silicon) | CPU**
|
|
92
|
+
|
|
93
|
+
<picture>
|
|
94
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/img/ui-workflows-dark.png">
|
|
95
|
+
<img alt="The workflow browser: every workflow as a card with its description, output kinds, and variables" src="docs/img/ui-workflows.png">
|
|
96
|
+
</picture>
|
|
97
|
+
|
|
98
|
+
## Getting started
|
|
99
|
+
|
|
100
|
+
**1. Install.** The script picks the right torch build for your platform,
|
|
101
|
+
creates a virtual environment and installs everything, MCP server included.
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# Linux / macOS
|
|
105
|
+
bash ./install.sh
|
|
106
|
+
source ./activate
|
|
107
|
+
|
|
108
|
+
# Windows
|
|
109
|
+
.\install.ps1
|
|
110
|
+
.\venv\scripts\activate
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
`python -m dw.test` confirms torch and diffusers import and shows which
|
|
114
|
+
accelerator was found.
|
|
115
|
+
|
|
116
|
+
**2. Start the engine.** Leave it running; everything else talks to it.
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
dw-serve
|
|
120
|
+
# diffusers-workflow server on http://127.0.0.1:8765
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
That address is the web UI. Open it and run `templates/text-to-image` — a
|
|
124
|
+
small, ungated model, so the first generation needs no Hugging Face login and
|
|
125
|
+
downloads only a few GB.
|
|
126
|
+
|
|
127
|
+
**3. Connect Claude Code.** Register the MCP server with the absolute path to
|
|
128
|
+
`dw-mcp` in the venv you just made (the relative path is the one setup detail
|
|
129
|
+
that reliably goes wrong):
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
claude mcp add dw -- "$(pwd)/venv/bin/dw-mcp"
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Then, optionally, the [dw plugin](plugins/dw/README.md) — one skill per model
|
|
136
|
+
family that knows which workflow fits a request and the rules that bite:
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
/plugin marketplace add dkackman/diffusers-workflow
|
|
140
|
+
/plugin install dw@diffusers-workflow
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Most of the shipped workflows (Flux, LTX-2, MiniMax...) use **gated** models.
|
|
144
|
+
Request access on the model's Hugging Face page, then `huggingface-cli login`
|
|
145
|
+
once; without it the run fails partway through with a 401/403 from the Hub.
|
|
146
|
+
|
|
147
|
+
> **GPU on another machine?** Start the engine there with `--mcp` and connect
|
|
148
|
+
> over HTTP — nothing to install on the laptop:
|
|
149
|
+
>
|
|
150
|
+
> ```bash
|
|
151
|
+
> # on the GPU box
|
|
152
|
+
> dw-serve --host 0.0.0.0 --token "$DW_API_TOKEN" --mcp --workspace ~/studio
|
|
153
|
+
>
|
|
154
|
+
> # on your laptop
|
|
155
|
+
> claude mcp add --transport http dw http://gpu-box:8765/mcp \
|
|
156
|
+
> --header "Authorization: Bearer $DW_API_TOKEN"
|
|
157
|
+
> ```
|
|
158
|
+
>
|
|
159
|
+
> The server's own **Server** page composes that line for the address you
|
|
160
|
+
> pick. End to end: [Remote GPU server](docs/REMOTE.md).
|
|
161
|
+
|
|
162
|
+
## Drive it from an agent
|
|
163
|
+
|
|
164
|
+
Then just ask. The agent has 59 tools covering the whole surface — the
|
|
165
|
+
workflow catalog, the real diffusers pipeline signatures, the job queue, the
|
|
166
|
+
gallery, the model cache:
|
|
167
|
+
|
|
168
|
+

|
|
169
|
+
|
|
170
|
+
Generation is the long pass, and the agent stays with it — queuing each shot,
|
|
171
|
+
waiting it out, and reporting what came back:
|
|
172
|
+
|
|
173
|
+

|
|
174
|
+
|
|
175
|
+
What a session looks like:
|
|
176
|
+
|
|
177
|
+
- **"What can this box run, and what do I already have?"** — `get_server_info`
|
|
178
|
+
for the accelerator and workspace, `list_workflows` for the catalog with each
|
|
179
|
+
entry's shape, cost and variables, `list_models` for what is already in the
|
|
180
|
+
hub cache. The agent knows the device before it proposes anything CUDA-only.
|
|
181
|
+
- **"Take my Flux workflow, swap in the portrait LoRA, render four at 1024."**
|
|
182
|
+
— `get_workflow`, `get_pipeline_signature` to check the arguments exist,
|
|
183
|
+
`validate_workflow` (free: schema *and* signature checking, no model loads),
|
|
184
|
+
`save_workflow`, `run_workflow`. That last one refuses until the agent passes
|
|
185
|
+
`acknowledged_cost=true`, so it has to tell you what it is about to spend.
|
|
186
|
+
- **"How's it going?"** — `wait_for_job` blocks for a bounded interval instead
|
|
187
|
+
of polling; `get_output_image` brings the result back into the conversation
|
|
188
|
+
so the agent can look at what it made.
|
|
189
|
+
- **"That third frame is the one — keep it and seed the video pass from it."**
|
|
190
|
+
— `keep_output` promotes the file into the asset library under a name you
|
|
191
|
+
pick, and the next workflow references `asset:hero-frame.png`.
|
|
192
|
+
|
|
193
|
+
Everything that costs real GPU time or real disk (`run_workflow`, `rerun_job`,
|
|
194
|
+
`enhance_prompt`, `download_model`, `delete_model`, `update_diffusers`,
|
|
195
|
+
`delete_workspace`) refuses until it is explicitly acknowledged, so an agent
|
|
196
|
+
cannot quietly burn an hour of GPU or delete 40GB of weights.
|
|
197
|
+
|
|
198
|
+
One server holds several **workspaces** — each with its own workflows, assets
|
|
199
|
+
and outputs — so two agents, or an agent and you in the browser, share the GPU
|
|
200
|
+
without saving over each other. An agent calls `use_workspace` once and the
|
|
201
|
+
rest of the session lands there.
|
|
202
|
+
|
|
203
|
+
**Feedback from a session.** At the end of a working session, ask the agent
|
|
204
|
+
what got in its way: bugs, gaps, misleading skill text, tools it reached for
|
|
205
|
+
and couldn't find. Have it file each one as an issue on
|
|
206
|
+
`dkackman/diffusers-workflow` with the `field-report` label, for example:
|
|
207
|
+
|
|
208
|
+
> File each bug or gap you hit as an issue on dkackman/diffusers-workflow
|
|
209
|
+
> with the label `field-report`.
|
|
210
|
+
|
|
211
|
+
The label marks a report as coming from real use, not from the automated test
|
|
212
|
+
loop. The agent loop (see [Agent Loop](docs/AGENT_LOOP.md)) picks the report up
|
|
213
|
+
like any other issue when you filed it yourself; a report filed under any
|
|
214
|
+
other GitHub login is parked for the maintainer to review first (relabelled
|
|
215
|
+
`owner:don` + `status:needs-approval`), since the loop must not act
|
|
216
|
+
unattended on third-party text in a public repo, and is only handed to the
|
|
217
|
+
loop, or not, after that review. The label is also what feature planning
|
|
218
|
+
reads as evidence of demand.
|
|
219
|
+
|
|
220
|
+
The complete tool reference, client configuration for other MCP hosts, and the
|
|
221
|
+
troubleshooting table: [MCP Server](docs/MCP.md). Workspaces in depth:
|
|
222
|
+
[Workspaces](docs/WORKSPACES.md).
|
|
223
|
+
|
|
224
|
+
## The web UI
|
|
225
|
+
|
|
226
|
+
Everything the engine does, in a browser, backed by the same persistent GPU
|
|
227
|
+
worker — models stay loaded between runs.
|
|
228
|
+
|
|
229
|
+
**An editor built from the real pipeline signatures.** Forms and argument
|
|
230
|
+
autocomplete are generated by introspecting diffusers itself, so every knob a
|
|
231
|
+
pipeline exposes is there with its documentation. Validation catches schema
|
|
232
|
+
errors *and* argument typos before any model loads.
|
|
233
|
+
|
|
234
|
+

|
|
235
|
+
|
|
236
|
+
**A gallery where every image is a recipe.** Outputs carry their full workflow
|
|
237
|
+
and seed; *open as workflow* drops any image back into the editor, ready to
|
|
238
|
+
reproduce or riff on. *Keep as asset* promotes a generated file into the asset
|
|
239
|
+
library for later workflows to build on.
|
|
240
|
+
|
|
241
|
+

|
|
242
|
+
|
|
243
|
+
**A prompt library** stores a prompt once and lets any workflow reference it,
|
|
244
|
+
with an *Enhance with AI* panel that expands an idea into a full prompt using
|
|
245
|
+
a local language model. **A model manager** inventories the Hugging Face hub
|
|
246
|
+
cache — sizes, last use, free space — and downloads or deletes models with
|
|
247
|
+
live progress.
|
|
248
|
+
|
|
249
|
+

|
|
250
|
+
|
|
251
|
+
Jobs queue, stream progress live per denoising step, cancel cooperatively and
|
|
252
|
+
persist to a searchable history. See [Server & Web UI](docs/SERVER.md) for the
|
|
253
|
+
pages and the HTTP API.
|
|
254
|
+
|
|
255
|
+
## The command line
|
|
256
|
+
|
|
257
|
+
The engine also runs standalone, with no server involved:
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
python -m dw.run workflows/templates/text-to-image.json
|
|
261
|
+
python -m dw.run workflows/templates/text-to-image.json prompt="a cat" num_images_per_prompt=4
|
|
262
|
+
python -m dw.validate workflows/models/flux-dev.json
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
An interactive REPL (`python -m dw.repl`) keeps models resident between runs
|
|
266
|
+
for 2-4x faster iteration. See [REPL Commands](docs/REPL_COMMANDS.md).
|
|
267
|
+
|
|
268
|
+
## What's underneath
|
|
269
|
+
|
|
270
|
+
Every front end reads and writes the same thing: a JSON document of named
|
|
271
|
+
steps, each a diffusers pipeline or a utility task, whose arguments reference
|
|
272
|
+
variables, earlier steps' outputs, stored prompts and assets rather than
|
|
273
|
+
hard-coded values. That is what makes text-to-image chain into image-to-video,
|
|
274
|
+
and what makes a generated image reopen as the exact recipe that produced it.
|
|
275
|
+
[workflows/](workflows/) is a corpus of runnable examples across model
|
|
276
|
+
families; the [Workflow Guide](docs/WORKFLOW_GUIDE.md) is the reference when
|
|
277
|
+
you do want to write one.
|
|
278
|
+
|
|
279
|
+
Because a workflow reaches any diffusers pipeline or quantization backend by
|
|
280
|
+
dynamic import, loading one can execute arbitrary Python. Treat a workflow
|
|
281
|
+
file from someone else the way you'd treat a `.py` script — see
|
|
282
|
+
[Trust model](docs/SECURITY.md#trust-model).
|
|
283
|
+
|
|
284
|
+
Under the hood the engine also handles: quantization (BitsAndBytes, TorchAO,
|
|
285
|
+
GGUF, SDNQ, optimum-quanto); inference acceleration (TeaCache,
|
|
286
|
+
FirstBlockCache, FasterCache, MagCache, TaylorSeerCache); LoRA and IP-Adapter;
|
|
287
|
+
A1111-style prompt weighting; long-video chaining with audio-driven length;
|
|
288
|
+
step-output caching, so re-running a fixed-seed workflow finishes instantly;
|
|
289
|
+
and utility tasks for upscaling, face restoration, segmentation, captioning,
|
|
290
|
+
frame interpolation and more.
|
|
291
|
+
|
|
292
|
+
## Documentation
|
|
293
|
+
|
|
294
|
+
### Guides
|
|
295
|
+
|
|
296
|
+
- [MCP Server](docs/MCP.md) — The agent tool surface (Claude Code, Claude Desktop)
|
|
297
|
+
- [Server & Web UI](docs/SERVER.md) — The web UI, jobs API, and introspection service
|
|
298
|
+
- [Remote GPU server](docs/REMOTE.md) — Using the server, UI and MCP from another machine
|
|
299
|
+
- [Workspaces](docs/WORKSPACES.md) — Where your content lives, run directories, and several workspaces on one server
|
|
300
|
+
- [Workflow Guide](docs/WORKFLOW_GUIDE.md) — JSON structure, variables, steps, data flow
|
|
301
|
+
- [Quantization](docs/QUANTIZATION.md) — BitsAndBytes, TorchAO, GGUF, SDNQ
|
|
302
|
+
- [Inference Acceleration](docs/ACCELERATION.md) — torch.compile, FirstBlockCache, MagCache, TaylorSeer, TeaCache
|
|
303
|
+
- [Fast on 24GB](docs/RECIPES_24GB.md) — Recommended speed/memory configurations per model family
|
|
304
|
+
- [LoRA](docs/LORAS.md) — Loading and stacking LoRA adapters
|
|
305
|
+
- [IP-Adapter](docs/IP_ADAPTER.md) — Image-prompt conditioning
|
|
306
|
+
- [Prompt Weighting](docs/PROMPT_WEIGHTING.md) — A1111-style syntax
|
|
307
|
+
- [Prompt References](docs/WORKFLOW_GUIDE.md#prompt-references) — The stored prompt library and `prompt:` references
|
|
308
|
+
- [Tasks](docs/TASKS.md) — Image processing, ControlNet preprocessors, utilities
|
|
309
|
+
|
|
310
|
+
### Reference
|
|
311
|
+
|
|
312
|
+
- [REPL Commands](docs/REPL_COMMANDS.md) — Interactive REPL command reference
|
|
313
|
+
- [Worker Guide](docs/REPL_WORKER_GUIDE.md) — GPU persistence and troubleshooting
|
|
314
|
+
- [Dependencies](docs/DEPENDENCIES.md) — Installation details
|
|
315
|
+
- [Security](docs/SECURITY.md) — Security model
|
|
316
|
+
- [Testing](docs/TESTING.md) — Running the test suite
|
|
317
|
+
- [Releasing](docs/RELEASING.md) — Cutting a release from a version tag
|
|
318
|
+
- [Agent Loop](docs/AGENT_LOOP.md) — What the automated implementer/tester ticket labels mean, for anyone joining an Issue
|