horde-engine 3.2.4__tar.gz → 3.2.6__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.
Files changed (238) hide show
  1. {horde_engine-3.2.4 → horde_engine-3.2.6}/PKG-INFO +2 -1
  2. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/_version.py +2 -2
  3. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/api.py +6 -0
  4. horde_engine-3.2.6/hordelib/pipeline/constants.py +98 -0
  5. {horde_engine-3.2.4 → horde_engine-3.2.6}/pyproject.toml +14 -12
  6. horde_engine-3.2.4/hordelib/pipeline/constants.py +0 -58
  7. {horde_engine-3.2.4 → horde_engine-3.2.6}/.gitignore +0 -0
  8. {horde_engine-3.2.4 → horde_engine-3.2.6}/LICENSE +0 -0
  9. {horde_engine-3.2.4 → horde_engine-3.2.6}/README.md +0 -0
  10. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/__init__.py +0 -0
  11. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/__pyinstaller.py +0 -0
  12. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/benchmark.py +0 -0
  13. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/beta_models.py +0 -0
  14. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/comfy_horde.py +0 -0
  15. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/config_path.py +0 -0
  16. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/consts.py +0 -0
  17. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/exceptions.py +0 -0
  18. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/__init__.py +0 -0
  19. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/comfy_patches.py +0 -0
  20. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/graph_utils.py +0 -0
  21. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/in_process.py +0 -0
  22. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/interface.py +0 -0
  23. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/phase_timing.py +0 -0
  24. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/progress_hook.py +0 -0
  25. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/execution/sampling_lease.py +0 -0
  26. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/feature_impact.py +0 -0
  27. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/feature_requirements.py +0 -0
  28. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/horde.py +0 -0
  29. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/initialisation.py +0 -0
  30. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/installation/__init__.py +0 -0
  31. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/installation/__main__.py +0 -0
  32. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/installation/installer.py +0 -0
  33. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/installation/manifest.json +0 -0
  34. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/installation/manifest.py +0 -0
  35. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/integrations/__init__.py +0 -0
  36. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/integrations/logfire_comfy_internals.py +0 -0
  37. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/integrations/logfire_setup.py +0 -0
  38. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/metrics.py +0 -0
  39. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_database/db_dep.json +0 -0
  40. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_database/db_embeds.json +0 -0
  41. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_database/diffusers.json +0 -0
  42. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_database/med_config.json +0 -0
  43. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/__init__.py +0 -0
  44. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/base.py +0 -0
  45. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/civitai_adhoc.py +0 -0
  46. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/civitai_provider.py +0 -0
  47. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/civitai_records.py +0 -0
  48. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/codeformer.py +0 -0
  49. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/compvis.py +0 -0
  50. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/controlnet.py +0 -0
  51. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/diffusers.py +0 -0
  52. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/esrgan.py +0 -0
  53. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/gfpgan.py +0 -0
  54. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/hyper.py +0 -0
  55. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/lora.py +0 -0
  56. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/miscellaneous.py +0 -0
  57. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/safety_checker.py +0 -0
  58. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/model_manager/ti.py +0 -0
  59. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/__init__.py +0 -0
  60. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/LICENSE +0 -0
  61. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/README.md +0 -0
  62. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/__init__.py +0 -0
  63. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_cond_example.json +0 -0
  64. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_cond_fg_all.json +0 -0
  65. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_cond_joint_bg.json +0 -0
  66. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_cond_joint_fg.json +0 -0
  67. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_diff_bg.json +0 -0
  68. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_diff_bg_stop_at.json +0 -0
  69. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_diff_fg.json +0 -0
  70. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_fg_example.json +0 -0
  71. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_fg_example_rgba.json +0 -0
  72. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/examples/layer_diffusion_joint.json +0 -0
  73. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/layered_diffusion.py +0 -0
  74. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/lib_layerdiffusion/__init__.py +0 -0
  75. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/lib_layerdiffusion/attention_sharing.py +0 -0
  76. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/lib_layerdiffusion/enums.py +0 -0
  77. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/lib_layerdiffusion/models.py +0 -0
  78. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/lib_layerdiffusion/utils.py +0 -0
  79. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/pyproject.toml +0 -0
  80. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/comfyui_layerdiffuse/requirements.txt +0 -0
  81. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/LICENSE +0 -0
  82. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/README.md +0 -0
  83. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/__init__.py +0 -0
  84. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/VERSION +0 -0
  85. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/__init__.py +0 -0
  86. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/__init__.py +0 -0
  87. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/arcface_arch.py +0 -0
  88. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/arch_util.py +0 -0
  89. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/codeformer_arch.py +0 -0
  90. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/rrdbnet_arch.py +0 -0
  91. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/vgg_arch.py +0 -0
  92. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/archs/vqgan_arch.py +0 -0
  93. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/data/__init__.py +0 -0
  94. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/data/data_sampler.py +0 -0
  95. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/data/data_util.py +0 -0
  96. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/data/prefetch_dataloader.py +0 -0
  97. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/data/transforms.py +0 -0
  98. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/losses/__init__.py +0 -0
  99. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/losses/loss_util.py +0 -0
  100. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/losses/losses.py +0 -0
  101. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/metrics/__init__.py +0 -0
  102. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/metrics/metric_util.py +0 -0
  103. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/metrics/psnr_ssim.py +0 -0
  104. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/models/__init__.py +0 -0
  105. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/__init__.py +0 -0
  106. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/dcn/__init__.py +0 -0
  107. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/dcn/deform_conv.py +0 -0
  108. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/dcn/src/deform_conv_cuda.cpp +0 -0
  109. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/dcn/src/deform_conv_cuda_kernel.cu +0 -0
  110. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/dcn/src/deform_conv_ext.cpp +0 -0
  111. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/fused_act/__init__.py +0 -0
  112. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/fused_act/fused_act.py +0 -0
  113. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/fused_act/src/fused_bias_act.cpp +0 -0
  114. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/fused_act/src/fused_bias_act_kernel.cu +0 -0
  115. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/upfirdn2d/__init__.py +0 -0
  116. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/upfirdn2d/src/upfirdn2d.cpp +0 -0
  117. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/upfirdn2d/src/upfirdn2d_kernel.cu +0 -0
  118. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/ops/upfirdn2d/upfirdn2d.py +0 -0
  119. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/setup.py +0 -0
  120. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/train.py +0 -0
  121. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/__init__.py +0 -0
  122. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/dist_util.py +0 -0
  123. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/download_util.py +0 -0
  124. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/file_client.py +0 -0
  125. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/img_util.py +0 -0
  126. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/lmdb_util.py +0 -0
  127. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/logger.py +0 -0
  128. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/matlab_functions.py +0 -0
  129. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/misc.py +0 -0
  130. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/options.py +0 -0
  131. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/realesrgan_utils.py +0 -0
  132. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/utils/registry.py +0 -0
  133. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/basicsr/version.py +0 -0
  134. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/__init__.py +0 -0
  135. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/__init__.py +0 -0
  136. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/align_trans.py +0 -0
  137. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/matlab_cp2tform.py +0 -0
  138. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/retinaface/retinaface.py +0 -0
  139. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/retinaface/retinaface_net.py +0 -0
  140. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/retinaface/retinaface_utils.py +0 -0
  141. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/__init__.py +0 -0
  142. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/face_detector.py +0 -0
  143. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/models/__init__.py +0 -0
  144. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/models/common.py +0 -0
  145. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/models/experimental.py +0 -0
  146. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/models/yolo.py +0 -0
  147. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/models/yolov5l.yaml +0 -0
  148. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/models/yolov5n.yaml +0 -0
  149. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/utils/__init__.py +0 -0
  150. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/utils/autoanchor.py +0 -0
  151. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/utils/datasets.py +0 -0
  152. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/utils/extract_ckpt.py +0 -0
  153. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/utils/general.py +0 -0
  154. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/detection/yolov5face/utils/torch_utils.py +0 -0
  155. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/parsing/__init__.py +0 -0
  156. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/parsing/bisenet.py +0 -0
  157. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/parsing/parsenet.py +0 -0
  158. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/parsing/resnet.py +0 -0
  159. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/utils/__init__.py +0 -0
  160. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/utils/face_restoration_helper.py +0 -0
  161. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/utils/face_utils.py +0 -0
  162. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/facelib/utils/misc.py +0 -0
  163. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/r_chainner/README.md +0 -0
  164. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/r_chainner/__init__.py +0 -0
  165. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/r_chainner/gfpganv1_clean_arch.py +0 -0
  166. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/r_chainner/model_loading.py +0 -0
  167. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/r_chainner/stylegan2_clean_arch.py +0 -0
  168. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/facerestore_cf/r_chainner/types.py +0 -0
  169. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/node_controlnet_model_loader.py +0 -0
  170. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/node_image_loader.py +0 -0
  171. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/node_image_output.py +0 -0
  172. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/node_lora_loader.py +0 -0
  173. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/node_model_loader.py +0 -0
  174. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/nodes/node_upscale_model_loader.py +0 -0
  175. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/__init__.py +0 -0
  176. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/context.py +0 -0
  177. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/families/__init__.py +0 -0
  178. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/families/image.py +0 -0
  179. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/families/post_processing.py +0 -0
  180. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/graph.py +0 -0
  181. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/horde_compat.py +0 -0
  182. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/patches.py +0 -0
  183. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/payload.py +0 -0
  184. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/payload_pp.py +0 -0
  185. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/registry.py +0 -0
  186. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/resolution.py +0 -0
  187. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline/template.py +0 -0
  188. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_controlnet.json +0 -0
  189. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_controlnet_annotator.json +0 -0
  190. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_controlnet_hires_fix.json +0 -0
  191. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_flux.json +0 -0
  192. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_image_facefix.json +0 -0
  193. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_image_upscale.json +0 -0
  194. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_qr_code.json +0 -0
  195. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_qwen.json +0 -0
  196. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_cascade.json +0 -0
  197. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_cascade_2pass.json +0 -0
  198. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_cascade_remix.json +0 -0
  199. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_diffusion.json +0 -0
  200. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_diffusion_hires_fix.json +0 -0
  201. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_diffusion_img2img_mask.json +0 -0
  202. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipeline_designs/pipeline_stable_diffusion_paint.json +0 -0
  203. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_controlnet.json +0 -0
  204. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_controlnet_annotator.json +0 -0
  205. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_controlnet_hires_fix.json +0 -0
  206. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_flux.json +0 -0
  207. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_image_facefix.json +0 -0
  208. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_image_upscale.json +0 -0
  209. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_qr_code.json +0 -0
  210. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_qwen.json +0 -0
  211. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_cascade.json +0 -0
  212. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_cascade_2pass.json +0 -0
  213. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_cascade_remix.json +0 -0
  214. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_diffusion.json +0 -0
  215. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_diffusion_hires_fix.json +0 -0
  216. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_diffusion_img2img_mask.json +0 -0
  217. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pipelines/pipeline_stable_diffusion_paint.json +0 -0
  218. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/preload.py +0 -0
  219. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/py.typed +0 -0
  220. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pyinstaller_hooks/__init__.py +0 -0
  221. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/pyinstaller_hooks/hook-hordelib.horde.py +0 -0
  222. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/safety.py +0 -0
  223. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/safety_checker.py +0 -0
  224. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/settings.py +0 -0
  225. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/shared_model_manager.py +0 -0
  226. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/train.py +0 -0
  227. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/__init__.py +0 -0
  228. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/distance.py +0 -0
  229. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/dynamicprompt.py +0 -0
  230. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/gpuinfo.py +0 -0
  231. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/image_utils.py +0 -0
  232. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/ioredirect.py +0 -0
  233. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/logger.py +0 -0
  234. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/optional_deps.py +0 -0
  235. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/sanitizer.py +0 -0
  236. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/switch.py +0 -0
  237. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/torch_build.py +0 -0
  238. {horde_engine-3.2.4 → horde_engine-3.2.6}/hordelib/utils/torch_memory.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: horde-engine
