{"library":{"repo":"amarbaro/mojo-gguf","description":"GGUF tooling in Mojo: reader/writer, safetensors to GGUF, quantizers, checked against llama.cpp","created_at":"2026-10-26T14:07:31Z","first_seen":"2026-11-11T19:14:39Z","found_by":"search / language","stars":0,"forks":0,"license":"Apache-2.0","size_kb":462,"commits":36,"mojo_lines":13832,"mojo_files":40,"tooling":"uv","packaging":"rattler","mojo_version":"1.2.0","version_source":"lock","version_file":"","version_estimate":"1.2","version_estimate_source":"date","topics":["gguf","llama-cpp","llm","mojo","quantization"],"stats_as_of":"2026-11-23","open_issues":0,"watchers":0,"archived":true,"state":"ok","renamed_to":"","aliases":[],"declared_deps":6,"depends_on":["amarbaro/mojo-uregex","Mosaad-M/requests"],"used_by":[],"used_by_forks":[],"second_degree":[],"dependencies":["mojo-uregex","numpy","pyyaml","requests","tokenizers","tqdm"],"category":"tooling"},"migrations":[{"at":"2026-10-26T13:37:07Z","sha":"36d7be0eda02c0b78cb654ab2a557532c4342f5f","kind":"mojo_version","from":"","to":"1.1.0"},{"at":"2026-10-26T13:37:07Z","sha":"36d7be0eda02c0b78cb654ab2a557532c4342f5f","kind":"tooling","from":"none","to":"uv"},{"at":"2026-10-29T20:37:09Z","sha":"c1377be5fc9dcdff4695f5e72a0db3f40eb4f20e","kind":"mojo_version","from":"1.1.0","to":"1.2.0"},{"at":"2026-11-04T19:28:01Z","sha":"22d475a74be8761b6ab4abb28cfb64e86a018a8d","kind":"packaging","from":"none","to":"rattler"}],"commits":[{"at":"2026-10-26T13:37:07Z","sha":"36d7be0eda02c0b78cb654ab2a557532c4342f5f","mojo_lines":15084,"tooling":"uv","mojo_version":"1.1.0","subject":"mojo-gguf v0.1.0","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-10-29T20:31:37Z","sha":"85a2f7100c8cd0d8c50e51ad7434915870a50346","mojo_lines":15084,"tooling":"uv","mojo_version":"1.1.0","subject":"fix(build): print errors to std.sys stderr","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-10-29T20:37:09Z","sha":"c1377be5fc9dcdff4695f5e72a0db3f40eb4f20e","mojo_lines":15084,"tooling":"uv","mojo_version":"1.2.0","subject":"build: Mojo 1.2.0","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-10-29T20:40:57Z","sha":"c380878f1982fbafa051f6af772218348d43ddb1","mojo_lines":15084,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: toolchain is Mojo 1.2","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-10-29T21:04:27Z","sha":"39e8d86f1f3bb4d95e052e16b927c6b06954009e","mojo_lines":15084,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: release note v0.1.1","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-03T18:57:16Z","sha":"427d09d9e74ad6901007379db106893590ab7447","mojo_lines":15084,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: CI, latest-release and license badges","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:09:36Z","sha":"b442b89410a4b8f5d4c9fac97a53a003c8aaa2f9","mojo_lines":15084,"tooling":"uv","mojo_version":"1.2.0","subject":"chore(license): fill Apache-2.0 copyright notice","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"44c068547157a6ed85e1db46455ceddc6b38c6c9","mojo_lines":15084,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(release): pyproject version 0.1.1, gated against the newest CHANGELOG entry","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"6de6711a67730fced0ab3c950ae51ffdd3bfb487","mojo_lines":15096,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(tools): refuse an output that is the input file","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"d4fc0febf04e9cb06634aea53df8530f8c776502","mojo_lines":15098,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(quantize): NTHREADS 0 or less means all cores","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"4385b4068d1701fb98ffcf90605c96e60c582263","mojo_lines":15122,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(st): validate safetensors tensor offsets and sizes before the converters read them","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"937fac7db326f4c23a0aa902f67f2875d356edab","mojo_lines":15125,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(json): an absent key (-1) must not wrap into the document","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"f8c507c25c1f8727046bba860b0b357b9a2c16bd","mojo_lines":15143,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(build): lseek64 so the library links next to FileHandle.seek","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"c166eccfcf712ede2dcf9a398b98e5a1b38c7dfa","mojo_lines":15185,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(fmt): py_repr escapes what Python's repr escapes","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"044c680541b52789d0bc9f4d9726da23230138ac","mojo_lines":15178,"tooling":"uv","mojo_version":"1.2.0","subject":"refactor(naming): delete _upper_last, which nothing calls","type":"refactor","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"6c4436cfcaa7bde74d57646a02c928623b9d12a0","mojo_lines":15178,"tooling":"uv","mojo_version":"1.2.0","subject":"test(gate): state the expected exit per case and add corrupt-input cases","type":"test","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"712cac187a7652e8f64c54a39ce69142c9fc2b66","mojo_lines":15178,"tooling":"uv","mojo_version":"1.2.0","subject":"test(quantize): F32 and F16 sources and degenerate rows against gguf-py's quantizer","type":"test","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"813f0cd098afaa8e6d659a23849988186866a503","mojo_lines":15185,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(json): a lone or mismatched UTF-16 surrogate in a JSON string is an error","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"077a743f9b1b89953af80406d6bd523bb170ee01","mojo_lines":15185,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(gguf): strings read from a file are decoded with from_utf8_lossy","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"b0bf5ac89c79d051a6b5e72524ae19a3a38a68f3","mojo_lines":15185,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(hf2gguf): a negative token id is refused","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"43e4c3345517ae4f6f82f764129f17cb5a025f2c","mojo_lines":15189,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(tools): gguf-dequant and quantize refuse a tensor with no dimensions or ne0 == 0","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"ebb3ceb7ffcc1eb2c2fa86c08d5d4bbd5939b5ba","mojo_lines":15189,"tooling":"uv","mojo_version":"1.2.0","subject":"build: sync the vendored uregex with mojo-uregex-public","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"22d475a74be8761b6ab4abb28cfb64e86a018a8d","mojo_lines":15189,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: design.md, recipe.yaml, oracle packages in the dev group","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"e54da73a615fc021dfa43cfc9971f52fa359011c","mojo_lines":13793,"tooling":"uv","mojo_version":"1.2.0","subject":"build: import mojo-uregex instead of a vendored copy","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"7d9e4c04b17f4128281c1531f7de2e8a50750b9c","mojo_lines":13793,"tooling":"uv","mojo_version":"1.2.0","subject":"refactor!: rename the library package gguf to ggufx","type":"refactor","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"a531758948ac876794c416b2b0f725d3cb35ce9f","mojo_lines":13803,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(ggufx): declare open64 with 2 arguments, create files with creat64","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"643fc0eea99b19d194aa221abd806a1bc86ba1ec","mojo_lines":13803,"tooling":"uv","mojo_version":"1.2.0","subject":"build: pin mojo-uregex v0.3.2","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"57f801ff2fad0a4c2a66b721c0a784cb4e6fb86d","mojo_lines":13803,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(release): pyproject.toml, recipe.yaml, uv.lock say 0.2.0","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"fdce84e169da14df4fa32ae983f1e3d7b0a73ea0","mojo_lines":13803,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(ci): pin the oracle Python to 3.14, the Unicode version nonprint.mojo was generated from","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-04T19:28:01Z","sha":"b8faa9e1e3030eb5fa259ec4f30f0390131fcc54","mojo_lines":13803,"tooling":"uv","mojo_version":"1.2.0","subject":"docs(release): v0.2.0","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-08T22:14:11Z","sha":"9bd26e037b9fc1b10bae4ae9f82cced8625d22e8","mojo_lines":13803,"tooling":"uv","mojo_version":"1.2.0","subject":"Merge pull request #1 from amarbaro/shared-ci","type":"merge","secondary":[],"typed_by":"rules"},{"at":"2026-11-08T23:35:02Z","sha":"7f694710b75f746a772d7e1572fbea0155bf6483","mojo_lines":13832,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(examples): quickstart runs without a file","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-08T23:35:02Z","sha":"74b25f804c54b68f806fefcbb406a225a0e1451c","mojo_lines":13832,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: v0.2.1 note lists the quickstart fix","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-09T00:05:50Z","sha":"2700fdc655585140f26cbaf1d16d5b63db4049f3","mojo_lines":13832,"tooling":"uv","mojo_version":"1.2.0","subject":"docs: README installs from prefix.dev, toolchains, limits, runnable example","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-11-11T18:58:28Z","sha":"36ab6f7788766552a6930315fbfa46f3e9fcca44","mojo_lines":13832,"tooling":"uv","mojo_version":"1.2.0","subject":"fix(par): re-apply heap thread context lost in the v0.2.1 sync","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-11-11T18:58:28Z","sha":"16271ec600e3d80a3feb5b252afd79c359990a6f","mojo_lines":13832,"tooling":"uv","mojo_version":"1.2.0","subject":"test(bench): quantize --pure against pinned llama-quantize, bytes checked","type":"test","secondary":[],"typed_by":"rules"}],"activity":[],"releases":[{"tag":"v0.2.1","name":"","at":"2026-11-08T23:35:02Z","prerelease":false,"source":"tag","commit":"74b25f804c54b68f806fefcbb406a225a0e1451c","mojo_version":"1.2.0"},{"tag":"v0.2.0","name":"","at":"2026-11-04T19:28:01Z","prerelease":false,"source":"tag","commit":"b8faa9e1e3030eb5fa259ec4f30f0390131fcc54","mojo_version":"1.2.0"},{"tag":"v0.1.1","name":"","at":"2026-10-29T21:04:27Z","prerelease":false,"source":"tag","commit":"39e8d86f1f3bb4d95e052e16b927c6b06954009e","mojo_version":"1.2.0"},{"tag":"v0.1.0","name":"","at":"2026-10-26T13:37:07Z","prerelease":false,"source":"tag","commit":"36d7be0eda02c0b78cb654ab2a557532c4342f5f","mojo_version":"1.1.0"}],"issues":{"open_issues":0,"closed_issues":0,"open_prs":0,"merged_prs":1,"closed_prs":0,"recent_open_issues":[],"recent_prs":[{"number":1,"title":"ci: shared lib-ci workflow, nightly switch","state":"closed","labels":[],"author":"amarbarosys","comments":0,"created_at":"2026-11-08T22:03:31Z","updated_at":"2026-11-08T22:14:14Z","closed_at":"2026-11-08T22:14:12Z","merged_at":"2026-11-08T22:14:12Z"}]},"contributors":{"total":2,"months":[{"month":"2026-10","active":1,"new":1},{"month":"2026-11","active":2,"new":1}]},"over_time":{"lines_of_mojo":13832,"commits":{"total":36,"months":[{"month":"2026-10","commits":5,"cumulative":5},{"month":"2026-11","commits":31,"cumulative":36}]},"issues":{"total":1,"counts":"issues and pull requests","months":[{"month":"2026-11","opened":1,"closed":1,"cumulative_opened":1,"cumulative_closed":1}]}},"similar":[{"repo":"amarbaro/mojo-gguf-core","score":0.77882683},{"repo":"jagtesh/gguf-mojo","score":0.77827114},{"repo":"egor-fedorov/safetensors.mojo","score":0.77547765},{"repo":"amarbaro/mojo-safetensors","score":0.77543914},{"repo":"rurumimic/mojo","score":0.7718099}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}