Instructions to use Arsh9210/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 Arsh9210/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 Arsh9210/Cosmos-1.0-Diffusion-7B-Text2World with NeMo:
# tag did not correspond to a valid NeMo domain.
- Diffusers
How to use Arsh9210/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("Arsh9210/Cosmos-1.0-Diffusion-7B-Text2World", torch_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
File size: 255 Bytes
b5ec479 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"chunks": [
1,
4096,
16384
],
"compressor": null,
"dtype": "<f4",
"fill_value": null,
"filters": null,
"order": "C",
"shape": [
28,
4096,
16384
],
"zarr_format": 2
} |