Can you share the command you used to create the BF16 ggus?

#10
by tarruda - opened

I downloaded the original safetensors but I'm getting an exception while converting to gguf:

INFO:gguf.gguf_writer:Writing the following files:
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00001-of-00015.gguf: n_tensors = 0, total_size = negligible - metadata only
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00002-of-00015.gguf: n_tensors = 375, total_size = 48.4G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00003-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00004-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00005-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00006-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00007-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00008-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00009-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00010-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00011-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00012-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00013-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00014-of-00015.gguf: n_tensors = 11, total_size = 47.2G
INFO:gguf.gguf_writer:/Users/thiago/ml-models/huggingface/tarruda/MiMo-V2.5-GGUF/BF16/MiMo-256x8.2B-V2.5-BF16-00015-of-00015.gguf: n_tensors = 1, total_size = 4.3G
Shard (2/15):   1%|β–ˆβ–‰                                                                                                                                            | 659M/48.4G [00:05<06:18, 126Mbyte/s/Users/thiago/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
./scripts/convert-to-gguf.sh: line 67: 33989 Bus error: 10
Owner

Sure, I didn't do anything special. Just:

source venv/bin/activate
python3 convert_hf_to_gguf.py $fp16_indir --outfile $ggml_outfile --outtype bf16

Bus error sounds weird :S

Probably I got corrupted weights and will try re-downloading. Thanks!

tarruda changed discussion status to closed

Sign up or log in to comment