You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: CONGRATS ON YOUR AMAZING RESEARCH WORK.
Considering that this is using GGML and seems based directly on llama.cpp:
Why is this a separate project to llama.cpp, given that llama.cpp already supports BitNet ternary quants? (ggml-org/llama.cpp#8151)
Are these simply more optimised kernels?
If so, how do they compare to llama's implementation?
Can/should they be contributed back to llama.cpp?
Reacted by Aditya Singh, Dan Saattrup Smart, Tuan Pham, Haris, Marco Concetto Rudilosso, myan-o, ic++, eabase, Simon Waloschek, 子平 Liu and 7 more
Reacted by Yuhki Yano
Reacted by 子平 Liu, Stanislav Ursache, jaycc3000 and Leonardo
Reacted by Yihao Wang, Dan Saattrup Smart, Robin Bially, Tuan Pham, CJ, Haris, Marco Concetto Rudilosso, Lukas A. Santiago, Legion, Raven Scott and 8 more
Great question! Yes this is inherited from llama.cpp as noted in the Acknowledge section, we had pushed our model support code into llama.cpp via ggml-org/llama.cpp#7931, however there are some framework refinements in bitnet.cpp that have hard conflicts with original llama.cpp code, so that a new repo might be needed.
Comparing to llama.cpp, bitnet.cpp's inference result is exact the same as the "ground truth" one, we will add more explanations in the Readme file later, thanks.
..there are some framework refinements in bitnet.cpp that have hard conflicts...
Sorry, but this doesn't sound like a very credible reason. Especially given the MS history of taking over other (often FOSS) code and make it their own. It should be stated clearly up-front and not as a footnote, that this code is a fork from llama.cpp, and exactly why this fork was needed.
After checking the submodule in this repository (I personally dislike using submodules in Git), I found that it relies on an outdated fork of the original llama.cpp project. it is 320 commits behind
Will Microsoft seriously support this project?
This repository appears more like a personal project.
Indeed very suspicions, and seem more like some kind of clickbait project. They racked up 10,000 stars in no time, and nearly no commits or useful feedback, since. I hate to sound negative, but I hate even more to get involved in these kind of unethical/corporate side hustles. In addition, I also hate sub-modules! :( Avoiding huge number of various external files may be the very reason why llama.cpp was so successful:
Activity
sd983527 commentedon Oct 20, 2024
Great question! Yes this is inherited from llama.cpp as noted in the Acknowledge section, we had pushed our model support code into llama.cpp via ggml-org/llama.cpp#7931, however there are some framework refinements in bitnet.cpp that have hard conflicts with original llama.cpp code, so that a new repo might be needed.
Comparing to llama.cpp, bitnet.cpp's inference result is exact the same as the "ground truth" one, we will add more explanations in the Readme file later, thanks.
eabase commentedon Oct 20, 2024
Yan Xia (@sd983527)
Sorry, but this doesn't sound like a very credible reason. Especially given the MS history of taking over other (often FOSS) code and make it their own. It should be stated clearly up-front and not as a footnote, that this code is a fork from llama.cpp, and exactly why this fork was needed.
Still waiting for someone to address the questions from Mathijs de Bruin (@dokterbob) .
ZipingL commentedon Oct 21, 2024
Can someone just do a pull request of what’s been done in here to llama.cpp? Thanks this is a better practice for me.
ExtReMLapin commentedon Oct 21, 2024
Maybe try reading the contributor answer next time
ozbillwang commentedon Oct 22, 2024
I share the same concerns.
After checking the submodule in this repository (I personally dislike using submodules in Git), I found that it relies on an outdated fork of the original llama.cpp project. it is 320 commits behind
https://github.com/Eddie-Wang1120/llama.cpp.git
https://github.com/microsoft/BitNet/blob/main/.gitmodules#L3
Will Microsoft seriously support this project? This repository appears more like a personal project.
eabase commentedon Oct 22, 2024
Bill Wang (@ozbillwang)
Thanks for investigating! 💯
Indeed very suspicions, and seem more like some kind of clickbait project. They racked up 10,000 stars in no time, and nearly no commits or useful feedback, since. I hate to sound negative, but I hate even more to get involved in these kind of unethical/corporate side hustles. In addition, I also hate sub-modules! :( Avoiding huge number of various external files may be the very reason why llama.cpp was so successful:
1 screen, 1 editor, 1 page, 1 tab and
1 file! 🥇eugenehp commentedon Nov 8, 2024
It would be great to see the upstream PR from their fork of llama.cpp