</Tip>  
<Tip>  
While Kolors is integrated in Diffusers, you need to load the image encoder from a revision to use the safetensor files. You can still use the main branch of the original repository if you're comfortable loading pickle checkpoints.  
</Tip>  
```python
import torch
from transformers import CLIPVisionModelWithProjection