Instructions to use SimpleTuner/cosmos3-component-generation-layers-bf16-super-i2v with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SimpleTuner/cosmos3-component-generation-layers-bf16-super-i2v with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SimpleTuner/cosmos3-component-generation-layers-bf16-super-i2v", 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
| { | |
| "action_dim": 32, | |
| "action_gen": false, | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "base_fps": 16, | |
| "component": "cosmos3_generator", | |
| "dtype": "bfloat16", | |
| "enable_fps_modulation": true, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 5120, | |
| "intermediate_size": 25600, | |
| "latent_channel": 48, | |
| "latent_patch_size": 2, | |
| "load_reasoning_layers": false, | |
| "num_attention_heads": 64, | |
| "num_embodiment_domains": 32, | |
| "num_hidden_layers": 64, | |
| "num_key_value_heads": 8, | |
| "patch_latent_dim": 192, | |
| "qk_norm_for_text": true, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 24, | |
| 20, | |
| 20 | |
| ], | |
| "rope_type": "default" | |
| }, | |
| "rope_theta": 5000000, | |
| "sound_dim": null, | |
| "sound_gen": false, | |
| "sound_latent_fps": 25, | |
| "source_model_id": "nvidia/Cosmos3-Super-Image2Video", | |
| "source_revision": "100d2f5ba573e75e4bc8f159388e8f8353312dc9", | |
| "timestep_scale": 0.001, | |
| "unified_3d_mrope_reset_spatial_ids": true, | |
| "unified_3d_mrope_temporal_modality_margin": 15000, | |
| "vocab_size": 151936 | |
| } | |