Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Asghar Ali Khan
asgharali7072
Follow
https://mergejpg.org/
asgharali7072
AI & ML interests
Machine Learning Deep learning
Recent Activity
replied
to
cbensimon
's
post
15 days ago
🚀 ZeroGPU now supports PyTorch native quantization via `torchao` While it hasn’t been battle-tested yet, `Int8WeightOnlyConfig` is already working flawlessly in our tests. Let us know if you run into any issues — and we’re excited to see what the community will build! ```python import spaces from diffusers import FluxPipeline from torchao.quantization.quant_api import Int8WeightOnlyConfig, quantize_ pipeline = FluxPipeline.from_pretrained(...).to('cuda') quantize_(pipeline.transformer, Int8WeightOnlyConfig()) # Or any other component(s) @spaces.GPU def generate(prompt: str): return pipeline(prompt).images[0] ```
View all activity
Organizations
None yet
models
0
None public yet
datasets
0
None public yet