[Feature] 支持blackwell(5080 sm_120)

Author: orca-zhangCreated Apr 10, 2025Updated Sep 18, 2026

Checklist

  • 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/kvcache-ai/ktransformers/discussions. Otherwise, it will be closed.
  • 2. To help the community, I will use Chinese/English or attach an Chinese/English translation if using another language. Non-English/Chinese content without translation may be closed.

Motivation

最近在尝试使用5080复现,但是在运行过程中遇到了比较多的编译和运行的问题,求助是否有最佳实践可以参考。

目前已知torch需要使用最新主线代码或者预发布的nightly版本,2.7.0+。

triton需要单独编译或者使用预发布的3.2.0+版本。

flash_attn选择了hopper目录下的fa3。

flashinfer无可用版本(编译时间6+小时)

最常见的报错信息一般是找不到c++方法的符号,一般是连接torch时。

另一种是运行时报错:

Image

Related resources

No response

Source: kvcache-ai/ktransformers