Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: other
|
| 3 |
-
license_name: flux-1-dev-non-commercial-license
|
| 4 |
-
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: flux-1-dev-non-commercial-license
|
| 4 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 5 |
+
base_model:
|
| 6 |
+
- black-forest-labs/FLUX.1-dev
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Model Details
|
| 10 |
+
|
| 11 |
+
This model card is for mxfp8 quantization of [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) based on [intel/auto-round](https://github.com/intel/auto-round).
|
| 12 |
+
The quantized model is not able to be published due to license limitation. Please follow the INC example README to generate and evaluate the low precision model.
|
| 13 |
+
|
| 14 |
+
## How to Use
|
| 15 |
+
|
| 16 |
+
The step-by-step README of quantization and evaluation can be found in [Intel Neural Compressor Examples](https://github.com/intel/neural-compressor/blob/master/examples/pytorch/diffusion_model/diffusers/flux/README.md).
|
| 17 |
+
|
| 18 |
+
## Evaluate Results
|
| 19 |
+
|
| 20 |
+
| Task | backend | BF16 | MXFP8 |
|
| 21 |
+
|:-----------:|:-------:|:-------:|:-------:|
|
| 22 |
+
| CLIP | vllm | 26.0515 | 26.0494 |
|
| 23 |
+
| CLIP-IQA | vllm | 0.9545 | 0.9553 |
|
| 24 |
+
| ImageReward | vllm | 1.0133 | 1.0214 |
|
| 25 |
+
|
| 26 |
+
## Ethical Considerations and Limitations
|
| 27 |
+
|
| 28 |
+
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information.
|
| 29 |
+
Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
|
| 30 |
+
|
| 31 |
+
Therefore, before deploying any applications of the model, developers should perform safety testing.
|
| 32 |
+
|
| 33 |
+
## Caveats and Recommendations
|
| 34 |
+
|
| 35 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
|
| 36 |
+
|
| 37 |
+
Here are a couple of useful links to learn more about Intel's AI software:
|
| 38 |
+
|
| 39 |
+
- [Intel Neural Compressor](https://github.com/intel/neural-compressor)
|
| 40 |
+
- [AutoRound](https://github.com/intel/auto-round)
|
| 41 |
+
|
| 42 |
+
## Disclaimer
|
| 43 |
+
|
| 44 |
+
The license on this model does not constitute legal advice.
|
| 45 |
+
We are not responsible for the actions of third parties who use this model.
|
| 46 |
+
Please consult an attorney before using this model for commercial purposes.
|