AttributeError: Compiling Error! Cannot locate the function: xtuner.v1.float8.triton_kernels.per_block_quant_gemm.per_block_quant_torch

未关闭
#2,075 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
python, pytorch

调研方向

使用 examples/v1/config/sft_intern_s1_tiny_config.py 中报告的 torchrun 命令和配置复现该故障。然后使用列出的 xtuner 和 grouped_gemm 版本,检查 xtuner.v1.float8.triton_kernels.per_block_quant_gemm 以及所引用的 per_block_quant_torch 入口点;完成的标准是定位到该函数,并且命令能够继续执行而越过此编译错误。

由索引模型根据 Issue 内容生成。

描述

运行torchrun xtuner/v1/train/cli/sft.py --config examples/v1/config/sft_intern_s1_tiny_config.py的时候报错
[rank0]: AttributeError: Compiling Error! Cannot locate the function: xtuner.v1.float8.triton_kernels.per_block_quant_gemm.per_block_quant_torch

xtuner:0.2.0
grouped_gemm:1.1.4

主要语言
Python
星标
5.2k
派生
466
平均合并
5 天 8 小时
30 天内合并 PR
44

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

InternLM/xtuner 的其他 Issue

查看 InternLM/xtuner 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。