File size: 637 Bytes
159ac57
 
 
b75f2c5
159ac57
 
87294e4
 
0784084
87294e4
0784084
b1fe126
0784084
87294e4
 
0784084
b75f2c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
base_model:
- lehduong/OneDiffusion
license: cc-by-nc-4.0
---

# OneDiffusion

The weights are reuploaded in bfloat16, safetensors format. The T5 encoder output is not compatible with Flux/SD3, it needs to be redownloaded as well.

## Gradio

In the [instruction](https://github.com/lehduong/OneDiffusion?tab=readme-ov-file#quick-start) or in the [gradio demo](https://github.com/lehduong/OneDiffusion/blob/17ab6fb44dabf1ab43bbe053a79fe45fc307628d/gradio_demo.py#L132) change the repo_id to this url.

```python
pipeline = OneDiffusionPipeline.from_pretrained('twodgirl/onediffusion-bf16').to(device=device, dtype=torch.bfloat16)
```