File size: 685 Bytes
46069cb
 
 
58af1c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
license: gpl-3.0
---

This a an fp16 variant of Proteus V0.4 https://huggingface.co/dataautogpt3/ProteusV0.4 currently under the gpl-v3 licence.
i
Made by simply loading and sving.

```py
import torch
from diffusers import DiffusionPipeline

pipeline = DiffusionPipeline.from_pretrained("/Volumes/SSD2TB/AI/caches/invoke_models/sdxl/main/ProteusV0.4" , torch_dtype=torch.float16)
pipeline.save_pretrained('ProteusV0.4', safe_serialization=True, variant='fp16')
```

Use like anyother fp16 variant

```py
pipe = DiffusionPipeline.from_pretrained(
      'Vargol/ProteusV0,4',
      torch_dtype=torch.float16,
      use_safetensors=True,
      variant="fp16",
      ).to('cuda')
```