Cosmos
Diffusers
Safetensors
cosmos3_omni
nvidia
cosmos3
vllm
vllm-omni
sglang
sglang-diffusion
text, image, video, audio, and action generation
omnimodel
Run this model with HF Jobs
Run Infinix-io/Cosmos3-Nano on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Infinix-io/Cosmos3-Nano. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Infinix-io/Cosmos3-Nano on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Infinix-io/Cosmos3-Nano with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use Infinix-io/Cosmos3-Nano with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Diffusers
How to use Infinix-io/Cosmos3-Nano with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Infinix-io/Cosmos3-Nano", 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
Download modular_model_index.json from Infinix-io/Cosmos3-Nano: direct link, hf CLI and curl.
- Browser
- Download file 1.67 kB
-
https://huggingface.co/Infinix-io/Cosmos3-Nano/resolve/main/modular_model_index.json
- Command line
-
hf download hf://Infinix-io/Cosmos3-Nano/modular_model_index.json
-
curl -L -o modular_model_index.json https://huggingface.co/Infinix-io/Cosmos3-Nano/resolve/main/modular_model_index.json
1.67 kB
| { | |
| "_blocks_class_name": "Cosmos3OmniBlocks", | |
| "_class_name": "Cosmos3OmniModularPipeline", | |
| "_diffusers_version": "0.39.0.dev0", | |
| "text_tokenizer": [ | |
| "transformers", | |
| "Qwen2TokenizerFast", | |
| { | |
| "pretrained_model_name_or_path": "nvidia/Cosmos3-Nano", | |
| "revision": null, | |
| "subfolder": "text_tokenizer", | |
| "type_hint": [ | |
| "transformers", | |
| "Qwen2TokenizerFast" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKLWan", | |
| { | |
| "pretrained_model_name_or_path": "nvidia/Cosmos3-Nano", | |
| "revision": null, | |
| "subfolder": "vae", | |
| "type_hint": [ | |
| "diffusers", | |
| "AutoencoderKLWan" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "transformer": [ | |
| "diffusers", | |
| "Cosmos3OmniTransformer", | |
| { | |
| "pretrained_model_name_or_path": "nvidia/Cosmos3-Nano", | |
| "revision": null, | |
| "subfolder": "transformer", | |
| "type_hint": [ | |
| "diffusers", | |
| "Cosmos3OmniTransformer" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "UniPCMultistepScheduler", | |
| { | |
| "pretrained_model_name_or_path": "nvidia/Cosmos3-Nano", | |
| "revision": null, | |
| "subfolder": "scheduler", | |
| "type_hint": [ | |
| "diffusers", | |
| "UniPCMultistepScheduler" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "sound_tokenizer": [ | |
| "diffusers", | |
| "Cosmos3AVAEAudioTokenizer", | |
| { | |
| "pretrained_model_name_or_path": "nvidia/Cosmos3-Nano", | |
| "revision": null, | |
| "subfolder": "sound_tokenizer", | |
| "type_hint": [ | |
| "diffusers", | |
| "Cosmos3AVAEAudioTokenizer" | |
| ], | |
| "variant": null | |
| } | |
| ] | |
| } | |