whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Tutorial on implementaion of ggml?

Open nile649 opened this issue 2 years ago • 4 comments

Hi georgi, I am sure this is not the right platform to make an unreasonable request. Could you make a tutorial or docs how did you went on implementing ggml and especially the design. I am personally lacking this skill.

Thank you

nile649 avatar Oct 11 '22 14:10 nile649

Hi! Glad to hear there is interest in this.

Will definitely write something on the topic. Most likely will focus on the various optimisations that I have used -- the machine learning concepts are already described in details elsewhere.

Let me know if there is something of specific interest for you.

ggerganov avatar Oct 11 '22 17:10 ggerganov

I believe there is no need to include ML/DL, mostly about topics like design, design preference. Most of us are knowledgeable about ML, C, C++ but the rest what you did is magic to us.

I really appreciate the work you did. Thank you

nile649 avatar Oct 11 '22 17:10 nile649

Screen Shot 2022-10-13 at 12 08 51

I think simply take photograph of your design on paper for ggml will be helpful. I also try to understand main code using cflow and dot.

Here is easier form to read on paper https://docs.google.com/document/d/1SsRzqdpGt59Pl-KfFd3gwYZ__hnRWVft_ddITr1P0_g

Please share any other tools to make reading/undertanding code faster

ekorudi avatar Oct 13 '22 05:10 ekorudi

I am also interested in understanding the ggml file format. Could you please document that ? Curious to know why a new file format was created.

jaytxrx avatar Dec 04 '22 21:12 jaytxrx