Model extracted with the litertlm_peek_main CLI from
https://github.com/google-ai-edge/LiteRT-LM
1git clone https://github.com/google-ai-edge/LiteRT-LM.git
2cd LiteRT-LM/
3git fetch --tags
Note: You need to install Bazel
https://bazel.build/install
Someone smarter than me with more knowledge in C++ should please reverse engineer these files, so we can figure out how the MTP runs:
https://github.com/google-ai-edge/LiteRT-LM/blob/cdb7e4bc31bf01b000eba5d2599337ada5e4945c/runtime/executor/llm_litert_mtp_drafter.h
A very good idea is to utilize the Google AI Edge Model Explorer
https://github.com/google-ai-edge/model-explorer
I have extracted the graph as a JSON, which can be found
here
Maybe someone can reverse engineer this graph with GPT or Claude or something and output a clean Pytorch file????