update half precision checkpoint
Browse files- README.md +2 -2
- dmd2_sdxl_1step_unet_fp16.bin +3 -0
- dmd2_sdxl_4step_unet_fp16.bin +3 -0
README.md
CHANGED
@@ -39,7 +39,7 @@ from huggingface_hub import hf_hub_download
|
|
39 |
from safetensors.torch import load_file
|
40 |
base_model_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
41 |
repo_name = "tianweiy/DMD2"
|
42 |
-
ckpt_name = "
|
43 |
# Load model.
|
44 |
unet = UNet2DConditionModel.from_config(base_model_id, subfolder="unet").to("cuda", torch.float16)
|
45 |
unet.load_state_dict(torch.load(hf_hub_download(repo_name, ckpt_name), map_location="cuda"))
|
@@ -58,7 +58,7 @@ from huggingface_hub import hf_hub_download
|
|
58 |
from safetensors.torch import load_file
|
59 |
base_model_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
60 |
repo_name = "tianweiy/DMD2"
|
61 |
-
ckpt_name = "
|
62 |
# Load model.
|
63 |
unet = UNet2DConditionModel.from_config(base_model_id, subfolder="unet").to("cuda", torch.float16)
|
64 |
unet.load_state_dict(torch.load(hf_hub_download(repo_name, ckpt_name), map_location="cuda"))
|
|
|
39 |
from safetensors.torch import load_file
|
40 |
base_model_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
41 |
repo_name = "tianweiy/DMD2"
|
42 |
+
ckpt_name = "dmd2_sdxl_4step_unet_fp16.bin"
|
43 |
# Load model.
|
44 |
unet = UNet2DConditionModel.from_config(base_model_id, subfolder="unet").to("cuda", torch.float16)
|
45 |
unet.load_state_dict(torch.load(hf_hub_download(repo_name, ckpt_name), map_location="cuda"))
|
|
|
58 |
from safetensors.torch import load_file
|
59 |
base_model_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
60 |
repo_name = "tianweiy/DMD2"
|
61 |
+
ckpt_name = "dmd2_sdxl_1step_unet_fp16.bin"
|
62 |
# Load model.
|
63 |
unet = UNet2DConditionModel.from_config(base_model_id, subfolder="unet").to("cuda", torch.float16)
|
64 |
unet.load_state_dict(torch.load(hf_hub_download(repo_name, ckpt_name), map_location="cuda"))
|
dmd2_sdxl_1step_unet_fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:facefb60b3e7b1d4ad70f16628fe153672b0749842e2cbe20f8da9f281acf8ba
|
3 |
+
size 5135671909
|
dmd2_sdxl_4step_unet_fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c2d55d5844bc1387f59ef76d2dcca4557bfce7fb426ac5a34bd23f6372bf9f6
|
3 |
+
size 5135671909
|