Instructions to use hf-internal-testing/tiny-cosmos3-distilled-modular-pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-cosmos3-distilled-modular-pipe with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-cosmos3-distilled-modular-pipe", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,176 Bytes
2059b59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | {
"_class_name": "Cosmos3OmniTransformer",
"_diffusers_version": "0.40.0.dev0",
"_name_or_path": "/root/.cache/huggingface/hub/models--hf-internal-testing--tiny-cosmos3-modular-pipe/snapshots/9b0268fcede397cca83377c4a41c8f3efd2702fd/transformer",
"action_dim": 10,
"action_gen": true,
"attention_bias": false,
"attention_dropout": 0.0,
"backbone_type": "cosmos3_qwen3vl",
"base_fps": 24,
"enable_fps_modulation": true,
"head_dim": 6,
"hidden_act": "silu",
"hidden_size": 6,
"intermediate_size": 12,
"latent_channel": 4,
"latent_patch_size": 2,
"num_attention_heads": 1,
"num_embodiment_domains": 32,
"num_hidden_layers": 1,
"num_key_value_heads": 1,
"patch_latent_dim": 16,
"qk_norm_for_text": true,
"rms_norm_eps": 1e-06,
"rope_axes_dim": [
1,
1,
1
],
"rope_scaling": {
"mrope_section": [
1,
1,
1
]
},
"rope_theta": 5000000.0,
"sound_dim": 4,
"sound_gen": true,
"sound_latent_fps": 5.0,
"temporal_compression_factor": 4,
"timestep_scale": 0.001,
"unified_3d_mrope_reset_spatial_ids": true,
"unified_3d_mrope_temporal_modality_margin": 15000,
"vocab_size": 151657
}
|