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

hf-internal-testing
/
tiny-cosmos3-modular-pipe

Text-to-Image
Diffusers
Safetensors
modular-diffusers
cosmos3-omni
Model card Files Files and versions
xet
Community
2

Instructions to use hf-internal-testing/tiny-cosmos3-modular-pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use hf-internal-testing/tiny-cosmos3-modular-pipe with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-cosmos3-modular-pipe", 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
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
tiny-cosmos3-modular-pipe / text_tokenizer
5.06 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
atharvajoshi10's picture
atharvajoshi10
Add tiny Cosmos3 modular pipeline fixture
451dd78 verified 2 days ago
  • added_tokens.json
    392 Bytes
    Add tiny Cosmos3 modular pipeline fixture 2 days ago
  • chat_template.jinja
    1.02 kB
    Add tiny Cosmos3 modular pipeline fixture 2 days ago
  • merges.txt
    1.67 MB
    Add tiny Cosmos3 modular pipeline fixture 2 days ago
  • special_tokens_map.json
    613 Bytes
    Add tiny Cosmos3 modular pipeline fixture 2 days ago
  • tokenizer_config.json
    3.3 kB
    Add tiny Cosmos3 modular pipeline fixture 2 days ago
  • vocab.json
    3.38 MB
    Add tiny Cosmos3 modular pipeline fixture 2 days ago