Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Issue Help】 chatglm2-6b has some cases dismatch with golden #77

Open
DeepTecher opened this issue Jun 3, 2024 · 2 comments
Open

Comments

@DeepTecher
Copy link

https://github.com/bytedance/ByteMLPerf/blob/main/byte_infer_perf/llm_perf/workloads/chatglm2-torch-fp16-6b.json

We run on A100-40G to get output logits with the below configuration:

{
    "model": "chatglm2-torch-fp16-6b",
    "test_accuracy": true,
    "test_perf": true,
    "min_new_tokens": 128,
    "max_new_tokens": 256,
    "tp_sizes": [1, 2],
    "batch_sizes":[1, 2, 4, 8],
    "input_tokens": [1024, 2048],
    "dataset": "llm_perf/datasets/merged_52_test.csv",
    "perf_time": 180
}

It seems that some dimensions do not match the golden values.
one case of 52 cases:

id,question,A,B,C,D
0,"对于以下结构定义,++p->str中的++加在____
struct{
int len;
char*str;
}*P;",指针 p 上,指针 str 上,str 指的内容上,语法错误

@suisiyuan
Copy link
Collaborator

to be comfirmed.

@suisiyuan
Copy link
Collaborator

suisiyuan commented Jun 24, 2024

previous golden values didn't contain eos_token_id, and might stop generating if generated tokens num exceeds 512.
current golden values will contain eos_token_id, and will still stop generating if generated tokens num exceeds 512.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants