Run this model with HF Jobs
Run nvidia/Cosmos3-Super-Text2Image-4Step 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/nvidia/Cosmos3-Super-Text2Image-4Step. 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/nvidia/Cosmos3-Super-Text2Image-4Step 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 nvidia/Cosmos3-Super-Text2Image-4Step with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use nvidia/Cosmos3-Super-Text2Image-4Step 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
- Notebooks
- Google Colab
- Kaggle
Add SGLang usage section to the Cosmos3-Super-Text2Image-4Step model card
#18
by majchrow - opened
Adds an SGLang Diffusion usage section to the model card, mirroring the structure of the nvidia/Cosmos3-Super-Text2Image card.
Contents:
- Install block and serve command.
- A note that the 64B transformer is ~128 GB in BF16 and that sequence and classifier-free-guidance parallelism divide activations rather than weights, so on GPUs with less memory the weights need
--use-fsdp-inference(sharding) or--dit-layerwise-offload(layer streaming). - The fixed 4-step distilled schedule: SGLang reads it from
scheduler/scheduler_config.json, sonum_inference_stepsandflow_shiftare ignored andguidance_scaleis forced to1.0. - An example request, verified end-to-end on 4xH100.
Please do not merge yet - holding until Cosmos 3 support is merged into SGLang: sgl-project/sglang#31590.