Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ParkSol
/
cosmos-predict2-14b-text2image

Text-to-Image
Cosmos
Diffusers
Safetensors
nvidia
Model card Files Files and versions
xet
Community

Instructions to use ParkSol/cosmos-predict2-14b-text2image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Cosmos

    How to use ParkSol/cosmos-predict2-14b-text2image 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 ParkSol/cosmos-predict2-14b-text2image with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ParkSol/cosmos-predict2-14b-text2image", 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
cosmos-predict2-14b-text2image
67.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ParkSol's picture
ParkSol
Upload cosmos-predict2-14b-text2image (local snapshot)
6f5f9b7 verified about 2 months ago
  • scheduler
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • text_encoder
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • tokenizer
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • transformer
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • vae
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    26.6 kB
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • config.json
    71 Bytes
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • model.pt

    Detected Pickle imports (5)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.ByteStorage",
    • "torch.LongStorage",
    • "torch.BFloat16Storage"

    What is a pickle import?

    28.5 GB
    xet
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago
  • model_index.json
    470 Bytes
    Upload cosmos-predict2-14b-text2image (local snapshot) about 2 months ago