Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

yitongl
/
sparse_quant_exp

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use yitongl/sparse_quant_exp with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("yitongl/sparse_quant_exp", 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
sparse_quant_exp / standalone_inference /__pycache__
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit

This model has 1 file scanned as unsafe.

yitongl's picture
yitongl
Add standalone inference helper for sfp4 checkpoint-700
1d0c0cc verified 11 days ago
  • install_overlay.cpython-313.pyc
    4.48 kB
    Add standalone inference helper for sfp4 checkpoint-700 11 days ago
  • run_inference.cpython-313.pyc
    6.22 kB
    Add standalone inference helper for sfp4 checkpoint-700 11 days ago