Skip to content

Allow building on Linux#28

Open
janimo wants to merge 1 commit intoantirez:mainfrom
janimo:makefile-linux
Open

Allow building on Linux#28
janimo wants to merge 1 commit intoantirez:mainfrom
janimo:makefile-linux

Conversation

@janimo
Copy link
Copy Markdown

@janimo janimo commented May 9, 2026

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

@antirez
Copy link
Copy Markdown
Owner

antirez commented May 11, 2026

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 :(

@janimo
Copy link
Copy Markdown
Author

janimo commented May 11, 2026

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.

@antirez
Copy link
Copy Markdown
Owner

antirez commented May 11, 2026

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.

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.

make error

2 participants