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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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
10.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
yitongl's picture
yitongl
Add standalone inference helper for sfp4 checkpoint-700
1d0c0cc verified about 1 month ago
  • backend_snapshot
    Remove checkpoint-750 inference script about 1 month ago
  • standalone_inference
    Add standalone inference helper for sfp4 checkpoint-700 about 1 month ago
  • transformer
    Replace sfp4 checkpoint-750 with checkpoint-700 about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    1.52 kB
    Replace sfp4 checkpoint-750 with checkpoint-700 about 1 month ago
  • release_pack.tar.gz
    5.27 GB
    xet
    Update release_pack.tar.gz about 1 month ago