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

llm.c for inference #752

Open
ztachip opened this issue Sep 1, 2024 · 2 comments
Open

llm.c for inference #752

ztachip opened this issue Sep 1, 2024 · 2 comments

Comments

@ztachip
Copy link

ztachip commented Sep 1, 2024

Do you have the equivalent simple C implementation of LLM but for inference of LLAMA models.
I am trying to build a FPGA accelerator for LLM and a simple reference C code would be very helpful
Thanks

@alxndrTL
Copy link

alxndrTL commented Sep 5, 2024

Maybe this : https://github.com/karpathy/llama2.c ?
A one-file implementation for Llama2 inference in C

@ztachip
Copy link
Author

ztachip commented Sep 6, 2024

This is perfect. Thanks

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