mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #932] [Bug] Ubuntu24.04安装过程中用到的软件冲突 #663
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#663
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 @113514089 on GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/932
Originally assigned to: @Atream on GitHub.
检查清单
问题描述
cuda torch flashinfer 冲突 Ubuntu24.04 最低支持cuda12.6 装其他会有兼容性问题,或者可以安装,但是要解决一堆麻烦事,torch 与cuda兼容性较好,但是flashinfer 不支持cuda12.6版,支持的最高版本是12.4,所以flashinfer在其中起了多大作用,能用其他代替吗?
复现步骤
这个是安装过程的冲突 所以就没有这些了
环境信息
ubuntu24.04 8581c 双cpu 4090显卡
@yeungtuzi commented on GitHub (Mar 20, 2025):
我使用 cuda12.8/torch 2.6 可以正常编译安装flashinfer,官方的whl不会编译很多版本提供下载,建议自行编译
@113514089 commented on GitHub (Mar 20, 2025):
编译简单吗,有没有教程可以贴下,谢谢
@Atream commented on GitHub (Mar 20, 2025):
不安装flashinfer也可以使用,会自动使用triton kernel来进行MLA计算,但后续的多并发必须使用flashinfer。
flashinfer支持源码编译安装,使用jit模式安装简单快速,具体请参考https://github.com/flashinfer-ai/flashinfer?tab=readme-ov-file#install-from-source
@CYSTEV-chn commented on GitHub (Mar 25, 2025):
不装flashinfer,启动的时候会自动装triton,但是triton只支持8K的上下文,flashinfer支持128K上下文以及并发适用。