Skip to content

[llama3.1 8b][mxfp8] inference error on sm120 when using FLASHINFER attention backend #2413

Description

@XuehaoSun
--iters 200 --scheme MXFP8 --static_kv_dtype fp8 --static_attention_dtype fp8 --format llm_compressor --device_map 0
vllm serve Llama-3.1-8B-Instruct-mxfp-w8g32 --port 7777 --host localhost --trust-remote-code --dtype bfloat16 --tensor_parallel_size 2 --max-model-len 4096 --max-num-seqs 32 --gpu-memory-utilization 0.85 --disable-custom-all-reduce

quant log: log
eval log: log

--- Test 1/4: Number comparison ---
Question: Which of these two numbers is larger: 9.11 or 9.8? Please answer directly with the larger number.
Model response: href na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na na

--- Test 2/4: Simple math calculation ---
Question: Calculate 9.9 - 9.11? Please answer directly with the result.
Model response: 百度 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00 2020-01-01 00:00:00

--- Test 3/4: Basic knowledge ---
Question: What is the capital of France? Please answer directly.
Model response: 百度 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 00:00:00

--- Test 4/4: Simple logical reasoning ---
Question: I have a pen, an apple, and a bicycle. Which one can be used for writing? Please answer directly.
Model response: in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom, and the  in the United States, and the  in the United Kingdom

|Tasks|Version|     Filter     |n-shot|  Metric   |   |Value|   |Stderr|
|-----|------:|----------------|-----:|-----------|---|----:|---|-----:|
|gsm8k|      3|flexible-extract|     5|exact_match|↑  |0.003|±  |0.0015|
|     |       |strict-match    |     5|exact_match|↑  |0.000|±  |0.0000|

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions