patrickvonplaten commited on
Commit
a89aa7e
1 Parent(s): 179c103
load.py CHANGED
@@ -2,8 +2,9 @@
2
  from diffusers import DiffusionPipeline
3
  from time import time
4
 
5
- for v in ["no_ema", "fp16", None]:
6
- start_time = time()
7
- p = DiffusionPipeline.from_pretrained("huggingface/the-no-branch-repo", variant=v)
8
- p.save_pretrained("./", safe_serialization=True, variant=v)
9
- print(time() - start_time)
 
 
2
  from diffusers import DiffusionPipeline
3
  from time import time
4
 
5
+ for y in [True, False]:
6
+ for v in ["no_ema", "fp16", None]:
7
+ start_time = time()
8
+ p = DiffusionPipeline.from_pretrained("huggingface/the-no-branch-repo", variant=v)
9
+ p.save_pretrained("./", safe_serialization=y, variant=v)
10
+ print(time() - start_time)
safety_checker/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "_commit_hash": "ef759d5db7df8943ccdb50d9fedb095bdaf720e2",
3
- "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/ef759d5db7df8943ccdb50d9fedb095bdaf720e2/safety_checker",
4
  "architectures": [
5
  "StableDiffusionSafetyChecker"
6
  ],
 
1
  {
2
+ "_commit_hash": "179c1038b1cf3ca23d950528f35cb07494659082",
3
+ "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/179c1038b1cf3ca23d950528f35cb07494659082/safety_checker",
4
  "architectures": [
5
  "StableDiffusionSafetyChecker"
6
  ],
vae/diffusion_pytorch_model.no_ema.safetensors → safety_checker/model.fp16.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ec0b7c9252141cfb34245a3ac938f05b5f55cd0c65a91d4c04bf311adf092dc
3
- size 2646507
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d57006243e012298b2d13f63897256151b77e3b3bd5b71ad4e9c924819efdb5f
3
+ size 193430
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/ef759d5db7df8943ccdb50d9fedb095bdaf720e2/text_encoder",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
1
  {
2
+ "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/179c1038b1cf3ca23d950528f35cb07494659082/text_encoder",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
text_encoder/model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcd9bf150bd5fbf04e4a4ba5c141a1a275a2e8d1903a47e82bf764d5dfedbd3b
3
+ size 283923
unet/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.13.0.dev0",
4
- "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/ef759d5db7df8943ccdb50d9fedb095bdaf720e2/unet",
5
  "act_fn": "silu",
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.13.0.dev0",
4
+ "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/179c1038b1cf3ca23d950528f35cb07494659082/unet",
5
  "act_fn": "silu",
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.13.0.dev0",
4
- "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/ef759d5db7df8943ccdb50d9fedb095bdaf720e2/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  32,
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
  "_diffusers_version": "0.13.0.dev0",
4
+ "_name_or_path": "/home/patrick/.cache/huggingface/diffusers/models--huggingface--the-no-branch-repo/snapshots/179c1038b1cf3ca23d950528f35cb07494659082/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  32,