Instructions to use city96/Cosmos-Predict2-14B-Text2Image-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use city96/Cosmos-Predict2-14B-Text2Image-gguf 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 city96/Cosmos-Predict2-14B-Text2Image-gguf with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("city96/Cosmos-Predict2-14B-Text2Image-gguf", 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

- Xet hash:
- 9ac85a1c4fee47571a8cf858e4656b2bb89a54db046900aef809200d52778221
- Size of remote file:
- 9.44 MB
- SHA256:
- 0cc09b1b0c64f289b237714b4185fdf00407f173612d426d0c4dcd8403a6e08f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.