Skip to content

Reproducible model conversion: Hugging Face → GGUF/PTQTP with quality gate #623

Closed

Description

@geisten

MLX loads Hugging Face safetensors directly; here a model needs a conversion. For a platform runner that must be a pipeline, not a manual step.

  • tool: HF checkpoint → GGUF / PTQTP at a pinned revision, recorded hashes
  • quality gate: reference suite (the one geist-serve uses for its verdicts) and perplexity against the source model
  • output: a manifest entry for geist-runtime (Model manifest, catalog and verification geist-runtime#5)

Done when

  • one command converts a pinned HF revision; two runs produce byte-identical output (hashes recorded)
  • quality gate: reference-suite score at most 2 points below the source model at the same precision, perplexity delta within a documented bound per quantization
  • it works for at least two families (Gemma, Qwen) and one small model runs in CI
  • a manifest entry for geist-runtime (ci: ASan + UBSan unit-test job #5) is generated, not hand-written

Plus the common definition of done in geisten/geist-serve#149 and the roadmap gates (parent baseline, no regression).

Activity

  1. added
    enhancementNew feature or request
    geist-runtimePart of the geist-runtime epic (geist-serve#149)
    on Oct 5, 2026
  2. added a commit that references this issue on Oct 7, 2026
  3. geisten commented on Oct 8, 2026

    @geisten
    OwnerAuthor

    Done in #676 (tools/convert_hf.py: convert / gate / manifest) and #678 (the convert-gate workflow builds with gcc-14).


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgeist-runtimePart of the geist-runtime epic (geist-serve#149)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions