Update README.md
Browse files
README.md
CHANGED
@@ -36,11 +36,14 @@ metrics:
|
|
36 |
|
37 |
![image info](./plots.png)
|
38 |
|
39 |
-
**
|
40 |
-
-
|
41 |
-
-
|
42 |
-
-
|
43 |
-
-
|
|
|
|
|
|
|
44 |
|
45 |
## Setup
|
46 |
|
|
|
36 |
|
37 |
![image info](./plots.png)
|
38 |
|
39 |
+
**Frequently Asked Questions**
|
40 |
+
- ***How does the compression work?*** The model is compressed by combining xformers, triton, jit, cuda graphs, tiling, and step caching.
|
41 |
+
- ***How does the model quality change?*** The quality of the model output might slightly vary compared to the base model.
|
42 |
+
- ***How is the model efficiency evaluated?*** These results were obtained on NVIDIA A100-PCIE-40GB with configuration described in `model/smash_config.json` and are obtained after a hardware warmup. The smashed model is directly compared to the original base model. Efficiency results may vary in other settings (e.g. other hardware, image size, batch size, ...). We recommend to directly run them in the use-case conditions to know if the smashed model can benefit you.
|
43 |
+
- ***What is the model format?*** We used a custom Pruna model format based on pickle to make models compatible with the compression methods. We provide a tutorial to run models in dockers in the documentation [here](https://pruna-ai-pruna.readthedocs-hosted.com/en/latest/) if needed.
|
44 |
+
- ***What is the naming convention for Pruna Huggingface models?*** We take the original model name and append "turbo", "tiny", or "green" if the smashed model has a measured inference speed, inference memory, or inference energy consumption which is less than 90% of the original base model.
|
45 |
+
- ***How to compress my own models?*** You can request premium access to more compression methods and tech support for your specific use-cases [here](https://z0halsaff74.typeform.com/pruna-access?typeform-source=www.pruna.ai).
|
46 |
+
- ***What are "first" metrics?*** Results mentioning "first" are obtained after the first run of the model. The first run might take more memory or be slower than the subsequent runs due cuda overheads.
|
47 |
|
48 |
## Setup
|
49 |
|