{"library":{"repo":"attilio-castano/llm-mojo","description":"LLM inference from first principles in Mojo on Apple Silicon: GPU kernels, a serving engine, reproducible studies, and compile-time correctness checks.","created_at":"2026-08-20T14:53:31Z","first_seen":"2026-10-19T17:16:52Z","found_by":"name / language","stars":0,"forks":0,"license":"","size_kb":259522,"commits":40,"mojo_lines":65157,"mojo_files":544,"tooling":"uv","packaging":"none","mojo_version":"1.1.0","version_source":"lock","version_file":"","version_estimate":"1.2","version_estimate_source":"date","topics":["apple-silicon","llm-inference","metal","mojo"],"stats_as_of":"2026-11-23","open_issues":0,"watchers":0,"archived":false,"state":"ok","renamed_to":"","aliases":[],"declared_deps":3,"depends_on":[],"used_by":[],"used_by_forks":[],"second_degree":[],"dependencies":["hydra-core","numpy","typer"],"category":"ml"},"migrations":[{"at":"2026-08-20T16:20:36Z","sha":"2a8fa2aa3da85f703f6a2cf35e0f8f14f118241c","kind":"mojo_version","from":"","to":"1.0.0"},{"at":"2026-08-20T16:20:36Z","sha":"2a8fa2aa3da85f703f6a2cf35e0f8f14f118241c","kind":"tooling","from":"none","to":"uv"},{"at":"2026-10-10T16:14:04Z","sha":"9cd091c5619f385f6592265b096d5b0450215755","kind":"mojo_version","from":"1.0.0","to":"1.1.0"}],"commits":[{"at":"2026-08-20T15:23:52Z","sha":"cee929d9fdffb0fa173a216b0921a8230988bd8d","mojo_lines":0,"tooling":"none","mojo_version":"","subject":"chore: initialize repository","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-08-20T16:20:36Z","sha":"2a8fa2aa3da85f703f6a2cf35e0f8f14f118241c","mojo_lines":11,"tooling":"uv","mojo_version":"1.0.0","subject":"Bootstrap Mojo project foundation (#1)","type":"version","secondary":["docs"],"typed_by":"rules"},{"at":"2026-08-21T16:01:45Z","sha":"2f53f5e9442ec3edb20dd2a87f9400b778fe686c","mojo_lines":11,"tooling":"uv","mojo_version":"1.0.0","subject":"Document Qwen V0 inference roadmap (#2)","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-08-21T18:48:21Z","sha":"148dbaa4dd3cea91c2cb5e63b62b83dd99b5a373","mojo_lines":911,"tooling":"uv","mojo_version":"1.0.0","subject":"Add Qwen RMSNorm reference and Apple GPU baseline (#3)","type":"feature","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-08-24T12:20:10Z","sha":"1253f59cffacdc45a8d7788136f22f72bf587a60","mojo_lines":2020,"tooling":"uv","mojo_version":"1.0.0","subject":"Add Qwen RoPE reference and Apple GPU path (#4)","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-08-24T12:20:32Z","sha":"e14e3d07a6a390f557379595e3bcc2d0ac5cfbe3","mojo_lines":2388,"tooling":"uv","mojo_version":"1.0.0","subject":"Profile and optimize RMSNorm on Apple GPU (#5)","type":"feature","secondary":["test"],"typed_by":"files"},{"at":"2026-08-28T10:49:50Z","sha":"560572d45f74532a0cb3b968e03dbf050f3bbc8a","mojo_lines":4916,"tooling":"uv","mojo_version":"1.0.0","subject":"Add affine projection and optimize M=1 QKV composition (#6)","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-08-31T13:19:13Z","sha":"1c7350907a481b6bd89f7b3fd3a5bd62361c81a0","mojo_lines":6597,"tooling":"uv","mojo_version":"1.0.0","subject":"Characterize Apple GPU prefill matrix multiplication (#7)","type":"feature","secondary":["test"],"typed_by":"files"},{"at":"2026-08-31T17:17:31Z","sha":"d6190d52afa7f9950cdfb4cf1a7c22f1ba938bff","mojo_lines":7082,"tooling":"uv","mojo_version":"1.0.0","subject":"Characterize Apple 8x8 MMA for linear projection (#8)","type":"feature","secondary":["test"],"typed_by":"files"},{"at":"2026-09-02T12:49:09Z","sha":"5eb09378d373afc86f8082ffb6d9a85ab8cd2814","mojo_lines":9301,"tooling":"uv","mojo_version":"1.0.0","subject":"Add grouped-query attention baseline and benchmark (#9)","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-02T13:04:16Z","sha":"92c967d12a4d7403189d2a0ccdff3690eeb760d5","mojo_lines":9301,"tooling":"uv","mojo_version":"1.0.0","subject":"Document model target and reference platform (#10)","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-09-05T15:49:39Z","sha":"a86f4dbadb4b8c9255aacb004ad30fdfefeaa8fd","mojo_lines":15877,"tooling":"uv","mojo_version":"1.0.0","subject":"Optimize Qwen GQA decode on Apple GPU (#11)","type":"perf","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-09-05T18:26:12Z","sha":"875fd734982c7db90b84f8f061c64524d8e7312e","mojo_lines":5407,"tooling":"uv","mojo_version":"1.0.0","subject":"Simplify the inference study and package its development tools (#12)","type":"refactor","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-09-06T10:13:19Z","sha":"f18488202a5c0cbe37fc3997e425ca89b4f27156","mojo_lines":6691,"tooling":"uv","mojo_version":"1.0.0","subject":"Optimize GQA prefill on Apple GPU and document the measurements (#13)","type":"perf","secondary":[],"typed_by":"rules"},{"at":"2026-09-07T11:17:20Z","sha":"c1a95add8fefadb60839e32e6d1cb7f4c6aa6730","mojo_lines":6691,"tooling":"uv","mojo_version":"1.0.0","subject":"Streamline uv and Mojo development commands (#14)","type":"other","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-07T12:23:40Z","sha":"7e0cc8e05353b5f804eb39dcc80c0dbc431f449e","mojo_lines":9495,"tooling":"uv","mojo_version":"1.0.0","subject":"Integrate and profile the Qwen attention block on Metal (#15)","type":"feature","secondary":[],"typed_by":"files"},{"at":"2026-09-08T13:10:46Z","sha":"7f16d6fc89eec455453ad420699fac634fa19f6e","mojo_lines":11057,"tooling":"uv","mojo_version":"1.0.0","subject":"Add Qwen SwiGLU MLP with numerical contract and Metal optimization study (#16)","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-08T20:31:07Z","sha":"478cdc1821555d1520a0b4db5b6712aac9aac03a","mojo_lines":12095,"tooling":"uv","mojo_version":"1.0.0","subject":"Compose Qwen decoder and select validated prefill/decode baselines (#17)","type":"feature","secondary":[],"typed_by":"files"},{"at":"2026-09-09T11:49:59Z","sha":"d9aaad5fcd145fd0881d1fcdb5af3b03d28154ad","mojo_lines":13123,"tooling":"uv","mojo_version":"1.0.0","subject":"Add pure Mojo Qwen tokenizer with heap BPE and CPU study (#18)","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-10T10:13:48Z","sha":"ac09d1681a790c647b3e41a8d6d9e373cd7076ed","mojo_lines":14172,"tooling":"uv","mojo_version":"1.0.0","subject":"Add Fast and deterministic decoder policies with Qwen model integration groundwork (#19)","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-11T12:18:21Z","sha":"06e15e08e6aa40bf226abb47b947227179ead2dd","mojo_lines":14879,"tooling":"uv","mojo_version":"1.0.0","subject":"Complete native Fast Qwen chat with persistent KV caches (#20)","type":"feature","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-09-13T14:12:17Z","sha":"c5f586c09b18a9b85372e9398f287e11f0877e62","mojo_lines":16757,"tooling":"uv","mojo_version":"1.0.0","subject":"Accelerate Fast Qwen decode with composed Metal optimizations (#21)","type":"feature","secondary":["docs"],"typed_by":"files"},{"at":"2026-09-14T09:20:13Z","sha":"edb610a2fd3eaec68ce91d010a13ee93af7dc9ba","mojo_lines":16762,"tooling":"uv","mojo_version":"1.0.0","subject":"Unify inference CLI and organize engine and validation ownership (#22)","type":"other","secondary":[],"typed_by":"rules"},{"at":"2026-09-23T14:30:18Z","sha":"a0b01da1b0d35d8b1de36733150c0a437843eba0","mojo_lines":16762,"tooling":"uv","mojo_version":"1.0.0","subject":"Plan a multi-request serving engine (#23)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-09-24T12:52:45Z","sha":"2b47c5c21276f07e3fa4282c6661da75e3c57280","mojo_lines":16762,"tooling":"uv","mojo_version":"1.0.0","subject":"Add one-step setup and a shared verified model store (#24)","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-24T13:08:20Z","sha":"3fe9abad3e65cd1f8c0497669fb368f046c3cf60","mojo_lines":16427,"tooling":"uv","mojo_version":"1.0.0","subject":"Keep one production engine path with explicit execution plans (#25) (#27)","type":"refactor","secondary":["test"],"typed_by":"files"},{"at":"2026-09-24T13:12:36Z","sha":"a144066ef4065a3003c38cfe139a9b04fc2ee045","mojo_lines":16427,"tooling":"uv","mojo_version":"1.0.0","subject":"Separate current docs from history and add a walkthrough (#26)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-09-25T14:56:30Z","sha":"3b23c65be642f8134e65ed90cf055e3434dbb043","mojo_lines":16427,"tooling":"uv","mojo_version":"1.0.0","subject":"Share one verified copy of the large oracle fixtures across worktrees (#28)","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-09-28T17:46:22Z","sha":"132dc086b636662cab73733c3bb9690067922f3e","mojo_lines":18707,"tooling":"uv","mojo_version":"1.0.0","subject":"Batch decode across sequences (serving phase 1) (#29)","type":"feature","secondary":[],"typed_by":"files"},{"at":"2026-09-28T18:01:12Z","sha":"8fbe44f3cfb35aeb369f8d1dc911717ba9c4d335","mojo_lines":18707,"tooling":"uv","mojo_version":"1.0.0","subject":"Say why the project exists in the README (#30)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-10-03T19:36:50Z","sha":"a84ad34c8c1d0751e9be3ce358116a8a3d60e339","mojo_lines":20599,"tooling":"uv","mojo_version":"1.0.0","subject":"Paged KV cache (serving phase 2): kernels, block manager and paged model (#32)","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-10-06T13:03:46Z","sha":"32715f2b41b4db9df1d9f04bc3acd4352923c869","mojo_lines":21085,"tooling":"uv","mojo_version":"1.0.0","subject":"Paged KV study and adoption (serving phase 2): 32-slot blocks by default (#33)","type":"chore","secondary":[],"typed_by":"files"},{"at":"2026-10-06T13:40:14Z","sha":"cb2416abf3c9fbb19c460fa99709d93eeabba97e","mojo_lines":21085,"tooling":"uv","mojo_version":"1.0.0","subject":"Repeat 1e's single-sequence check with device proof (#34)","type":"chore","secondary":[],"typed_by":"files"},{"at":"2026-10-10T16:14:04Z","sha":"9cd091c5619f385f6592265b096d5b0450215755","mojo_lines":28044,"tooling":"uv","mojo_version":"1.1.0","subject":"Add Phase 3 inference engine with mixed execution and async GPU stepping (#35)","type":"version","secondary":["test"],"typed_by":"rules"},{"at":"2026-10-12T13:02:41Z","sha":"1bdf3277378a30f48fbfc5086876bf9b5b6d884b","mojo_lines":28673,"tooling":"uv","mojo_version":"1.1.0","subject":"Add compile-time BF16 argmax contracts and symbolic reductions (#36)","type":"feature","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-10-16T14:32:18Z","sha":"921843d8bbdd01755ede328e74f82c0cc6e50686","mojo_lines":28673,"tooling":"uv","mojo_version":"1.1.0","subject":"Add interactive inference explorer and Pages publication (#37)","type":"feature","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-10-16T16:52:01Z","sha":"bba533a5a3f22fe0bd8f98a2cda0f5d416e6e651","mojo_lines":28673,"tooling":"uv","mojo_version":"1.1.0","subject":"Bind explorer compiler receipts to committed inputs (#38)","type":"docs","secondary":["test"],"typed_by":"files"},{"at":"2026-10-16T17:20:49Z","sha":"bf088a21c30c8bde2a4efa12ba0e222c4a141a30","mojo_lines":28673,"tooling":"uv","mojo_version":"1.1.0","subject":"Add a newcomer introduction to the inference explorer (#39)","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-10-20T11:51:56Z","sha":"20703475b009a1f9c6373fe993e496c1269fd000","mojo_lines":60549,"tooling":"uv","mojo_version":"1.1.0","subject":"Add Mojo-native proofs for flexible argmax finishing execution (#40)","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-10-25T15:04:41Z","sha":"4fa4ac0ebd5f2d23f479141aba891ff34063a62c","mojo_lines":65157,"tooling":"uv","mojo_version":"1.1.0","subject":"Add bounded prefix caching and opt-in prefill policies (#41)","type":"feature","secondary":["test","docs"],"typed_by":"rules"}],"activity":[{"month":"2026-09","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":2,"pushes":1,"days_active":7},{"month":"2026-10","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":4,"days_active":4}],"releases":[{"tag":"study/gqa-prefill-resources-v1","name":"","at":"2026-09-05T21:42:10Z","prerelease":false,"source":"tag","commit":"d4ef642829fb307def6448f8768b23a8fbd694dc","mojo_version":""},{"tag":"study/gqa-prefill-resources-screen-v1","name":"","at":"2026-09-05T21:42:03Z","prerelease":false,"source":"tag","commit":"9a8bc10f57f6a0a6b9477baec5e743c51b93f907","mojo_version":""},{"tag":"study/gqa-prefill-v1","name":"","at":"2026-09-05T20:31:47Z","prerelease":false,"source":"tag","commit":"bf4277c2aa260a49de4aea60c1316b1df419713a","mojo_version":""},{"tag":"study/gqa-prefill-screen-v1","name":"","at":"2026-09-05T20:31:35Z","prerelease":false,"source":"tag","commit":"fe418cc94fafa0bc380b755fe4cc24a67e6098a7","mojo_version":""}],"issues":{"open_issues":0,"closed_issues":0,"open_prs":0,"merged_prs":40,"closed_prs":1,"recent_open_issues":[],"recent_prs":[{"number":41,"title":"Add bounded prefix caching and opt-in prefill policies","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-24T15:29:07Z","updated_at":"2026-10-25T15:04:41Z","closed_at":"2026-10-25T15:04:41Z","merged_at":"2026-10-25T15:04:41Z"},{"number":40,"title":"Add Mojo-native proofs for flexible argmax finishing execution","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-18T15:34:06Z","updated_at":"2026-10-20T11:51:56Z","closed_at":"2026-10-20T11:51:56Z","merged_at":"2026-10-20T11:51:56Z"},{"number":39,"title":"Add a newcomer Start here view to the inference explorer","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-16T17:11:29Z","updated_at":"2026-10-16T17:20:50Z","closed_at":"2026-10-16T17:20:49Z","merged_at":"2026-10-16T17:20:49Z"},{"number":38,"title":"Bind explorer compiler receipts to committed inputs","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-16T16:47:49Z","updated_at":"2026-10-16T16:52:01Z","closed_at":"2026-10-16T16:52:01Z","merged_at":"2026-10-16T16:52:01Z"},{"number":37,"title":"Add interactive inference explorer and GitHub Pages","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-16T14:31:15Z","updated_at":"2026-10-16T14:35:33Z","closed_at":"2026-10-16T14:32:21Z","merged_at":"2026-10-16T14:32:21Z"},{"number":36,"title":"Add compile-time BF16 argmax contracts and symbolic reductions","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-11T20:29:59Z","updated_at":"2026-10-12T13:02:41Z","closed_at":"2026-10-12T13:02:41Z","merged_at":"2026-10-12T13:02:41Z"},{"number":35,"title":"Add Phase 3 inference engine with mixed execution and async GPU stepping","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-10T13:40:05Z","updated_at":"2026-10-10T16:14:05Z","closed_at":"2026-10-10T16:14:04Z","merged_at":"2026-10-10T16:14:04Z"},{"number":34,"title":"Repeat 1e's single-sequence check with device proof","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-06T13:31:08Z","updated_at":"2026-10-06T13:40:15Z","closed_at":"2026-10-06T13:40:15Z","merged_at":"2026-10-06T13:40:15Z"},{"number":33,"title":"Paged KV study and adoption (serving phase 2): 32-slot blocks by default","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-05T19:36:56Z","updated_at":"2026-10-06T13:03:47Z","closed_at":"2026-10-06T13:03:47Z","merged_at":"2026-10-06T13:03:46Z"},{"number":32,"title":"Paged KV cache (serving phase 2): kernels, block manager and paged model","state":"closed","labels":[],"author":"attilio-castano","comments":1,"created_at":"2026-10-02T00:36:59Z","updated_at":"2026-10-03T19:36:50Z","closed_at":"2026-10-03T19:36:50Z","merged_at":"2026-10-03T19:36:50Z"}]},"contributors":{"total":2,"months":[{"month":"2026-08","active":1,"new":1},{"month":"2026-09","active":2,"new":1},{"month":"2026-10","active":2,"new":0}]},"over_time":{"lines_of_mojo":65157,"commits":{"total":40,"months":[{"month":"2026-08","commits":9,"cumulative":9},{"month":"2026-09","commits":21,"cumulative":30},{"month":"2026-10","commits":10,"cumulative":40}]},"issues":{"total":41,"counts":"issues and pull requests","months":[{"month":"2026-08","opened":8,"closed":8,"cumulative_opened":8,"cumulative_closed":8},{"month":"2026-09","opened":23,"closed":23,"cumulative_opened":31,"cumulative_closed":31},{"month":"2026-10","opened":10,"closed":10,"cumulative_opened":41,"cumulative_closed":41}]}},"similar":[{"repo":"amarbarosys/mojo-baro","score":0.89389205},{"repo":"jaher/llm-mojo","score":0.87522763},{"repo":"ulmentflam/llm.mojo","score":0.8687796},{"repo":"grimo-ir/rune","score":0.867035},{"repo":"atsentia/mojo-tokenizer","score":0.8652324}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}