3
- Version: 3.2.4
3
+ Version: 3.2.6
4
4
  Summary: A wrapper around ComfyUI to allow use by AI Horde.
5
5
  Project-URL: Homepage, https://github.com/Haidra-Org/hordelib
6
6
  Project-URL: Bug Tracker, https://github.com/Haidra-Org/hordelib/issues
@@ -695,6 +695,7 @@ Requires-Dist: horde-sdk>=0.20.1
695
695
  Requires-Dist: kornia>=0.7.1
696
696
  Requires-Dist: logfire[system-metrics]==4.14.2
697
697
  Requires-Dist: loguru>=0.7.3
698
+ Requires-Dist: lpips
698
699
  Requires-Dist: matplotlib>=3.10.9
699
700
  Requires-Dist: numpy>=1.25.0
700
701
  Requires-Dist: omegaconf>=2.3.0
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '3.2.4'
22
- __version_tuple__ = version_tuple = (3, 2, 4)
21
+ __version__ = version = '3.2.6'
22
+ __version_tuple__ = version_tuple = (3, 2, 6)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -53,6 +53,10 @@ from hordelib.metrics import (
53
53
  SamplingStats,
54
54
  get_metrics_collector,
55
55
  )
56
+ from hordelib.pipeline.constants import (
57
+ CONTROLNET_ANNOTATOR_DOWNLOAD_BYTES,
58
+ controlnet_annotator_download_bytes,
59
+ )
56
60
  from hordelib.pipeline.payload import ImageGenPayload
