Instructions to use circulus/Cosmos3-Super-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use circulus/Cosmos3-Super-bnb-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("circulus/Cosmos3-Super-bnb-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload 15 files
Browse files- .gitattributes +1 -0
- model_index.json +32 -0
- scheduler/scheduler_config.json +33 -0
- sound_tokenizer/config.json +68 -0
- sound_tokenizer/diffusion_pytorch_model.safetensors +3 -0
- text_tokenizer/chat_template.jinja +120 -0
- text_tokenizer/tokenizer.json +3 -0
- text_tokenizer/tokenizer_config.json +15 -0
- transformer/config.json +76 -0
- transformer/diffusion_pytorch_model-00001-of-00004.safetensors +3 -0
- transformer/diffusion_pytorch_model-00002-of-00004.safetensors +3 -0
- transformer/diffusion_pytorch_model-00003-of-00004.safetensors +3 -0
- transformer/diffusion_pytorch_model-00004-of-00004.safetensors +3 -0
- transformer/diffusion_pytorch_model.safetensors.index.json +0 -0
- vae/config.json +129 -0
- vae/diffusion_pytorch_model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
text_tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
model_index.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Cosmos3OmniPipeline",
|
| 3 |
+
"_diffusers_version": "0.40.0.dev0",
|
| 4 |
+
"_name_or_path": "nvidia/Cosmos3-Super",
|
| 5 |
+
"default_use_system_prompt": true,
|
| 6 |
+
"enable_safety_checker": true,
|
| 7 |
+
"safety_checker": [
|
| 8 |
+
null,
|
| 9 |
+
null
|
| 10 |
+
],
|
| 11 |
+
"scheduler": [
|
| 12 |
+
"diffusers",
|
| 13 |
+
"UniPCMultistepScheduler"
|
| 14 |
+
],
|
| 15 |
+
"sound_tokenizer": [
|
| 16 |
+
"diffusers",
|
| 17 |
+
"Cosmos3AVAEAudioTokenizer"
|
| 18 |
+
],
|
| 19 |
+
"text_tokenizer": [
|
| 20 |
+
"transformers",
|
| 21 |
+
"Qwen2Tokenizer"
|
| 22 |
+
],
|
| 23 |
+
"transformer": [
|
| 24 |
+
"diffusers",
|
| 25 |
+
"Cosmos3OmniTransformer"
|
| 26 |
+
],
|
| 27 |
+
"use_native_flow_schedule": false,
|
| 28 |
+
"vae": [
|
| 29 |
+
"diffusers",
|
| 30 |
+
"AutoencoderKLWan"
|
| 31 |
+
]
|
| 32 |
+
}
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UniPCMultistepScheduler",
|
| 3 |
+
"_diffusers_version": "0.40.0.dev0",
|
| 4 |
+
"beta_end": 0.02,
|
| 5 |
+
"beta_schedule": "linear",
|
| 6 |
+
"beta_start": 0.0001,
|
| 7 |
+
"disable_corrector": [],
|
| 8 |
+
"dynamic_thresholding_ratio": 0.995,
|
| 9 |
+
"final_sigmas_type": "zero",
|
| 10 |
+
"flow_shift": 1.0,
|
| 11 |
+
"lower_order_final": true,
|
| 12 |
+
"num_train_timesteps": 1000,
|
| 13 |
+
"predict_x0": true,
|
| 14 |
+
"prediction_type": "flow_prediction",
|
| 15 |
+
"rescale_betas_zero_snr": false,
|
| 16 |
+
"sample_max_value": 1.0,
|
| 17 |
+
"shift_terminal": null,
|
| 18 |
+
"sigma_max": 200.0,
|
| 19 |
+
"sigma_min": 0.147,
|
| 20 |
+
"solver_order": 2,
|
| 21 |
+
"solver_p": null,
|
| 22 |
+
"solver_type": "bh2",
|
| 23 |
+
"steps_offset": 0,
|
| 24 |
+
"thresholding": false,
|
| 25 |
+
"time_shift_type": "exponential",
|
| 26 |
+
"timestep_spacing": "linspace",
|
| 27 |
+
"trained_betas": null,
|
| 28 |
+
"use_beta_sigmas": false,
|
| 29 |
+
"use_dynamic_shifting": false,
|
| 30 |
+
"use_exponential_sigmas": false,
|
| 31 |
+
"use_flow_sigmas": true,
|
| 32 |
+
"use_karras_sigmas": true
|
| 33 |
+
}
|
sound_tokenizer/config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Cosmos3AVAEAudioTokenizer",
|
| 3 |
+
"_diffusers_version": "0.40.0.dev0",
|
| 4 |
+
"_name_or_path": "/home/circulus/.cache/huggingface/hub/models--nvidia--Cosmos3-Super/snapshots/e0262be9d8f7586bc24c069a2aed2b665bdff266/sound_tokenizer",
|
| 5 |
+
"activation": "snakebeta",
|
| 6 |
+
"anti_aliasing": false,
|
| 7 |
+
"bottleneck": {
|
| 8 |
+
"type": "vae"
|
| 9 |
+
},
|
| 10 |
+
"bottleneck_type": "vae",
|
| 11 |
+
"causal": false,
|
| 12 |
+
"dec_anti_aliasing": false,
|
| 13 |
+
"dec_c_mults": [
|
| 14 |
+
1,
|
| 15 |
+
2,
|
| 16 |
+
4,
|
| 17 |
+
8,
|
| 18 |
+
16
|
| 19 |
+
],
|
| 20 |
+
"dec_dim": 320,
|
| 21 |
+
"dec_final_tanh": false,
|
| 22 |
+
"dec_out_channels": 2,
|
| 23 |
+
"dec_strides": [
|
| 24 |
+
2,
|
| 25 |
+
4,
|
| 26 |
+
5,
|
| 27 |
+
6,
|
| 28 |
+
8
|
| 29 |
+
],
|
| 30 |
+
"dec_type": "oobleck",
|
| 31 |
+
"dec_use_nearest_upsample": false,
|
| 32 |
+
"dec_use_snake": true,
|
| 33 |
+
"dec_use_tanh_at_final": false,
|
| 34 |
+
"enc_c_mults": [
|
| 35 |
+
1,
|
| 36 |
+
2,
|
| 37 |
+
4
|
| 38 |
+
],
|
| 39 |
+
"enc_dim": 192,
|
| 40 |
+
"enc_hop_length": 16,
|
| 41 |
+
"enc_identity_init": false,
|
| 42 |
+
"enc_intermediate_dim": 768,
|
| 43 |
+
"enc_latent_dim": 128,
|
| 44 |
+
"enc_n_fft": 64,
|
| 45 |
+
"enc_num_blocks": 2,
|
| 46 |
+
"enc_num_layers": 12,
|
| 47 |
+
"enc_strides": [
|
| 48 |
+
4,
|
| 49 |
+
5,
|
| 50 |
+
6
|
| 51 |
+
],
|
| 52 |
+
"enc_type": "spec_convnext",
|
| 53 |
+
"enc_use_snake": true,
|
| 54 |
+
"encoder_enabled": true,
|
| 55 |
+
"hop_size": 1920,
|
| 56 |
+
"input_channels": 1,
|
| 57 |
+
"latent_mean": null,
|
| 58 |
+
"latent_std": null,
|
| 59 |
+
"model_type": "autoencoder_v2",
|
| 60 |
+
"normalize_volume": true,
|
| 61 |
+
"padding_mode": "zeros",
|
| 62 |
+
"sampling_rate": 48000,
|
| 63 |
+
"snake_logscale": true,
|
| 64 |
+
"stereo": true,
|
| 65 |
+
"use_cuda_kernel": false,
|
| 66 |
+
"use_wav_as_input": true,
|
| 67 |
+
"vocoder_input_dim": 64
|
| 68 |
+
}
|
sound_tokenizer/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f2d3ebebfa8890f5ef9acc7681653b7cfeeb27c32ae42edf895a44f2c4daae6
|
| 3 |
+
size 992601876
|
text_tokenizer/chat_template.jinja
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{%- if messages[0].content is string %}
|
| 5 |
+
{{- messages[0].content }}
|
| 6 |
+
{%- else %}
|
| 7 |
+
{%- for content in messages[0].content %}
|
| 8 |
+
{%- if 'text' in content %}
|
| 9 |
+
{{- content.text }}
|
| 10 |
+
{%- endif %}
|
| 11 |
+
{%- endfor %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '\n\n' }}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 16 |
+
{%- for tool in tools %}
|
| 17 |
+
{{- "\n" }}
|
| 18 |
+
{{- tool | tojson }}
|
| 19 |
+
{%- endfor %}
|
| 20 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{%- if messages[0].role == 'system' %}
|
| 23 |
+
{{- '<|im_start|>system\n' }}
|
| 24 |
+
{%- if messages[0].content is string %}
|
| 25 |
+
{{- messages[0].content }}
|
| 26 |
+
{%- else %}
|
| 27 |
+
{%- for content in messages[0].content %}
|
| 28 |
+
{%- if 'text' in content %}
|
| 29 |
+
{{- content.text }}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- endfor %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '<|im_end|>\n' }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{%- set image_count = namespace(value=0) %}
|
| 37 |
+
{%- set video_count = namespace(value=0) %}
|
| 38 |
+
{%- for message in messages %}
|
| 39 |
+
{%- if message.role == "user" %}
|
| 40 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 41 |
+
{%- if message.content is string %}
|
| 42 |
+
{{- message.content }}
|
| 43 |
+
{%- else %}
|
| 44 |
+
{%- for content in message.content %}
|
| 45 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 46 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 47 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 48 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 49 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 50 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 51 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 52 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 53 |
+
{%- elif 'text' in content %}
|
| 54 |
+
{{- content.text }}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endfor %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{{- '<|im_end|>\n' }}
|
| 59 |
+
{%- elif message.role == "assistant" %}
|
| 60 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 61 |
+
{%- if message.content is string %}
|
| 62 |
+
{{- message.content }}
|
| 63 |
+
{%- else %}
|
| 64 |
+
{%- for content_item in message.content %}
|
| 65 |
+
{%- if 'text' in content_item %}
|
| 66 |
+
{{- content_item.text }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- endfor %}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
{%- if message.tool_calls %}
|
| 71 |
+
{%- for tool_call in message.tool_calls %}
|
| 72 |
+
{%- if (loop.first and message.content) or (not loop.first) %}
|
| 73 |
+
{{- '\n' }}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if tool_call.function %}
|
| 76 |
+
{%- set tool_call = tool_call.function %}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 79 |
+
{{- tool_call.name }}
|
| 80 |
+
{{- '", "arguments": ' }}
|
| 81 |
+
{%- if tool_call.arguments is string %}
|
| 82 |
+
{{- tool_call.arguments }}
|
| 83 |
+
{%- else %}
|
| 84 |
+
{{- tool_call.arguments | tojson }}
|
| 85 |
+
{%- endif %}
|
| 86 |
+
{{- '}\n</tool_call>' }}
|
| 87 |
+
{%- endfor %}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{{- '<|im_end|>\n' }}
|
| 90 |
+
{%- elif message.role == "tool" %}
|
| 91 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 92 |
+
{{- '<|im_start|>user' }}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{{- '\n<tool_response>\n' }}
|
| 95 |
+
{%- if message.content is string %}
|
| 96 |
+
{{- message.content }}
|
| 97 |
+
{%- else %}
|
| 98 |
+
{%- for content in message.content %}
|
| 99 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 100 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 101 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 102 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 103 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 104 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 105 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 106 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 107 |
+
{%- elif 'text' in content %}
|
| 108 |
+
{{- content.text }}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- endfor %}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{{- '\n</tool_response>' }}
|
| 113 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 114 |
+
{{- '<|im_end|>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{%- endfor %}
|
| 118 |
+
{%- if add_generation_prompt %}
|
| 119 |
+
{{- '<|im_start|>assistant\n' }}
|
| 120 |
+
{%- endif %}
|
text_tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
|
| 3 |
+
size 11422650
|
text_tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": true,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"model_max_length": 262144,
|
| 11 |
+
"pad_token": "<|endoftext|>",
|
| 12 |
+
"split_special_tokens": false,
|
| 13 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 14 |
+
"unk_token": null
|
| 15 |
+
}
|
transformer/config.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Cosmos3OmniTransformer",
|
| 3 |
+
"_diffusers_version": "0.40.0.dev0",
|
| 4 |
+
"_name_or_path": "nvidia/Cosmos3-Super",
|
| 5 |
+
"action_dim": 64,
|
| 6 |
+
"action_gen": true,
|
| 7 |
+
"attention_bias": false,
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"base_fps": 24,
|
| 10 |
+
"dtype": "bfloat16",
|
| 11 |
+
"enable_fps_modulation": true,
|
| 12 |
+
"freeze_und": false,
|
| 13 |
+
"head_dim": 128,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 5120,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 25600,
|
| 18 |
+
"joint_attn_implementation": "two_way",
|
| 19 |
+
"latent_channel": 48,
|
| 20 |
+
"latent_patch_size": 2,
|
| 21 |
+
"max_action_dim": 64,
|
| 22 |
+
"max_position_embeddings": 262144,
|
| 23 |
+
"model_type": "qwen3_vl_text",
|
| 24 |
+
"num_attention_heads": 64,
|
| 25 |
+
"num_embodiment_domains": 32,
|
| 26 |
+
"num_hidden_layers": 64,
|
| 27 |
+
"num_key_value_heads": 8,
|
| 28 |
+
"patch_latent_dim": 192,
|
| 29 |
+
"position_embedding_type": "unified_3d_mrope",
|
| 30 |
+
"qk_norm": false,
|
| 31 |
+
"qk_norm_for_diffusion": true,
|
| 32 |
+
"qk_norm_for_text": true,
|
| 33 |
+
"quantization_config": {
|
| 34 |
+
"_load_in_4bit": true,
|
| 35 |
+
"_load_in_8bit": false,
|
| 36 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 37 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 38 |
+
"bnb_4bit_quant_type": "nf4",
|
| 39 |
+
"bnb_4bit_use_double_quant": true,
|
| 40 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 41 |
+
"llm_int8_has_fp16_weight": false,
|
| 42 |
+
"llm_int8_skip_modules": null,
|
| 43 |
+
"llm_int8_threshold": 6.0,
|
| 44 |
+
"load_in_4bit": true,
|
| 45 |
+
"load_in_8bit": false,
|
| 46 |
+
"quant_method": "bitsandbytes"
|
| 47 |
+
},
|
| 48 |
+
"rms_norm_eps": 1e-06,
|
| 49 |
+
"rope_axes_dim": [
|
| 50 |
+
24,
|
| 51 |
+
20,
|
| 52 |
+
20
|
| 53 |
+
],
|
| 54 |
+
"rope_scaling": {
|
| 55 |
+
"mrope_interleaved": true,
|
| 56 |
+
"mrope_section": [
|
| 57 |
+
24,
|
| 58 |
+
20,
|
| 59 |
+
20
|
| 60 |
+
],
|
| 61 |
+
"rope_type": "default"
|
| 62 |
+
},
|
| 63 |
+
"rope_theta": 5000000,
|
| 64 |
+
"sound_dim": 64,
|
| 65 |
+
"sound_gen": true,
|
| 66 |
+
"sound_latent_fps": 25,
|
| 67 |
+
"temporal_compression_factor_sound": 1,
|
| 68 |
+
"timestep_scale": 0.001,
|
| 69 |
+
"unified_3d_mrope_reset_spatial_ids": true,
|
| 70 |
+
"unified_3d_mrope_temporal_modality_margin": 15000,
|
| 71 |
+
"use_cache": true,
|
| 72 |
+
"use_moe": true,
|
| 73 |
+
"use_und_k_norm_for_gen": false,
|
| 74 |
+
"video_temporal_causal": false,
|
| 75 |
+
"vocab_size": 151936
|
| 76 |
+
}
|
transformer/diffusion_pytorch_model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6671b24d4c982dd7776b06d70d788d6feefbe4eb54f4796c265c50c38a13ba2
|
| 3 |
+
size 9973834472
|
transformer/diffusion_pytorch_model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad1247db2a25835152e03418f8f717d59106e870ab935bca37e309afb42840db
|
| 3 |
+
size 9995048424
|
transformer/diffusion_pytorch_model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16b6516dd208575d9dcda03c0a62a1f0435001370b6c83c088b0a3c1672f82da
|
| 3 |
+
size 9995048457
|
transformer/diffusion_pytorch_model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:988d1d0a60356f40a4af12099bb6221db00b0cd4df59696386397421b377a822
|
| 3 |
+
size 4347568074
|
transformer/diffusion_pytorch_model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vae/config.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKLWan",
|
| 3 |
+
"_diffusers_version": "0.40.0.dev0",
|
| 4 |
+
"_name_or_path": "/home/circulus/.cache/huggingface/hub/models--nvidia--Cosmos3-Super/snapshots/e0262be9d8f7586bc24c069a2aed2b665bdff266/vae",
|
| 5 |
+
"attn_scales": [],
|
| 6 |
+
"base_dim": 160,
|
| 7 |
+
"clip_output": false,
|
| 8 |
+
"decoder_base_dim": 256,
|
| 9 |
+
"dim_mult": [
|
| 10 |
+
1,
|
| 11 |
+
2,
|
| 12 |
+
4,
|
| 13 |
+
4
|
| 14 |
+
],
|
| 15 |
+
"dropout": 0.0,
|
| 16 |
+
"in_channels": 12,
|
| 17 |
+
"is_residual": true,
|
| 18 |
+
"latents_mean": [
|
| 19 |
+
-0.2289,
|
| 20 |
+
-0.0052,
|
| 21 |
+
-0.1323,
|
| 22 |
+
-0.2339,
|
| 23 |
+
-0.2799,
|
| 24 |
+
0.0174,
|
| 25 |
+
0.1838,
|
| 26 |
+
0.1557,
|
| 27 |
+
-0.1382,
|
| 28 |
+
0.0542,
|
| 29 |
+
0.2813,
|
| 30 |
+
0.0891,
|
| 31 |
+
0.157,
|
| 32 |
+
-0.0098,
|
| 33 |
+
0.0375,
|
| 34 |
+
-0.1825,
|
| 35 |
+
-0.2246,
|
| 36 |
+
-0.1207,
|
| 37 |
+
-0.0698,
|
| 38 |
+
0.5109,
|
| 39 |
+
0.2665,
|
| 40 |
+
-0.2108,
|
| 41 |
+
-0.2158,
|
| 42 |
+
0.2502,
|
| 43 |
+
-0.2055,
|
| 44 |
+
-0.0322,
|
| 45 |
+
0.1109,
|
| 46 |
+
0.1567,
|
| 47 |
+
-0.0729,
|
| 48 |
+
0.0899,
|
| 49 |
+
-0.2799,
|
| 50 |
+
-0.123,
|
| 51 |
+
-0.0313,
|
| 52 |
+
-0.1649,
|
| 53 |
+
0.0117,
|
| 54 |
+
0.0723,
|
| 55 |
+
-0.2839,
|
| 56 |
+
-0.2083,
|
| 57 |
+
-0.052,
|
| 58 |
+
0.3748,
|
| 59 |
+
0.0152,
|
| 60 |
+
0.1957,
|
| 61 |
+
0.1433,
|
| 62 |
+
-0.2944,
|
| 63 |
+
0.3573,
|
| 64 |
+
-0.0548,
|
| 65 |
+
-0.1681,
|
| 66 |
+
-0.0667
|
| 67 |
+
],
|
| 68 |
+
"latents_std": [
|
| 69 |
+
0.4765,
|
| 70 |
+
1.0364,
|
| 71 |
+
0.4514,
|
| 72 |
+
1.1677,
|
| 73 |
+
0.5313,
|
| 74 |
+
0.499,
|
| 75 |
+
0.4818,
|
| 76 |
+
0.5013,
|
| 77 |
+
0.8158,
|
| 78 |
+
1.0344,
|
| 79 |
+
0.5894,
|
| 80 |
+
1.0901,
|
| 81 |
+
0.6885,
|
| 82 |
+
0.6165,
|
| 83 |
+
0.8454,
|
| 84 |
+
0.4978,
|
| 85 |
+
0.5759,
|
| 86 |
+
0.3523,
|
| 87 |
+
0.7135,
|
| 88 |
+
0.6804,
|
| 89 |
+
0.5833,
|
| 90 |
+
1.4146,
|
| 91 |
+
0.8986,
|
| 92 |
+
0.5659,
|
| 93 |
+
0.7069,
|
| 94 |
+
0.5338,
|
| 95 |
+
0.4889,
|
| 96 |
+
0.4917,
|
| 97 |
+
0.4069,
|
| 98 |
+
0.4999,
|
| 99 |
+
0.6866,
|
| 100 |
+
0.4093,
|
| 101 |
+
0.5709,
|
| 102 |
+
0.6065,
|
| 103 |
+
0.6415,
|
| 104 |
+
0.4944,
|
| 105 |
+
0.5726,
|
| 106 |
+
1.2042,
|
| 107 |
+
0.5458,
|
| 108 |
+
1.6887,
|
| 109 |
+
0.3971,
|
| 110 |
+
1.06,
|
| 111 |
+
0.3943,
|
| 112 |
+
0.5537,
|
| 113 |
+
0.5444,
|
| 114 |
+
0.4089,
|
| 115 |
+
0.7468,
|
| 116 |
+
0.7744
|
| 117 |
+
],
|
| 118 |
+
"num_res_blocks": 2,
|
| 119 |
+
"out_channels": 12,
|
| 120 |
+
"patch_size": 2,
|
| 121 |
+
"scale_factor_spatial": 16,
|
| 122 |
+
"scale_factor_temporal": 4,
|
| 123 |
+
"temperal_downsample": [
|
| 124 |
+
false,
|
| 125 |
+
true,
|
| 126 |
+
true
|
| 127 |
+
],
|
| 128 |
+
"z_dim": 48
|
| 129 |
+
}
|
vae/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:230496cb59ff85bc9c040487737c4062480cb61c71e697b197b4c30142f2a0da
|
| 3 |
+
size 1409400600
|