Instructions to use nvidia/Cosmos-1.0-Diffusion-7B-Text2World with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use nvidia/Cosmos-1.0-Diffusion-7B-Text2World 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
- NeMo
How to use nvidia/Cosmos-1.0-Diffusion-7B-Text2World with NeMo:
# tag did not correspond to a valid NeMo domain.
- Diffusers
How to use nvidia/Cosmos-1.0-Diffusion-7B-Text2World with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nvidia/Cosmos-1.0-Diffusion-7B-Text2World", 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
Diffusers-format weights
#9
by a-r-r-o-w - opened
a-r-r-o-w changed pull request title from Upload folder using huggingface_hub to Diffusers-format weights
There are some unrelated formatting changes in the README. They are caused due to autoformatting on the Hub and I'm not sure how to fix it :/
Super! Thank you, Team!
pjannaty changed pull request status to merged