Upload folder using huggingface_hub
Browse files- core/pipelines/workflow_recipes/_partials/conditioning/cosmos-predict2.yaml +47 -0
- requirements.txt +1 -1
- yaml/constants.yaml +8 -0
- yaml/file_list.yaml +18 -0
- yaml/image_gen_features.yaml +5 -0
- yaml/model_architectures.yaml +4 -0
- yaml/model_defaults.yaml +7 -0
- yaml/model_list.yaml +13 -0
core/pipelines/workflow_recipes/_partials/conditioning/cosmos-predict2.yaml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
nodes:
|
| 2 |
+
unet_loader:
|
| 3 |
+
class_type: UNETLoader
|
| 4 |
+
title: "Load Diffusion Model"
|
| 5 |
+
params:
|
| 6 |
+
weight_dtype: "default"
|
| 7 |
+
vae_loader:
|
| 8 |
+
class_type: VAELoader
|
| 9 |
+
title: "Load VAE"
|
| 10 |
+
clip_loader:
|
| 11 |
+
class_type: CLIPLoader
|
| 12 |
+
title: "Load CLIP"
|
| 13 |
+
params:
|
| 14 |
+
type: "cosmos"
|
| 15 |
+
device: "default"
|
| 16 |
+
|
| 17 |
+
connections:
|
| 18 |
+
- from: "unet_loader:0"
|
| 19 |
+
to: "ksampler:model"
|
| 20 |
+
- from: "clip_loader:0"
|
| 21 |
+
to: "pos_prompt:clip"
|
| 22 |
+
- from: "clip_loader:0"
|
| 23 |
+
to: "neg_prompt:clip"
|
| 24 |
+
- from: "pos_prompt:0"
|
| 25 |
+
to: "ksampler:positive"
|
| 26 |
+
- from: "neg_prompt:0"
|
| 27 |
+
to: "ksampler:negative"
|
| 28 |
+
- from: "vae_loader:0"
|
| 29 |
+
to: "vae_decode:vae"
|
| 30 |
+
- from: "vae_loader:0"
|
| 31 |
+
to: "vae_encode:vae"
|
| 32 |
+
|
| 33 |
+
dynamic_vae_chains:
|
| 34 |
+
vae_chain:
|
| 35 |
+
targets:
|
| 36 |
+
- "vae_decode:vae"
|
| 37 |
+
- "vae_encode:vae"
|
| 38 |
+
|
| 39 |
+
dynamic_conditioning_chains:
|
| 40 |
+
conditioning_chain:
|
| 41 |
+
ksampler_node: "ksampler"
|
| 42 |
+
clip_source: "clip_loader:0"
|
| 43 |
+
|
| 44 |
+
ui_map:
|
| 45 |
+
unet_name: "unet_loader:unet_name"
|
| 46 |
+
vae_name: "vae_loader:vae_name"
|
| 47 |
+
clip_name: "clip_loader:clip_name"
|
requirements.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
comfyui-frontend-package==1.45.19
|
| 2 |
comfyui-workflow-templates==0.10.0
|
| 3 |
-
comfyui-embedded-docs==0.5.
|
| 4 |
torch
|
| 5 |
torchsde
|
| 6 |
torchvision
|
|
|
|
| 1 |
comfyui-frontend-package==1.45.19
|
| 2 |
comfyui-workflow-templates==0.10.0
|
| 3 |
+
comfyui-embedded-docs==0.5.5
|
| 4 |
torch
|
| 5 |
torchsde
|
| 6 |
torchvision
|
yaml/constants.yaml
CHANGED
|
@@ -87,6 +87,14 @@ RESOLUTION_MAP:
|
|
| 87 |
"3:4 (Classic Portrait)": [896, 1152]
|
| 88 |
"3:2 (Photography)": [1216, 832]
|
| 89 |
"2:3 (Photography Portrait)": [832, 1216]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
anima:
|
| 91 |
"1:1 (Square)": [1024, 1024]
|
| 92 |
"16:9 (Landscape)": [1344, 768]
|
|
|
|
| 87 |
"3:4 (Classic Portrait)": [896, 1152]
|
| 88 |
"3:2 (Photography)": [1216, 832]
|
| 89 |
"2:3 (Photography Portrait)": [832, 1216]
|
| 90 |
+
cosmos-predict2:
|
| 91 |
+
"1:1 (Square)": [1024, 1024]
|
| 92 |
+
"16:9 (Landscape)": [1344, 768]
|
| 93 |
+
"9:16 (Portrait)": [768, 1344]
|
| 94 |
+
"4:3 (Classic)": [1152, 896]
|
| 95 |
+
"3:4 (Classic Portrait)": [896, 1152]
|
| 96 |
+
"3:2 (Photography)": [1216, 832]
|
| 97 |
+
"2:3 (Photography Portrait)": [832, 1216]
|
| 98 |
anima:
|
| 99 |
"1:1 (Square)": [1024, 1024]
|
| 100 |
"16:9 (Landscape)": [1344, 768]
|
yaml/file_list.yaml
CHANGED
|
@@ -456,6 +456,15 @@ file:
|
|
| 456 |
source: "hf"
|
| 457 |
repo_id: "Comfy-Org/Lens"
|
| 458 |
repository_file_path: "diffusion_models/lens_turbo_mxfp8.safetensors"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 459 |
# Anima
|
| 460 |
- filename: "waiANIMA_v10.safetensors"
|
| 461 |
source: "hf"
|
|
@@ -720,6 +729,11 @@ file:
|
|
| 720 |
repo_id: "alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.1"
|
| 721 |
repository_file_path: "Z-Image-Turbo-Fun-Controlnet-Tile-2.1-8steps.safetensors"
|
| 722 |
text_encoders:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 723 |
# Ideogram-4 & Boogu-Image
|
| 724 |
- filename: "qwen3vl_8b_nvfp4.safetensors"
|
| 725 |
source: "hf"
|
|
@@ -812,6 +826,10 @@ file:
|
|
| 812 |
repo_id: "Comfy-Org/Omnigen2_ComfyUI_repackaged"
|
| 813 |
repository_file_path: "split_files/text_encoders/qwen_2.5_vl_fp16.safetensors"
|
| 814 |
vae:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 815 |
- filename: "qwen_image_vae.safetensors"
|
| 816 |
source: "hf"
|
| 817 |
repo_id: "Comfy-Org/Qwen-Image_ComfyUI"
|
|
|
|
| 456 |
source: "hf"
|
| 457 |
repo_id: "Comfy-Org/Lens"
|
| 458 |
repository_file_path: "diffusion_models/lens_turbo_mxfp8.safetensors"
|
| 459 |
+
# Cosmos-Predict2
|
| 460 |
+
- filename: "cosmos_predict2_2B_t2i.pt"
|
| 461 |
+
source: "hf"
|
| 462 |
+
repo_id: "nvidia/Cosmos-Predict2-2B-Text2Image"
|
| 463 |
+
repository_file_path: "model.pt"
|
| 464 |
+
- filename: "cosmos_predict2_14B_t2i.pt"
|
| 465 |
+
source: "hf"
|
| 466 |
+
repo_id: "nvidia/Cosmos-Predict2-14B-Text2Image"
|
| 467 |
+
repository_file_path: "model.pt"
|
| 468 |
# Anima
|
| 469 |
- filename: "waiANIMA_v10.safetensors"
|
| 470 |
source: "hf"
|
|
|
|
| 729 |
repo_id: "alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.1"
|
| 730 |
repository_file_path: "Z-Image-Turbo-Fun-Controlnet-Tile-2.1-8steps.safetensors"
|
| 731 |
text_encoders:
|
| 732 |
+
# Cosmos-Predict2
|
| 733 |
+
- filename: "oldt5_xxl_fp8_e4m3fn_scaled.safetensors"
|
| 734 |
+
source: "hf"
|
| 735 |
+
repo_id: "comfyanonymous/cosmos_1.0_text_encoder_and_VAE_ComfyUI"
|
| 736 |
+
repository_file_path: "text_encoders/oldt5_xxl_fp8_e4m3fn_scaled.safetensors"
|
| 737 |
# Ideogram-4 & Boogu-Image
|
| 738 |
- filename: "qwen3vl_8b_nvfp4.safetensors"
|
| 739 |
source: "hf"
|
|
|
|
| 826 |
repo_id: "Comfy-Org/Omnigen2_ComfyUI_repackaged"
|
| 827 |
repository_file_path: "split_files/text_encoders/qwen_2.5_vl_fp16.safetensors"
|
| 828 |
vae:
|
| 829 |
+
- filename: "wan_2.1_vae.safetensors"
|
| 830 |
+
source: "hf"
|
| 831 |
+
repo_id: "Comfy-Org/Wan_2.1_ComfyUI_repackaged"
|
| 832 |
+
repository_file_path: "split_files/vae/wan_2.1_vae.safetensors"
|
| 833 |
- filename: "qwen_image_vae.safetensors"
|
| 834 |
source: "hf"
|
| 835 |
repo_id: "Comfy-Org/Qwen-Image_ComfyUI"
|
yaml/image_gen_features.yaml
CHANGED
|
@@ -71,6 +71,11 @@ longcat-image:
|
|
| 71 |
- conditioning
|
| 72 |
- pid
|
| 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
anima:
|
| 75 |
enabled_chains:
|
| 76 |
- lora
|
|
|
|
| 71 |
- conditioning
|
| 72 |
- pid
|
| 73 |
|
| 74 |
+
cosmos-predict2:
|
| 75 |
+
enabled_chains:
|
| 76 |
+
- conditioning
|
| 77 |
+
- vae
|
| 78 |
+
|
| 79 |
anima:
|
| 80 |
enabled_chains:
|
| 81 |
- lora
|
yaml/model_architectures.yaml
CHANGED
|
@@ -9,6 +9,7 @@ architecture_order:
|
|
| 9 |
- "Z-Image"
|
| 10 |
- "Qwen-Image"
|
| 11 |
- "LongCat-Image"
|
|
|
|
| 12 |
- "Anima"
|
| 13 |
- "NewBie-Image"
|
| 14 |
- "Kandinsky-5"
|
|
@@ -56,6 +57,9 @@ architectures:
|
|
| 56 |
"LongCat-Image":
|
| 57 |
model_type: "longcat-image"
|
| 58 |
controlnet_key: "LongCat-Image"
|
|
|
|
|
|
|
|
|
|
| 59 |
"Anima":
|
| 60 |
model_type: "anima"
|
| 61 |
controlnet_key: "Anima"
|
|
|
|
| 9 |
- "Z-Image"
|
| 10 |
- "Qwen-Image"
|
| 11 |
- "LongCat-Image"
|
| 12 |
+
- "Cosmos-Predict2"
|
| 13 |
- "Anima"
|
| 14 |
- "NewBie-Image"
|
| 15 |
- "Kandinsky-5"
|
|
|
|
| 57 |
"LongCat-Image":
|
| 58 |
model_type: "longcat-image"
|
| 59 |
controlnet_key: "LongCat-Image"
|
| 60 |
+
"Cosmos-Predict2":
|
| 61 |
+
model_type: "cosmos-predict2"
|
| 62 |
+
controlnet_key: "Cosmos-Predict2"
|
| 63 |
"Anima":
|
| 64 |
model_type: "anima"
|
| 65 |
controlnet_key: "Anima"
|
yaml/model_defaults.yaml
CHANGED
|
@@ -99,6 +99,13 @@ LongCat-Image:
|
|
| 99 |
sampler_name: "euler"
|
| 100 |
scheduler: "simple"
|
| 101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
Anima:
|
| 103 |
_defaults:
|
| 104 |
steps: 30
|
|
|
|
| 99 |
sampler_name: "euler"
|
| 100 |
scheduler: "simple"
|
| 101 |
|
| 102 |
+
Cosmos-Predict2:
|
| 103 |
+
_defaults:
|
| 104 |
+
steps: 35
|
| 105 |
+
cfg: 4.0
|
| 106 |
+
sampler_name: "euler"
|
| 107 |
+
scheduler: "karras"
|
| 108 |
+
|
| 109 |
Anima:
|
| 110 |
_defaults:
|
| 111 |
steps: 30
|
yaml/model_list.yaml
CHANGED
|
@@ -126,6 +126,19 @@ Checkpoint:
|
|
| 126 |
unet: "longcat_image_bf16.safetensors"
|
| 127 |
vae: "ae.safetensors"
|
| 128 |
clip: "qwen_2.5_vl_7b_nvfp4.safetensors"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
Anima:
|
| 130 |
latent_type: latent
|
| 131 |
models:
|
|
|
|
| 126 |
unet: "longcat_image_bf16.safetensors"
|
| 127 |
vae: "ae.safetensors"
|
| 128 |
clip: "qwen_2.5_vl_7b_nvfp4.safetensors"
|
| 129 |
+
Cosmos-Predict2:
|
| 130 |
+
latent_type: sd3_latent
|
| 131 |
+
models:
|
| 132 |
+
- display_name: "Cosmos-Predict2-2B-T2I"
|
| 133 |
+
components:
|
| 134 |
+
unet: "cosmos_predict2_2B_t2i.pt"
|
| 135 |
+
clip: "oldt5_xxl_fp8_e4m3fn_scaled.safetensors"
|
| 136 |
+
vae: "wan_2.1_vae.safetensors"
|
| 137 |
+
- display_name: "Cosmos-Predict2-14B-T2I"
|
| 138 |
+
components:
|
| 139 |
+
unet: "cosmos_predict2_14B_t2i.pt"
|
| 140 |
+
clip: "oldt5_xxl_fp8_e4m3fn_scaled.safetensors"
|
| 141 |
+
vae: "wan_2.1_vae.safetensors"
|
| 142 |
Anima:
|
| 143 |
latent_type: latent
|
| 144 |
models:
|