mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #830] [Bug] No Tensor Saved when Using merge_safetensor_gguf.py #599
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#599
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @3wweiweiwu on GitHub (Mar 7, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/830
Originally assigned to: @Azure-Tang on GitHub.
Checklist
Describe the bug
When I try to merge DeepSeek-R1-IQ1S-F8 to gguf DeepSeek-R1-UD-IQ1_S, it returns error "raise ValueError("No tensors to save")"
Reproduction
GGUF Model Path: unsloth/DeepSeek-R1-GGUF/DeepSeek-R1-UD-IQ1_S
Command:
Error
Environment
OS: Ubuntu 22
GPU: 2xA10
CPU: AMD EPYC 74F3 24-Core Processor
Ktransformer Version: 0.2.3
Build from source code
@Azure-Tang commented on GitHub (Mar 8, 2025):
It seems that script doesn't find safetensors in your path.
~/unsloth/deepseek-r1-fp8-safesensors/DeepSeek-R1-IQ1S-FP8/home/user/unsloth/deepseek-r1-fp8-safesensors/DeepSeek-R1-IQ1S-FP8Or, you can download preprocessed hybrid tensors from https://huggingface.co/KVCache-ai/DeepSeek-R1-GGML-FP8-Hybrid
@3wweiweiwu commented on GitHub (Mar 10, 2025):
Thanks for the clarification. It's issue on my end.
I downloaded the pre-merged tensors, and tried to merge it again. I should download original tensors.
@AlbertG123 commented on GitHub (Apr 2, 2025):
python merge_tensors/merge_safetensor_gguf.py --safetensor_path "
/DeepSeek-R1-IQ1S-FP8" --gguf_path "/DeepSeek-R1-Q2_K_XL" --output_path "~/deepseek-merged-iq1/"我也遇到这个报错,no tensor to save.
DeepSeek-R1-IQ1S-FP8 , 这个是从KVCache-ai/DeepSeek-R1-GGML-FP8-Hybrid/DeepSeek-R1-IQ1S-FP8 中下载的61 个tensor 文件. DeepSeek-R1-Q2_K_XL 是5个 GGUF 文件.