why only LoRA hosted on Hugging Face'model can be loaded properly?

#2
by tiansheng - opened

my trained Lora also come from Xlab's code, Why can't load it,so strange

oh ,I know, it just need convert "lora.bin" to "lora.safetensors" use this code :https://huggingface.co/spaces/safetensors/convert/tree/main,

convert very easy ,just run the project of convert_file("./model/lora.bin", "./model/lora.safetensors", discard_names=[])

I hope this can help some person

Sign up or log in to comment