To find the best threshold for your model, we recommend experimenting with the `llm_int8_threshold` parameter in [`BitsAndBytesConfig`]:  
```py
from diffusers import FluxTransformer2DModel, BitsAndBytesConfig