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

[BuddyLLaMA] Add GPU lowering example for LLaMA inference. #229

Closed
wants to merge 37 commits into from

Conversation

SForeKeeper
Copy link
Contributor

This pull request adds basic instructions for lowering LLaMA MLIR for inference on GPU.
** It needs to be polished after buddy-mlir updates to the latest version of LLVM **
Notice that it doesn't involve any optimization for GPU, hence don't expect a high inference rate.
Optimizations would be implemented gradually using transform dialect, which involves another lowering pipeline.

Copy link

@SForeKeeper SForeKeeper closed this Feb 9, 2024
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

Successfully merging this pull request may close these issues.

8 participants