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

leafmoone
/
RUM-FLUX.2-klein-4B-ConvRot-Quantized

Image-to-Image
Diffusers
flux
quantization
convrot
int8
int4
Model card Files Files and versions
xet
Community

Instructions to use leafmoone/RUM-FLUX.2-klein-4B-ConvRot-Quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use leafmoone/RUM-FLUX.2-klein-4B-ConvRot-Quantized with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("leafmoone/RUM-FLUX.2-klein-4B-ConvRot-Quantized", torch_dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
RUM-FLUX.2-klein-4B-ConvRot-Quantized
6.68 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
leafmoone's picture
leafmoone
Add offloaded inference benchmarks
2f284cf verified 1 day ago
  • benchmarks
    Add offloaded inference benchmarks 1 day ago
  • .gitattributes
    1.58 kB
    Add files using upload-large-folder tool 1 day ago
  • README.md
    1.52 kB
    Add model lineage metadata 1 day ago
  • rum-flux2-int4-hybrid-convrot-adaround-realcal-hq.safetensors
    2.59 GB
    xet
    Add files using upload-large-folder tool 1 day ago
  • rum-flux2-int8-convrot-adaround-realcal-hq.safetensors
    4.09 GB
    xet
    Add files using upload-large-folder tool 1 day ago
  • rum_int4_hybrid_hq_2x4.png
    3.23 MB
    xet
    Add files using upload-large-folder tool 1 day ago
  • standalone_inference.py
    28.2 kB
    Add offloaded inference profiling 1 day ago