patrickvonplaten commited on
Commit
784d267
1 Parent(s): b35c3c4

Fix deprecated float16/fp16 variant loading through new `version` API.

Browse files

Hey Nacholmo 👋,

Your model repository seems to contain a [`fp16` branch](https://huggingface.co/Nacholmo/Counterfeit-V2.5-vae-swapped/tree/fp16) to load the model in float16 precision. Loading `fp16` versions from a branch instead of the main branch is deprecated and will eventually be forbidden. Instead, we strongly recommend to save `fp16` versions of the model under `.fp16.` version files directly on the 'main' branch as enabled through this PR.This PR makes sure that your model repository allows the user to correctly download float16 precision model weights by adding `fp16` model weights in both safetensors and PyTorch bin format:

```py
pipe = DiffusionPipeline.from_pretrained(Nacholmo/Counterfeit-V2.5-vae-swapped, torch_dtype=torch.float16, variant='fp16')
```

For more information please have a look at: https://huggingface.co/docs/diffusers/using-diffusers/loading#checkpoint-variants.
We made sure you that you can safely merge this pull request.

Best, the 🧨 Diffusers team.

safety_checker/model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511
3
+ size 608018440
safety_checker/pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f
3
+ size 608103564
text_encoder/model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62134df1519b78e6af119974d8e3167b65a3f467d32e3ae0c793e889a41a640e
3
+ size 246144864
text_encoder/pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6770dda49b8f7cac87aec63bb5fb72b701e0298124696690954e754601056c75
3
+ size 246187076
unet/diffusion_pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1211fb99c2fb7ee1ee2c2cc81df8ceb377221ba91b522fe6c86da4647b31c5db
3
+ size 1719327893
unet/diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6da2591bc5cbff96138a74710d570c3eee24e2c4ad454fbd325cd6c1c29a8196
3
+ size 1719125304
vae/diffusion_pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbfc384b11302ff776741bc6d0091283c4d26b79755c5c8ba241fdadfe67b538
3
+ size 167405651
vae/diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a08607e9d4f473d67a63070490db0c1e95b50d94789dc02b63851ace9a79d44
3
+ size 167335342