Spaces:
Running
Running
| title: README | |
| emoji: π | |
| colorFrom: gray | |
| colorTo: purple | |
| sdk: static | |
| pinned: false | |
| <!-- header start --> | |
| <!-- 200823 --> | |
| <a href="https://www.pruna.ai/?utm_source=huggingface&utm_medium=org_card&utm_campaign=hf_traffic" target="_blank" rel="noopener noreferrer"> | |
| <img src="https://github.com/PrunaAI/pruna/raw/main/docs/assets/images/logo.png" | |
| alt="PrunaAI" | |
| style="width: 50%; min-width: 400px; display: block; margin: 0;"> | |
| </a> | |
| <!-- header end --> | |
| ---- | |
| ## π Join the Pruna AI community! | |
| [](https://github.com/PrunaAI/pruna) | |
| [](https://twitter.com/PrunaAI) | |
| [](https://www.linkedin.com/company/pruna-ai) | |
| [](https://discord.com/invite/JFQmtFKCjd) | |
| [](https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=org_card&utm_campaign=hf_traffic) | |
| ---- | |
| ## π Make AI models faster, cheaper, smaller, greener! | |
| [Pruna AI](https://www.pruna.ai/) makes AI models faster, cheaper, smaller, and greener with the `pruna` package. | |
| - It supports **various models, including CV, NLP, audio, and graphs for predictive and generative AI**. | |
| - It supports **various hardware, including GPU, CPU, Edge**. | |
| - It supports **various compression algorithms**, including quantization, pruning, distillation, caching, recovery, compilation, or factorization, among others. | |
| - You can **combine algorithms** to find the optimal configuration and smash/compress your model. | |
| - You can **evaluate reliable quality and efficiency metrics** of your base vs smashed/compressed models. | |
| **Set it up in minutes and compress your first models in a few lines of code!** | |
| ---- | |
| ## β© How to get started? | |
| You can smash your own models by installing [pruna](https://github.com/PrunaAI/pruna) with pip: | |
| ```py | |
| pip install pruna | |
| ``` | |
| You can start with simple notebooks to experience efficiency gains with: | |
| | Use Case | Free Notebooks | | |
| |------------------------------------------------------------|----------------------------------------------------------------| | |
| | **3x Faster Stable Diffusion Models** | β© [Smash for free](https://colab.research.google.com/github/PrunaAI/pruna/blob/main/docs/tutorials/sd_deepcache.ipynb) | | |
| | **Making your LLMs 4x smaller** | β© [Smash for free](https://colab.research.google.com/github/PrunaAI/pruna/blob/main/docs/tutorials/llms.ipynb) | | |
| | **Smash your model with a CPU only** | β© [Smash for free](https://colab.research.google.com/github/PrunaAI/pruna/blob/main/docs/tutorials/cv_cpu.ipynb) | | |
| | **Transcribe 2 hours of audio in less than 2 minutes with Whisper** | β© [Smash for free](https://colab.research.google.com/github/PrunaAI/pruna/blob/main/docs/tutorials/asr_tutorial.ipynb) | | |
| | **100% faster Whisper Transcription** | β© [Smash for free](https://colab.research.google.com/github/PrunaAI/pruna/blob/main/docs/tutorials/asr_tutorial.ipynb) | | |
| | **Run your Flux model without an A100** | β© [Smash for free](https://githubtocolab.com/PrunaAI/pruna/blob/1d68f74c132bd4045f2af55bb1e5c03bf2dde6a9/docs/tutorials/flux_small.ipynb) | | |
| | **x2 smaller Sana in action** | β© [Smash for free](https://colab.research.google.com/github/PrunaAI/pruna/blob/main/docs/tutorials/sana_diffusers_int8.ipynb) | | |
| For more details on installation and free tutorials, check the [Pruna AI documentation](https://docs.pruna.ai/). | |
| ---- | |
| ## β¨ Test our Performance Models | |
| Want to use our optimized models right away? Try them [via our API](https://www.pruna.ai/all-models) for fast, easy access to Pruna-powered inference. | |
| <style> | |
| .model-button { | |
| display: inline-flex; | |
| flex-direction: row; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 8px 20px; | |
| border: none; | |
| border-radius: 8px; | |
| background: #9334e9; | |
| color: #ffffff; | |
| font-size: 14px; | |
| font-weight: 400; | |
| line-height: 1; | |
| text-decoration: none; | |
| white-space: nowrap; | |
| cursor: pointer; | |
| box-sizing: border-box; | |
| overflow: visible; | |
| opacity: 1; | |
| } | |
| </style> | |
| <a href="https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=org_card&utm_campaign=hf_traffic" class="model-button">Try our models</a> |