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.