57
61
  from hordelib.pipeline.payload_pp import (
58
62
  FacefixPayload,
@@ -77,6 +81,7 @@ from hordelib.utils.torch_memory import (
77
81
  )
78
82
 
79
83
  __all__ = [
84
+ "CONTROLNET_ANNOTATOR_DOWNLOAD_BYTES",
80
85
  "FEATURE_KIND",
81
86
  "AcceleratorInfo",
82
87
  "AcceleratorKind",
@@ -114,6 +119,7 @@ __all__ = [
114
119
  "available_features",
115
120
  "classify_post_processor",
116
121
  "clear_accelerator_cache",
122
+ "controlnet_annotator_download_bytes",
117
123
  "enumerate_accelerators",
118
124
  "estimate_job_burden",
119
125
  "feature_available",
@@ -0,0 +1,98 @@
1
+ """Vocabularies shared by the payload models and pipeline templates.
2
+
3
+ These are the canonical copies; ``HordeLib``'s class attributes alias them for backwards
4
+ compatibility until the legacy payload path is removed.
5
+ """
6
+
7
+ from collections.abc import Iterable
8
+
9
+ SAMPLERS_MAP = {
10
+ "k_euler": "euler",
11
+ "k_euler_a": "euler_ancestral",
12
+ "k_heun": "heun",
13
+ "k_dpm_2": "dpm_2",
14
+ "k_dpm_2_a": "dpm_2_ancestral",
15
+ "k_lms": "lms",
16
+ "k_dpm_fast": "dpm_fast",
17
+ "k_dpm_adaptive": "dpm_adaptive",
18
+ "k_dpmpp_2s_a": "dpmpp_2s_ancestral",
19
+ "k_dpmpp_sde": "dpmpp_sde",
20
+ "k_dpmpp_2m": "dpmpp_2m",
21
+ "ddim": "ddim",
22
+ "uni_pc": "uni_pc",
23
+ "uni_pc_bh2": "uni_pc_bh2",
24
+ "plms": "euler",
25
+ "lcm": "lcm",
26
+ }
27
+ """Horde sampler names to ComfyUI sampler names."""
28
+
29
+ # Horde control_type on the left, comfyui_controlnet_aux preprocessor on the right
30
+ CONTROLNET_IMAGE_PREPROCESSOR_MAP = {
31
+ "canny": "CannyEdgePreprocessor",
32
+ "hed": "HEDPreprocessor",
33
+ "depth": "LeReS-DepthMapPreprocessor",
34
+ "normal": "MiDaS-NormalMapPreprocessor",
35
+ "openpose": "OpenposePreprocessor",
36
+ "seg": "SemSegPreprocessor",
37
+ "scribble": "ScribblePreprocessor",
38
+ "fakescribbles": "FakeScribblePreprocessor",
39
+ "hough": "M-LSDPreprocessor", # horde backward compatibility
40
+ "mlsd": "M-LSDPreprocessor",
41
+ }
42
+
43
+ CONTROLNET_MODEL_MAP = {
44
+ "canny": "diff_control_sd15_canny_fp16.safetensors",
45
+ "hed": "diff_control_sd15_hed_fp16.safetensors",
46
+ "depth": "diff_control_sd15_depth_fp16.safetensors",
47
+ "normal": "control_normal_fp16.safetensors",
48
+ "openpose": "control_openpose_fp16.safetensors",
49
+ "seg": "control_seg_fp16.safetensors",
50
+ "scribble": "control_scribble_fp16.safetensors",
51
+ "fakescribble": "control_scribble_fp16.safetensors",
52
+ "fakescribbles": "control_scribble_fp16.safetensors",
53
+ "mlsd": "control_mlsd_fp16.safetensors",
54
+ "hough": "control_mlsd_fp16.safetensors",
55
+ }
56
+ """Horde control_type to controlnet model filename."""
57
+
58
+ # Rough order-of-magnitude of the checkpoint(s) each control_type's comfyui_controlnet_aux detector
59
+ # downloads from the HuggingFace hub on first use, into AUX_ANNOTATOR_CKPTS_PATH (see hordelib.preload).
60
+ # These are *annotator* (preprocessor) weights, distinct from the controlnet model weights in
61
+ # CONTROLNET_MODEL_MAP. Used only for download/disk previews (e.g. the worker's benchmark planner), so a
62
+ # ROM estimate is sufficient; the real fetch verifies actual sizes. canny/scribble/mlsd are pure-cv2 and
63
+ # download nothing (0). Keep keys aligned with CONTROLNET_IMAGE_PREPROCESSOR_MAP.
64
+ CONTROLNET_ANNOTATOR_DOWNLOAD_BYTES = {
65
+ "canny": 0,
66
+ "hed": 56 * 1024**2, # ControlNetHED.pth
67
+ "depth": 800 * 1024**2, # LeReS: res101.pth (~470MB) + latest_net_G.pth (~320MB)
68
+ "normal": 470 * 1024**2, # Intel/dpt-hybrid-midas pytorch_model.bin
69
+ "openpose": 200 * 1024**2, # body/hand/face pose models (needs the controlnet/onnxruntime extra)
70
+ "seg": 170 * 1024**2, # UniFormer segmentation
71
+ "scribble": 0,
72
+ "fakescribbles": 56 * 1024**2, # FakeScribble runs the HED detector underneath
73
+ "hough": 6 * 1024**2, # M-LSD
74
+ "mlsd": 6 * 1024**2,
75
+ }
76
+ """Horde control_type to an estimated annotator-checkpoint download size in bytes (ROM)."""
77
+
78
+
79
+ def controlnet_annotator_download_bytes(control_types: Iterable[str | None]) -> int:
80
+ """Return the summed ROM annotator-download size for *control_types*.
81
+
82
+ Unknown or ``None`` control types contribute 0 (they may be pure-cv2 or not annotator-backed), so a
83
+ consumer can pass a level's raw control types without filtering. Duplicates are de-duplicated first:
84
+ an annotator is fetched once and shared on disk, so sweeping the same type twice costs it once.
85
+
86
+ Args:
87
+ control_types: Horde ``control_type`` values (``None`` entries allowed and ignored).
88
+
89
+ Returns:
90
+ The total estimated annotator download size in bytes (0 when none are annotator-backed).
91
+ """
92
+ distinct = {control_type for control_type in control_types if control_type}
93
+ return sum(CONTROLNET_ANNOTATOR_DOWNLOAD_BYTES.get(control_type, 0) for control_type in distinct)
94
+
95
+
96
+ SOURCE_IMAGE_PROCESSING_OPTIONS = ["img2img", "inpainting", "outpainting", "remix"]
97
+
98
+ SCHEDULERS = ["normal", "karras", "simple", "ddim_uniform", "sgm_uniform", "exponential"]
@@ -57,6 +57,7 @@ dependencies = [
57
57
  "kornia>=0.7.1",
58
58
  "logfire[system-metrics]==4.14.2",
59
59
  "loguru>=0.7.3",
60
+ "lpips",
60
61
  "matplotlib>=3.10.9", # comfyui_controlnet_aux node requirement (not a hordelib import)
61
62
  "numpy>=1.25.0",
62
63
  "omegaconf>=2.3.0", # comfyui_controlnet_aux + facerestore_cf node requirement (not a hordelib import)
@@ -82,18 +83,13 @@ dependencies = [
82
83
  "sqlalchemy>=2.0.0",
83
84
  "strenum>=0.4.15",
84
85
  "tokenizers>=0.13.3",
86
+ "torchdiffeq>=0.2.5",
87
+ "torchsde",
85
88
  # Ranges, not exact pins, so a consumer (e.g. the worker) can select any supported torch line
86
89
  # (2.9.1 through 2.12.0). torchvision pins the exact matching torch in its own metadata, so whichever
87
90
  # torch the consumer installs resolves the right pair (torch 2.9.1 -> torchvision 0.24.1; 2.12.0 ->
88
91
  # 0.27.0). torchvision is routed per-build to the matching CUDA wheel index (see [tool.uv.sources])
89
92
  # so its compiled CUDA version can never drift from torch's.
90
- #
91
- # torchaudio is intentionally NOT a default dependency: it is the only piece of the trio with no
92
- # +cu132 wheel, and audio is currently unsupported. ComfyUI's eager `import torchaudio` is satisfied
93
- # at runtime by a lazy stub (hordelib.utils.torch_build) when it is absent; install a matching build
94
- # ad-hoc if you actually need audio (see the PyTorch build selection notes below).
95
- "torchdiffeq>=0.2.5",
96
- "torchsde",
97
93
  "torchvision>=0.24.0,<0.28",
98
94
  "tqdm",
99
95
  "transformers>=4.50.3",
@@ -120,10 +116,12 @@ dependencies = [
120
116
  # uv sync --extra cu126 NVIDIA, CUDA 12.6+ driver (the only CUDA-12 build of torch 2.12.0; also runs
121
117
  # on CUDA 13 drivers via NVIDIA driver backward-compatibility)
122
118
  # uv sync --extra cpu no GPU (~100x slower; testing only)
123
- # torchaudio is NOT installed by any of these: it has no +cu132 wheel and audio is unsupported, so it is
119
+ #
120
+ # torchaudio is currently NOT installed by any of these: it has no +cu132 wheel and audio is unsupported, so it is
124
121
  # omitted by default and stubbed at runtime (hordelib.utils.torch_build). If you need audio, install a
125
122
  # torchaudio build matching the active torch index ad-hoc, e.g.
126
123
  # `uv pip install torchaudio --index-url https://download.pytorch.org/whl/cu130` (cu126/cu130/cpu only).
124
+ #
127
125
  # ROCm has no current lockable build (PyTorch has not published the pytorch-triton-rocm that torch
128
126
  # 2.10-2.12 rocm7.x wheels need); install it ad-hoc, e.g. `uv pip install torch==2.9.1 torchvision
129
127
  # pytorch-triton-rocm --extra-index-url https://download.pytorch.org/whl/rocm6.4`.
@@ -138,17 +136,21 @@ cu132 = ["torch", "torchvision"]
138
136
  cpu = ["torch", "torchvision"]
139
137
 
140
138
  # --- Feature extras ----------------------------------------------------------------------------
141
- # NOT torch builds: these gate heavy/optional features out of the lean base so a base install stays
142
- # close to ComfyUI's own dependency set. They are NOT in the [tool.uv] conflicts set, so any one
143
- # torch-build extra above may be combined with any of these. The worker installs a feature extra in
144
- # the dedicated capability process that offers that feature (off by default unless configured).
139
+ # These gate heavy/optional features out of the lean base so a base install stays close to ComfyUI's
140
+ # own dependency set. They are NOT in the [tool.uv] conflicts set, so any one torch-build extra above
141
+ # may be combined with any of these. The worker installs a feature extra in the dedicated capability
142
+ # process that offers that feature (off by default unless configured).
143
+ #
145
144
  # A call site that needs one of these guards its import via hordelib.utils.optional_deps so a missing
146
145
  # extra produces an actionable "pip install horde-engine[<extra>]" error instead of a bare ImportError.
146
+ #
147
147
  layerdiffuse = ["diffusers>=0.25.0"] # transparent/RGBA generation via the comfyui_layerdiffuse node
148
148
  upscale-extra = ["spandrel-extra-arches>=0.2.0"] # extra (non-commercial) upscaler archs; comfy adds them if present
149
+
149
150
  # strip_background post-processor. rembg pulls onnxruntime, which has no XPU/MPS/Ascend wheels, so it is
150
151
  # opt-in; the call site (hordelib.utils.image_utils.strip_background) guards its import via optional_deps.
151
152
  rembg = ["rembg[cpu]>=2.0.67"]
153
+
152
154
  # Full comfyui_controlnet_aux annotator dep set, kept out of base because onnxruntime/mediapipe lack wheels
153
155
  # for some accelerators. Installing this enables the DWPose/openpose/mediapipe-face/etc. preprocessors; the
154
156
  # pure-torch detectors (e.g. canny, depth via MiDaS) work without it.
@@ -1,58 +0,0 @@
1
- """Vocabularies shared by the payload models and pipeline templates.
2
-
3
- These are the canonical copies; ``HordeLib``'s class attributes alias them for backwards
4
- compatibility until the legacy payload path is removed.
5
- """
6
-
7
- SAMPLERS_MAP = {
8
- "k_euler": "euler",
9
- "k_euler_a": "euler_ancestral",
10
- "k_heun": "heun",
11
- "k_dpm_2": "dpm_2",
12
- "k_dpm_2_a": "dpm_2_ancestral",
13
- "k_lms": "lms",
14
- "k_dpm_fast": "dpm_fast",
15
- "k_dpm_adaptive": "dpm_adaptive",
16
- "k_dpmpp_2s_a": "dpmpp_2s_ancestral",
17
- "k_dpmpp_sde": "dpmpp_sde",
18
- "k_dpmpp_2m": "dpmpp_2m",
19
- "ddim": "ddim",
20
- "uni_pc": "uni_pc",
21
- "uni_pc_bh2": "uni_pc_bh2",
22
- "plms": "euler",
23
- "lcm": "lcm",
24
- }
25
- """Horde sampler names to ComfyUI sampler names."""
26
-
27
- # Horde control_type on the left, comfyui_controlnet_aux preprocessor on the right
28
- CONTROLNET_IMAGE_PREPROCESSOR_MAP = {
29
- "canny": "CannyEdgePreprocessor",
30
- "hed": "HEDPreprocessor",
31
- "depth": "LeReS-DepthMapPreprocessor",
32
- "normal": "MiDaS-NormalMapPreprocessor",
33
- "openpose": "OpenposePreprocessor",
34
- "seg": "SemSegPreprocessor",
35
- "scribble": "ScribblePreprocessor",
36
- "fakescribbles": "FakeScribblePreprocessor",
37
- "hough": "M-LSDPreprocessor", # horde backward compatibility
38
- "mlsd": "M-LSDPreprocessor",
39
- }
40
-
41
- CONTROLNET_MODEL_MAP = {
42
- "canny": "diff_control_sd15_canny_fp16.safetensors",
43
- "hed": "diff_control_sd15_hed_fp16.safetensors",
44
- "depth": "diff_control_sd15_depth_fp16.safetensors",
45
- "normal": "control_normal_fp16.safetensors",
46
- "openpose": "control_openpose_fp16.safetensors",
47
- "seg": "control_seg_fp16.safetensors",
48
- "scribble": "control_scribble_fp16.safetensors",
49
- "fakescribble": "control_scribble_fp16.safetensors",
50
- "fakescribbles": "control_scribble_fp16.safetensors",
51
- "mlsd": "control_mlsd_fp16.safetensors",
52
- "hough": "control_mlsd_fp16.safetensors",
53
- }
54
- """Horde control_type to controlnet model filename."""
55
-
56
- SOURCE_IMAGE_PROCESSING_OPTIONS = ["img2img", "inpainting", "outpainting", "remix"]
57
-
58
- SCHEDULERS = ["normal", "karras", "simple", "ddim_uniform", "sgm_uniform", "exponential"]
File without changes
File without changes
File without changes