# Pegasus Model Weights Compression/Pruning

**URL:** <https://discuss.huggingface.co/t/pegasus-model-weights-compression-pruning/6381>\
**Category:** Models\
**Created:** [May 26, 2021, 7:42am UTC](https://discuss.huggingface.co/t/pegasus-model-weights-compression-pruning/6381 "2021-05-26T07:42:08Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![SteveMama](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/stevemama/32/779_2.png) [@SteveMama](https://discuss.huggingface.co/u/SteveMama)\
**Post date:** [June 4, 2021, 7:45pm UTC](https://discuss.huggingface.co/t/pegasus-model-weights-compression-pruning/6381/8 "2021-06-04T19:45:48Z")

</div>

@lewtun I chose dynamic quantization approach. And I dont think `from_pretrained` support loading quantised models.  
I’d be happy if you can take a look. Can we hop on a google meet call and you can help me out.  
Hopefully.  
Thanks

---

_[View the full topic](https://discuss.huggingface.co/t/pegasus-model-weights-compression-pruning/6381)._
