Spaces:
Sleeping
Sleeping
Upload 696 files
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +7 -0
- README.md +14 -6
- comfy/__pycache__/bg_removal_model.cpython-313.pyc +0 -0
- comfy/__pycache__/cli_args.cpython-313.pyc +0 -0
- comfy/__pycache__/clip_model.cpython-313.pyc +0 -0
- comfy/__pycache__/clip_vision.cpython-313.pyc +0 -0
- comfy/__pycache__/comfy_api_env.cpython-313.pyc +0 -0
- comfy/__pycache__/conds.cpython-313.pyc +0 -0
- comfy/__pycache__/context_windows.cpython-313.pyc +0 -0
- comfy/__pycache__/controlnet.cpython-313.pyc +0 -0
- comfy/__pycache__/deploy_environment.cpython-313.pyc +0 -0
- comfy/__pycache__/diffusers_convert.cpython-313.pyc +0 -0
- comfy/__pycache__/diffusers_load.cpython-313.pyc +0 -0
- comfy/__pycache__/float.cpython-313.pyc +0 -0
- comfy/__pycache__/gligen.cpython-313.pyc +0 -0
- comfy/__pycache__/hooks.cpython-313.pyc +0 -0
- comfy/__pycache__/internal_logging.cpython-313.pyc +0 -0
- comfy/__pycache__/latent_formats.cpython-313.pyc +0 -0
- comfy/__pycache__/lora.cpython-313.pyc +0 -0
- comfy/__pycache__/lora_convert.cpython-313.pyc +0 -0
- comfy/__pycache__/memory_management.cpython-313.pyc +0 -0
- comfy/__pycache__/model_base.cpython-313.pyc +3 -0
- comfy/__pycache__/model_detection.cpython-313.pyc +0 -0
- comfy/__pycache__/model_management.cpython-313.pyc +0 -0
- comfy/__pycache__/model_patcher.cpython-313.pyc +3 -0
- comfy/__pycache__/model_prefetch.cpython-313.pyc +0 -0
- comfy/__pycache__/model_sampling.cpython-313.pyc +0 -0
- comfy/__pycache__/multigpu.cpython-313.pyc +0 -0
- comfy/__pycache__/nested_tensor.cpython-313.pyc +0 -0
- comfy/__pycache__/ops.cpython-313.pyc +0 -0
- comfy/__pycache__/options.cpython-313.pyc +0 -0
- comfy/__pycache__/patcher_extension.cpython-313.pyc +0 -0
- comfy/__pycache__/pinned_memory.cpython-313.pyc +0 -0
- comfy/__pycache__/pixel_space_convert.cpython-313.pyc +0 -0
- comfy/__pycache__/quant_ops.cpython-313.pyc +0 -0
- comfy/__pycache__/rmsnorm.cpython-313.pyc +0 -0
- comfy/__pycache__/sample.cpython-313.pyc +0 -0
- comfy/__pycache__/sampler_helpers.cpython-313.pyc +0 -0
- comfy/__pycache__/samplers.cpython-313.pyc +0 -0
- comfy/__pycache__/sd.cpython-313.pyc +3 -0
- comfy/__pycache__/sd1_clip.cpython-313.pyc +0 -0
- comfy/__pycache__/sdxl_clip.cpython-313.pyc +0 -0
- comfy/__pycache__/storage.cpython-313.pyc +0 -0
- comfy/__pycache__/supported_models.cpython-313.pyc +3 -0
- comfy/__pycache__/supported_models_base.cpython-313.pyc +0 -0
- comfy/__pycache__/system_memory.cpython-313.pyc +0 -0
- comfy/__pycache__/utils.cpython-313.pyc +0 -0
- comfy/audio_encoders/__pycache__/audio_encoders.cpython-313.pyc +0 -0
- comfy/audio_encoders/__pycache__/mert2.cpython-313.pyc +0 -0
- comfy/audio_encoders/__pycache__/sheetsage2.cpython-313.pyc +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
comfy/__pycache__/model_base.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
comfy/__pycache__/model_patcher.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
comfy/__pycache__/sd.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
comfy/__pycache__/supported_models.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
comfy/k_diffusion/__pycache__/sampling.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
comfy/ldm/sam3/__pycache__/tracker.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
comfy/text_encoders/__pycache__/gemma4.cpython-313.pyc filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -11,13 +11,21 @@ pinned: false
|
|
| 11 |
|
| 12 |
CPU-safe safetensors quantizer. Exposes the original convert_to_quant int8 and convrot w4a4 paths plus a W4A8 (asym_w4a8_int8) add-on that installs itself into the pip-installed convert_to_quant package on container start.
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
Settings:
|
| 15 |
-
- COMFY_ALLOW_VENDORED=1 enables the vendored comfy.quant_ops shipped inside convert_to_quant, which is what you want on CPU-only Spaces.
|
| 16 |
-
- COMFYUI_ROOT can override the comfy location if you also clone full ComfyUI.
|
| 17 |
|
| 18 |
-
|
| 19 |
-
-
|
| 20 |
-
|
| 21 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
Output is a safetensors file ready to drop into ComfyUI's models directory.
|
|
|
|
| 11 |
|
| 12 |
CPU-safe safetensors quantizer. Exposes the original convert_to_quant int8 and convrot w4a4 paths plus a W4A8 (asym_w4a8_int8) add-on that installs itself into the pip-installed convert_to_quant package on container start.
|
| 13 |
|
| 14 |
+
Requirements for the Space:
|
| 15 |
+
|
| 16 |
+
- `comfy/` folder must be present at the Space root, containing a working `comfy/quant_ops.py`. This is what exposes `AsymW4A8Int8Layout` and `QuantizedTensor`. The PyPI `convert_to_quant` package does not ship it — you must upload it yourself.
|
| 17 |
+
- `requirements.txt` must not pin gradio; HF Spaces Docker SDK hardcodes `gradio[oauth]==4.44.0` in the base install line and will fail to resolve if you also declare a gradio version.
|
| 18 |
+
|
| 19 |
Settings:
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
- `COMFY_ALLOW_VENDORED=1` is set automatically by `main.py`; it lets the W4A8 add-on use whatever `comfy` resolves to without trying to hunt for a full ComfyUI install.
|
| 22 |
+
- `COMFYUI_ROOT` can override the comfy location if you also clone full ComfyUI.
|
| 23 |
+
|
| 24 |
+
Supported conversion types (auto-detected at startup):
|
| 25 |
+
|
| 26 |
+
- `w4a8` (requires `comfy/quant_ops.py` with `AsymW4A8Int8Layout`)
|
| 27 |
+
- `int8`
|
| 28 |
+
- `convrot_w4a4`
|
| 29 |
+
- `fp8` (if present in the installed convert_to_quant)
|
| 30 |
|
| 31 |
Output is a safetensors file ready to drop into ComfyUI's models directory.
|
comfy/__pycache__/bg_removal_model.cpython-313.pyc
ADDED
|
Binary file (6.28 kB). View file
|
|
|
comfy/__pycache__/cli_args.cpython-313.pyc
ADDED
|
Binary file (27.1 kB). View file
|
|
|
comfy/__pycache__/clip_model.cpython-313.pyc
ADDED
|
Binary file (26.3 kB). View file
|
|
|
comfy/__pycache__/clip_vision.cpython-313.pyc
ADDED
|
Binary file (15.2 kB). View file
|
|
|
comfy/__pycache__/comfy_api_env.cpython-313.pyc
ADDED
|
Binary file (2.74 kB). View file
|
|
|
comfy/__pycache__/conds.cpython-313.pyc
ADDED
|
Binary file (9.59 kB). View file
|
|
|
comfy/__pycache__/context_windows.cpython-313.pyc
ADDED
|
Binary file (60.8 kB). View file
|
|
|
comfy/__pycache__/controlnet.cpython-313.pyc
ADDED
|
Binary file (61.7 kB). View file
|
|
|
comfy/__pycache__/deploy_environment.cpython-313.pyc
ADDED
|
Binary file (2.04 kB). View file
|
|
|
comfy/__pycache__/diffusers_convert.cpython-313.pyc
ADDED
|
Binary file (8.31 kB). View file
|
|
|
comfy/__pycache__/diffusers_load.cpython-313.pyc
ADDED
|
Binary file (2.27 kB). View file
|
|
|
comfy/__pycache__/float.cpython-313.pyc
ADDED
|
Binary file (15.2 kB). View file
|
|
|
comfy/__pycache__/gligen.cpython-313.pyc
ADDED
|
Binary file (17.4 kB). View file
|
|
|
comfy/__pycache__/hooks.cpython-313.pyc
ADDED
|
Binary file (39.4 kB). View file
|
|
|
comfy/__pycache__/internal_logging.cpython-313.pyc
ADDED
|
Binary file (609 Bytes). View file
|
|
|
comfy/__pycache__/latent_formats.cpython-313.pyc
ADDED
|
Binary file (59.2 kB). View file
|
|
|
comfy/__pycache__/lora.cpython-313.pyc
ADDED
|
Binary file (30.3 kB). View file
|
|
|
comfy/__pycache__/lora_convert.cpython-313.pyc
ADDED
|
Binary file (2.71 kB). View file
|
|
|
comfy/__pycache__/memory_management.cpython-313.pyc
ADDED
|
Binary file (10.1 kB). View file
|
|
|
comfy/__pycache__/model_base.cpython-313.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:342bb7733a65495ef9a65f5cfa8d108840cc9e941e7e26959f5ea66ddbdfd38d
|
| 3 |
+
size 214643
|
comfy/__pycache__/model_detection.cpython-313.pyc
ADDED
|
Binary file (84 kB). View file
|
|
|
comfy/__pycache__/model_management.cpython-313.pyc
ADDED
|
Binary file (95.4 kB). View file
|
|
|
comfy/__pycache__/model_patcher.cpython-313.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbfd3c6af1a520d941b470b6c5f1f5616a1be37553b768ed3a91677ba3b92d2f
|
| 3 |
+
size 130258
|
comfy/__pycache__/model_prefetch.cpython-313.pyc
ADDED
|
Binary file (15.5 kB). View file
|
|
|
comfy/__pycache__/model_sampling.cpython-313.pyc
ADDED
|
Binary file (27.9 kB). View file
|
|
|
comfy/__pycache__/multigpu.cpython-313.pyc
ADDED
|
Binary file (13.1 kB). View file
|
|
|
comfy/__pycache__/nested_tensor.cpython-313.pyc
ADDED
|
Binary file (6.72 kB). View file
|
|
|
comfy/__pycache__/ops.cpython-313.pyc
ADDED
|
Binary file (99.6 kB). View file
|
|
|
comfy/__pycache__/options.cpython-313.pyc
ADDED
|
Binary file (337 Bytes). View file
|
|
|
comfy/__pycache__/patcher_extension.cpython-313.pyc
ADDED
|
Binary file (9.96 kB). View file
|
|
|
comfy/__pycache__/pinned_memory.cpython-313.pyc
ADDED
|
Binary file (6.64 kB). View file
|
|
|
comfy/__pycache__/pixel_space_convert.cpython-313.pyc
ADDED
|
Binary file (1.46 kB). View file
|
|
|
comfy/__pycache__/quant_ops.cpython-313.pyc
ADDED
|
Binary file (11.6 kB). View file
|
|
|
comfy/__pycache__/rmsnorm.cpython-313.pyc
ADDED
|
Binary file (1.02 kB). View file
|
|
|
comfy/__pycache__/sample.cpython-313.pyc
ADDED
|
Binary file (7.11 kB). View file
|
|
|
comfy/__pycache__/sampler_helpers.cpython-313.pyc
ADDED
|
Binary file (13.6 kB). View file
|
|
|
comfy/__pycache__/samplers.cpython-313.pyc
ADDED
|
Binary file (76.4 kB). View file
|
|
|
comfy/__pycache__/sd.cpython-313.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e10df115f77925ef6cd067a97970968b6b4c761cad3456f95c73edd532c4ccf
|
| 3 |
+
size 177919
|
comfy/__pycache__/sd1_clip.cpython-313.pyc
ADDED
|
Binary file (40.2 kB). View file
|
|
|
comfy/__pycache__/sdxl_clip.cpython-313.pyc
ADDED
|
Binary file (9.08 kB). View file
|
|
|
comfy/__pycache__/storage.cpython-313.pyc
ADDED
|
Binary file (6.57 kB). View file
|
|
|
comfy/__pycache__/supported_models.cpython-313.pyc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e786c9eb2d56a7232732685a13101a43cde27b560fd01d6f236c6dc6e825a4ac
|
| 3 |
+
size 122275
|
comfy/__pycache__/supported_models_base.cpython-313.pyc
ADDED
|
Binary file (7.04 kB). View file
|
|
|
comfy/__pycache__/system_memory.cpython-313.pyc
ADDED
|
Binary file (6.09 kB). View file
|
|
|
comfy/__pycache__/utils.cpython-313.pyc
ADDED
|
Binary file (76 kB). View file
|
|
|
comfy/audio_encoders/__pycache__/audio_encoders.cpython-313.pyc
ADDED
|
Binary file (7.06 kB). View file
|
|
|
comfy/audio_encoders/__pycache__/mert2.cpython-313.pyc
ADDED
|
Binary file (16.4 kB). View file
|
|
|
comfy/audio_encoders/__pycache__/sheetsage2.cpython-313.pyc
ADDED
|
Binary file (40.4 kB). View file
|
|
|