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

Open
#2,075 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
python, pytorch

Research direction

Reproduce the failure with the reported torchrun command and config at examples/v1/config/sft_intern_s1_tiny_config.py. Then inspect xtuner.v1.float8.triton_kernels.per_block_quant_gemm and the referenced per_block_quant_torch entry point, using the listed xtuner and grouped_gemm versions; done means the function is located and the command proceeds past this compilation error.

Written by the indexing model from the issue text.

Description

运行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

Dominant language
Python
Stars
5.2k
Forks
466
Avg merge
5d 8h
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InternLM/xtuner

All issues in InternLM/xtuner

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.