Fix deprecated float16/fp16 variant loading through new `version` API.
Browse filesHey Nacholmo 👋,
Your model repository seems to contain a [`fp16` branch](https://huggingface.co/Nacholmo/VOXO-v0-vtuber-diffusers/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/VOXO-v0-vtuber-diffusers, 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 +3 -0
- safety_checker/pytorch_model.fp16.bin +3 -0
- text_encoder/model.fp16.safetensors +3 -0
- text_encoder/pytorch_model.fp16.bin +3 -0
- unet/diffusion_pytorch_model.fp16.bin +3 -0
- unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- vae/diffusion_pytorch_model.fp16.bin +3 -0
- vae/diffusion_pytorch_model.fp16.safetensors +3 -0
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511
|
3 |
+
size 608018440
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f
|
3 |
+
size 608103564
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d2e611aebaf7e7b0fa56ecedfb3c1be480ad747a674d1b9049b9562bd61371d
|
3 |
+
size 246144864
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73f0107e809c721ecb4c49d1bd4232f45081afc11a745be22e7f0329fc9da38f
|
3 |
+
size 246187076
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e640063644d9da3780fd971c8647d05cb12992340894982f67b360f16765974
|
3 |
+
size 1719327893
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc15da3129a7481571814230ef2a74b3775866c71610178ffa0421fccc3b21ae
|
3 |
+
size 1719125304
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a23c23a066f41b4f5f571e026c82f0f9be49f55aad78b269aa25756a9852028d
|
3 |
+
size 167405651
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d4891c322f5dbe813b77b71d48412b5fae6dbfa15e46be55b855636473ec9f4
|
3 |
+
size 167335342
|