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 / backend_snapshot /scripts /inference
7.02 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits

This model has 1 file scanned as unsafe.

yitongl's picture
yitongl
Remove checkpoint-750 inference script
383bb79 verified 11 days ago
  • run_sfp4_ours_p_checkpoint_700.sh
    2.28 kB
    Replace sfp4 checkpoint-750 with checkpoint-700 11 days ago
  • run_sfp4_single.sh
    1.4 kB
    Add inference code and attention settings for sfp4 checkpoint-750 11 days ago
  • run_validate_and_gen.sh
    3.35 kB
    Add inference code and attention settings for sfp4 checkpoint-750 11 days ago