Run this model with HF Jobs
Run city96/Cosmos-Predict2-14B-Text2Image-gguf 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/city96/Cosmos-Predict2-14B-Text2Image-gguf. 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/city96/Cosmos-Predict2-14B-Text2Image-gguf 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 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
Create README.md
Browse files123456789101112131415161718192021222324252627282930313233---base_model: nvidia/Cosmos-Predict2-14B-Text2Imagelibrary_name: ggufquantized_by: city96tags: - nvidia - cosmos - diffuserslicense: otherlicense_name: nvidia-open-model-licenselicense_link: >- https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license---
This is a direct GGUF conversion of [nvidia/Cosmos-Predict2-14B-Text2Image](https://huggingface.co/nvidia/Cosmos-Predict2-14B-Text2Image).
The model files can be used in [ComfyUI](https://github.com/comfyanonymous/ComfyUI/) with the [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) custom node. Place the required model(s) in the following folders:
| Type | Name | Location | Download || ------------ | ------------------------------ | --------------------------------- | ---------------- || Main Model | Cosmos-Predict2-14B-Text2Image | `ComfyUI/models/diffusion_models` | GGUF (this repo) || Text Encoder | (old) T5-XXL-Encoder | `ComfyUI/models/text_encoders` | [Safetensors](https://huggingface.co/comfyanonymous/cosmos_1.0_text_encoder_and_VAE_ComfyUI/tree/main/text_encoders) || VAE | Wan 2.1 VAE | `ComfyUI/models/vae` | [Safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/blob/main/split_files/vae/wan_2.1_vae.safetensors) |
[**Example workflow**](media/cosmos-predict2-14b-text2image_workflow.json) - based on the [official example workflow](https://github.com/comfyanonymous/ComfyUI/pull/8517)
[**Example outputs**](media/cosmos-predict2-14b-text2image.png) - sample size of 1, not strictly representative

### Notes
*As this is a quantized model not a finetune, all the same restrictions/original license terms still apply.*README.mdAdded+33