We can leverage the `bitsandbytes` library to load and quantize the T5-XXL text encoder to 8-bit precision. This allows you to keep using all three text encoders while only slightly impacting performance.  
First install the `bitsandbytes` library.  
```shell
pip install bitsandbytes
```  
Then load the T5-XXL model using the `BitsAndBytesConfig`.  
```python
import torch
from diffusers import StableDiffusion3Pipeline
from transformers import T5EncoderModel, BitsAndBytesConfig