Downloads · 30 days
4
17% of all-time downloads
ParkSol/cosmos-predict2-14b-text2image
cosmos-predict2-14b-text2image is a text-to-image model from ParkSol. Use it when you need an image from a text prompt. It is set up for cosmos. The card lists the license as other.
Downloads · 30 days
4
17% of all-time downloads
All-time downloads
24
Public
Repo size
67.8 GB
Likes
0
Public
Click a slice to open those files.
.safetensors38.8 GB · 57%
From the Hugging Face model README
Cosmos-Predict2: A family of highly performant pre-trained world foundation models purpose-built for generating physics-aware images, videos and world states for physical AI development.
Cosmos-Predict2 diffusion models are a collection of diffusion based world foundation models that generate dynamic, high quality images and videos from text, image, or video inputs. It can serve as the building block for various applications or research that are related to world generation. The models are ready for commercial use under NVIDIA Open Model license agreement.
Model Developer: NVIDIA
The Cosmos-Predict2 diffusion-based model family includes the following models:
This model is released under the NVIDIA Open Model License. For a custom license, please contact [email protected].
Under the NVIDIA Open Model License, NVIDIA confirms:
Important Note: If you bypass, disable, reduce the efficacy of, or circumvent any technical limitation, safety guardrail or associated safety guardrail hyperparameter, encryption, security, digital rights management, or authentication mechanism contained in the Model, your rights under NVIDIA Open Model License Agreement will automatically terminate.
Global
Cosmos-Predict2-14B-Text2Image is a diffusion transformer model designed for image denoising in the latent space. The network is composed of interleaved self-attention, cross-attention and feedforward layers as its building blocks. The cross-attention layers allow the model to condition on input text throughout the denoising process. Before each layer, adaptive layer normalization is applied to embed the time information for denoising.
Input
Output
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
Runtime Engine(s):
import torch
from diffusers import Cosmos2TextToImagePipeline
# Available checkpoints: nvidia/Cosmos-Predict2-2B-Text2Image, nvidia/Cosmos-Predict2-14B-Text2Image
model_id = "nvidia/Cosmos-Predict2-14B-Text2Image"
pipe = Cosmos2TextToImagePipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16)
pipe.to("cuda")
prompt = "A close-up shot captures a vibrant yellow scrubber vigorously working on a grimy plate, its bristles moving in circular motions to lift stubborn grease and food residue. The dish, once covered in remnants of a hearty meal, gradually reveals its original glossy surface. Suds form and bubble around the scrubber, creating a satisfying visual of cleanliness in progress. The sound of scrubbing fills the air, accompanied by the gentle clinking of the dish against the sink. As the scrubber continues its task, the dish transforms, gleaming under the bright kitchen lights, symbolizing the triumph of cleanliness over mess."
negative_prompt = "The video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality."
output = pipe(
prompt=prompt, negative_prompt=negative_prompt, generator=torch.Generator().manual_seed(1)
).images[0]
output.save("output.png")
Supported Hardware Microarchitecture Compatibility:
Note: Only BF16 precision is tested. Other precisions like FP16 or FP32 are not officially supported.
Acceleration Engine: PyTorch, Transformer Engine
Operating System(s):
System Requirements and Performance: This model requires 48.93 GB of GPU VRAM. The following table shows inference time for a single generation across different NVIDIA GPU hardware:
| GPU Hardware | Inference Runtime |
|---|---|
| NVIDIA GB200 | 8.5 sec |
| NVIDIA B200 | 8.68 sec |
| NVIDIA RTX PRO 6000 Workstation Edition | 24.16 sec |
| NVIDIA H200 SXM | 15.96 sec |
| NVIDIA H200 NVL | 16.95 sec |
| NVIDIA H100 PCIe | 23.83 sec |
| NVIDIA H100 NVL | 23.97 sec |
| NVIDIA H20 | 59.59 sec |
| NVIDIA L40S | (OOM) |
| NVIDIA RTX 6000 Ada Generation | 167.86 sec |
Quality Benchmarks: For comparative evaluation, we present benchmark scores from the GenEval evaluation framework.
| Method | Overall | Single Object | Two Objects | Counting | Colors | Position | Color Attribution |
|---|---|---|---|---|---|---|---|
| Stable Diffusion XL | 0.55 | 0.98 | 0.74 | 0.39 | 0.85 | 0.15 | 0.23 |
| DALL-E 3 | 0.67 | 0.96 | 0.87 | 0.47 | 0.83 | 0.43 | 0.45 |
| Flux 1-Dev | 0.66 | 0.98 | 0.79 | 0.73 | 0.77 | 0.22 | 0.45 |
| Cosmos-Predict2-2B-Text2Image | 0.83 | 1.00 | 0.99 | 0.73 | 0.89 | 0.65 | 0.73 |
| Cosmos-Predict2-14B-Text2Image | 0.84 | 1.00 | 0.98 | 0.79 | 0.90 | 0.64 | 0.72 |
Despite various improvements in world generation for Physical AI, Cosmos-Predict2 text2image models still face technical and application limitations for world prediction. In particular, they struggle to generate high-resolution images without artifacts. Common issues include camera and object motion instability, and imprecise interactions. The models may inaccurately represent 3D space, or physical laws in the generated images, leading to artifacts such as unrealistic interactions and implausible motions. As a result, applying these models for applications that require simulating physical law-grounded environments or complex multi-agent dynamics remains challenging.
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Users are responsible for model inputs and outputs. Users are responsible for ensuring safe integration of this model, including implementing guardrails as well as other safety mechanisms, prior to deployment.
For more detailed information on ethical considerations for this model, please see the subcards of Explainability, Bias, Safety & Security, and Privacy below. Please report security vulnerabilities or NVIDIA AI Concerns here.
We value you, the datasets, the diversity they represent, and what we have been entrusted with. This model and its associated data have been:
| Field | Response |
|---|---|
| Participation considerations from adversely impacted groups protected classes in model design and testing: | None |
| Measures taken to mitigate against unwanted bias: | None |
| Field | Response |
|---|---|
| Intended Application & Domain: | World Generation |
| Model Type: | Transformer |
| Intended Users: | Physical AI developers |
| Output: | Images |
| Describe how the model works: | Generates images based on text inputs |
| Technical Limitations: | The model may not follow the text input accurately. |
| Verified to have met prescribed NVIDIA quality standards: | Yes |
| Performance Metrics: | Quantitative and Qualitative Evaluation |
| Potential Known Risks: | The model's output can generate all forms of images, including what may be considered toxic, offensive, or indecent. |
| Licensing: | NVIDIA Open Model License |
| Field | Response |
|---|---|
| Generatable or reverse engineerable personal information? | None Known |
| Protected class data used to create this model? | None Known |
| Was consent obtained for any personal data used? | None Known |
| How often is dataset reviewed? | Before Release |
| Is there provenance for all datasets used in training? | Yes |
| Does data labeling (annotation, metadata) comply with privacy laws? | Yes |
| Is data compliant with data subject requests for data correction or removal, if such a request was made? | Not Applicable |
| Applicable Privacy Poicy | https://www.nvidia.com/en-us/about-nvidia/privacy-policy/ |
| Field | Response |
|---|---|
| Model Application(s): | World Generation |
| Describe the life critical impact (if present). | None Known |
| Use Case Restrictions: | NVIDIA Open Model License |
| Model and dataset restrictions: | The Principle of least privilege (PoLP) is applied limiting access for dataset generation and model development. Restrictions enforce dataset access during training, and dataset license constraints adhered to. Model checkpoints are made available on Hugging Face, and may become available on cloud providers' model catalog. |