0 / unet /open.py
bodam's picture
End of training
433f9c9
raw
history blame contribute delete
174 Bytes
from safetensors import safe_open
tensors = {}
with safe_open("diffusion_pytorch_model.safetensors", framework="pt", device=0) as f:
for k in f.keys():
print(k)