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

ktransformers_ext/bench #120

Open
wanwujie1 opened this issue Jan 12, 2025 · 1 comment
Open

ktransformers_ext/bench #120

wanwujie1 opened this issue Jan 12, 2025 · 1 comment

Comments

@wanwujie1
Copy link

When running all scripts under the bench directory and finding that, when executed on the CPU, PyTorch's native fp16 and int8 are faster than ggml_type's fp16, q8_0, q4_k_m, and q2_k, and the performance differences between ggml_type's fp16, q8_0, q4_k_m, and q2_k are also minimal, is this normal?

@chenht2022
Copy link
Contributor

Have you ensured that the number of threads in cpuinfer does not exceed the number of physical CPU cores?You can set it in bench_xxx.py

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