Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ library_name: diffusers
|
|
| 10 |
---
|
| 11 |
For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11
|
| 12 |
|
| 13 |
-
This is my first time using DF11 to compress a model outside the Flux architecture. The process for compressing Flux-based models is much more straightforward as compared to other architectures because the compression code requires a `pattern_dict` as input, but the original [example code](https://github.com/LeanModels/DFloat11/tree/master/examples/compress_flux1) only provides it for Flux, which meant I had to learn the notation myself and modify it to fit other models.
|
| 14 |
|
| 15 |
This is the `pattern_dict` I used for compression:
|
| 16 |
```python
|
|
|
|
| 10 |
---
|
| 11 |
For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11
|
| 12 |
|
| 13 |
+
This is my first time using DF11 to compress a model outside the Flux architecture. The process for compressing Flux-based models is much more straightforward as compared to other architectures because the compression code requires a `pattern_dict` as input, but the original [example code](https://github.com/LeanModels/DFloat11/tree/master/examples/compress_flux1) only provides it for Flux, which meant I had to learn the notation myself and modify it to fit other models. At least Chroma is just a pruned version of Flux, so it was relatively simple to derive the correct `pattern_dict` this time. Do let me know if you run into any problems.
|
| 14 |
|
| 15 |
This is the `pattern_dict` I used for compression:
|
| 16 |
```python
|