Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/MojoLlama/blob/main/src/mojollama/mojo_engine/build_q8.sh # MojoLlama Archived Mojo/MAX quantizer and serving research repository (read-only history) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `MojoLlama / src / mojollama / mojo_engine / build_q8.sh` 13 lines ยท 480 bytes Raw Blame History 1 #!/bin/bash 2 set -e 3 MOJO_LIB="$HOME/.local/share/uv/tools/mojo/lib/python3.11/site-packages/modular/lib" 4 mojo build tinyllama_gen_q8.mojo --emit object -o tinyllama_gen_q8.o 5 gcc -o tinyllama_gen_q8 tinyllama_gen_q8.o \ 6 -L"$MOJO_LIB" \ 7 -lKGENCompilerRTShared \ 8 -lAsyncRTRuntimeGlobals \ 9 -lMSupportGlobals \ 10 -lAsyncRTMojoBindings \ 11 -lm -lpthread -ldl -lstdc++ 12 echo "=== Done: tinyllama_gen_q8 ===" 13 echo "Run: LD_LIBRARY_PATH=\"$MOJO_LIB\" ./tinyllama_gen_q8"