Allow building on Linux#28
Open
janimo wants to merge 1 commit intoantirez:mainfrom
Open
Conversation
Owner
|
Thanks, I merged it but then squashed a big set of commits and, I'm sorry, the merge is no longer present, but the changes are. I was in the middle of a big merge operation, sorry :( |
Author
|
No problem. It was just to get it build and see it run at ~1.8 tps on the CPU :) The current Linux path assumes CUDA which is realistic but having a simple CPU only build, even if impractical, may not be a bad idea. |
Owner
|
Yep indeed. We could have a non-just-reference CPU path by making use of advanced SIMD instruction sets but probably even so it is going to be so slow to be useless. This project is trying really hard to be something people can use... and to be usable you need like a minimum of 100 t/s prefill, 10 t/s generation, to be generous. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The smallest change to allow building on Linux with CC set to either gcc or clang (I see there's already a non-Darwin branch in the Makefile)
Probably fixes #21