Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

recoilme
/
ra4

Text-to-Image
Diffusers
Safetensors
diffusion
rectified-flow
dit
Model card Files Files and versions
xet
Community

Instructions to use recoilme/ra4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use recoilme/ra4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("recoilme/ra4", 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
ra4
1.32 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
recoilme's picture
recoilme
убрать мусор (.ipynb_checkpoints, __pycache__)
0090d6c verified 6 days ago
  • samples
    убрать мусор (.ipynb_checkpoints, __pycache__) 6 days ago
  • src
    убрать мусор (.ipynb_checkpoints, __pycache__) 6 days ago
  • text_encoder
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • tokenizer
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • transformer
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • vae
    убрать мусор (.ipynb_checkpoints, __pycache__) 6 days ago
  • .gitattributes
    134 Bytes
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • .gitignore
    189 Bytes
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • README.md
    6.75 kB
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • requirements.txt
    93 Bytes
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago
  • run.sh
    305 Bytes
    ra4-218M: UDiT pyramid model (transformer fp16 + vae + text encoder + code) 6 days ago