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

ModelsLab
/
krea-2-raw-svdquant-int4_r32

Text-to-Image
Diffusers
Safetensors
English
Krea2Pipeline
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use ModelsLab/krea-2-raw-svdquant-int4_r32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ModelsLab/krea-2-raw-svdquant-int4_r32 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ModelsLab/krea-2-raw-svdquant-int4_r32", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "A small, dark-colored cat is captured mid-stride, walking down the center of a narrow, abandoned street. The street is paved and appears cracked and worn. On either side of the street are tall, dilapidated buildings with visible brickwork and windows. A street lamp stands on the right side. The entire image is rendered in a monochromatic blue, with a distinct halftone dot pattern overlaying the scene, giving it a retro or printed appearance. The focus is soft, and the lighting is diffused, creating a hazy, atmospheric effect. The perspective is from ground level, looking down the length of the street, which narrows into the distance., halftone texture"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
krea-2-raw-svdquant-int4_r32
24.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Patil's picture
Patil
Upload svdq-int4_r32-krea-2-raw.safetensors with huggingface_hub
3be4da2 verified 29 days ago
  • images
    Upload folder using huggingface_hub 29 days ago
  • scheduler
    Upload folder using huggingface_hub 29 days ago
  • text_encoder
    Upload folder using huggingface_hub 29 days ago
  • tokenizer
    Upload folder using huggingface_hub 29 days ago
  • transformer
    Upload folder using huggingface_hub 29 days ago
  • vae
    Upload folder using huggingface_hub 29 days ago
  • .gitattributes
    3.54 kB
    Upload folder using huggingface_hub 29 days ago
  • LICENSE.pdf
    138 kB
    xet
    Upload folder using huggingface_hub 29 days ago
  • README.md
    25.2 kB
    Upload folder using huggingface_hub 29 days ago
  • model_index.json
    587 Bytes
    Upload folder using huggingface_hub 29 days ago
  • svdq-int4_r32-krea-2-raw.safetensors
    7.52 GB
    xet
    Upload svdq-int4_r32-krea-2-raw.safetensors with huggingface_hub 29 days ago