mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #304] 反复出现GLIBCXX_3.4.30 not found 和 CUDA error: no kernel image is available for execution on the device #193
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#193
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 @xiongsp on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/304
CPU: Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz
GPU: 2x Tesla V100-PCIE-32GB
命令:
ktransformers --port 10002 --gguf_path /models/ --model_path /models/DeepSeek-R1/使用Docker版本时候,出现
GLIBCXX_3.4.30 not found,通过使用Release中的avx512版本解决,但是随后出现CUDA Error。--optimize_config_path myrule/DeepSeek-V3-Chat-multi-gpu.yaml后并没有解决。bash install.sh)也无解决。(修改了DeepSeek-V3-Chat和DeepSeek-V3-Chat-multi-gpu配置)myrule/DeepSeek-V3-Chat-multi-gpu.yaml的内容如下:已经参考issue #117、#44
请问如何解决,非常感谢
@moneyisallyouneed commented on GitHub (Feb 15, 2025):
GLIBCXX not found这个问题我是通过这样解决的,不知道你能不能用:
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
@xiongsp commented on GitHub (Feb 15, 2025):
@moneyisallyouneed 感谢你。
GLIBCxxx的报错已经通过使用avx512的whl修复,设置LD_PRELOAD环境变量也能解决。但是CUDA Error始终无法修复,我按照其他issues指示将KLinearMarlin修改为KLinearTorch,仍不起作用。具体的CUDA Error如下。@moneyisallyouneed commented on GitHub (Feb 15, 2025):
建议你不要使用whl,直接在main上build试试,然后使用export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6。再检查下检查cuda和torch版本啥的
@zhizi42 commented on GitHub (Feb 18, 2025):
看上去相同的问题。
装的torch是cu124,2.4.1的,cuda是12.4.1,flash_attn是cu124torch2.4.0
gpu是2070super
@xiongsp commented on GitHub (Feb 18, 2025):
我已经成功跑起来了,贴一下解决的帖子。我用的环境是
chatteohr/ktransformers这个镜像GLIBCxx not found:export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6no kernel...:#374、https://github.com/kvcache-ai/ktransformers/issues/278#issuecomment-2658674519@montagetao commented on GitHub (Feb 20, 2025):
我也是借鉴了你的方法解决,谢谢
@jercylew commented on GitHub (Nov 10, 2025):
Hi,请问你的现在跑起来了吗?我的也是V100, 折腾了好久,查了一下貌似是PyTorch新版不再支持sm_70算力的架构,也就是Tesla V100, 也许需要自己从源码编译PyTorch