Closed homeworkace closed 9 months ago
This is most likely because the model wasn't downloaded correctly. Check that the .safetensors files look sane, that you don't one very small output.safetensors
stub along with the actual file called output.safetensors?download=True
or something. I've seen that a few times, at least.
I couldn't find what you were referring to, but I think I've solved the problem.
The directory for LoneStriker/lzlv_70b_fp16_hf-2.4bpw-h6-exl2:
I had it downloaded twice. This earlier copy looks different, but they both don't work all the same:
Then I looked at a model with similar BPW that does work. I suspected that for the broken models one of the output files wasn't fully downloaded:
I used Oobabooga to download the models again but forgot to move the models to another file. It turned out that only the incomplete part of the output file is downloaded, and after that the model as a whole works again. It's weird how Ooba would consider the download as done the first time around when its clearly incomplete, but I think that issue is out of your reach. Thanks for your help.
Yeah, HF download can fail quite randomly it seems. Not sure if there's any way to detect that in the TGW download function. I'll think about adding a more informative error message, since the MetadataIncompleteBuffer
exception can pretty much only mean corrupted/incomplete safetensors files.
As first discussed in a HF model page https://huggingface.co/LoneStriker/lzlv_70b_fp16_hf-2.4bpw-h6-exl2/discussions/1#655cce70b53face4cfe7aa93 . The model author suggested this is a Windows-specific issue. Cheers!