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

Will using only CPU be faster than llama.cpp? #140

Open
liutt1312 opened this issue Feb 2, 2024 · 1 comment
Open

Will using only CPU be faster than llama.cpp? #140

liutt1312 opened this issue Feb 2, 2024 · 1 comment
Labels
question Further information is requested

Comments

@liutt1312
Copy link

liutt1312 commented Feb 2, 2024

Will using only CPU be faster than llama.cpp?

@liutt1312 liutt1312 added the question Further information is requested label Feb 2, 2024
@hodlen
Copy link
Collaborator

hodlen commented Feb 5, 2024

Compared with llama.cpp in CPU-only mode, yes. PowerInfer can reduce ~50% FLOPS end to end, depending on the model architecture and sparsity. So a ~2x speedup with CPU decoding would be expected.

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

No branches or pull requests

2 participants