mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1402] 启动AMX功能报错 #940
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#940
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 @kmnns on GitHub (Jun 27, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1402
在启动local_chat 命令 --optimize_config_path ./....../optimize_rules/DeepSeek-V3-Chat-amx.yaml时报错,在开始部署专家层时显示精度转换问题,请问该如何解决
@aubreyli commented on GitHub (Jun 27, 2025):
You need to download BF16 GGUF, See AMX doc
@kmnns commented on GitHub (Jun 27, 2025):
我确认一下哈,我现在用的时q4_K_M的gguf ,我需要重新下载BF16版本的GGUF并替换它们是吗
@kmnns commented on GitHub (Jun 27, 2025):
一共需要1.3T的那个版本吗
@aubreyli commented on GitHub (Jun 27, 2025):
Yes
@aubreyli commented on GitHub (Jun 27, 2025):
If you have to use DeepSeek 671B, then yes. Otherwise, you might want to use a smaller model like the Qwen3-30B BF16 GGUF to try AMX.
@trilog-inc commented on GitHub (Jun 27, 2025):
is there a timeline for the AMXInt4 backend?
@aubreyli commented on GitHub (Jun 30, 2025):
Currently, AMX hardware mainly supports BF16 and INT8 formats. If you have low-precision weights (such as 4-bit), they must first be dequantized into either BF16 or INT8 before AMX can be used for computation.
@trilog-inc commented on GitHub (Jun 30, 2025):
I understand. With only 512GB of ram, is there a future where R1/V3 can be used with AMX optimizations?
I only ask because in the AMX docs, the performance results table seems to hint at QWEN3-235B being loaded at 4-bit and consuming 160 GB of system ram. Rough calculations of R1 loaded this way would put it at ~460GB. Not everything is equal obviously..
@always-H commented on GitHub (Dec 3, 2025):
@aubreyli 请问是不是因为gguf的bf16版本和硬件中的bf16版本数据格式布局不同?否则直接使用huggingface上safetensor的bf16版本不行吗
@aubreyli commented on GitHub (Dec 4, 2025):
safetensor BF16 should work. The following webpage for your reference.
https://www.intel.com/content/www/us/en/developer/articles/code-sample/advanced-matrix-extensions-intrinsics-functions.html