← Back to Leaderboard
Cggml-org

ggml-org/convert

Shell pipeline for GGUF conversion and Hugging Face publishing

LLM Inference EngineQuickstart ↓
Engineering Health (Methodology)
B+ · 67/100
Maintenance Activity
● Updated today
Latest Release
Rolling commits (main)
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption15/25
Release Cadence11/20
License Clarity6/20
CLI
Total Stars
★ 78
24h Growth
+1
7d Growth
+4
Forks
19

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ggml-org/convert Star History (2026-07-08 - 2026-12-04) ALL-TIME STAR HISTORY (2026-07 – 2026-12) +77 in 149d · avg +1/day 82 41 0 2026-07-08: ★ 12026-07-18: ★ 42026-08-01: ★ 82026-08-15: ★ 132026-08-29: ★ 302026-09-12: ★ 322026-09-26: ★ 362026-10-10: ★ 532026-10-24: ★ 562026-11-03: ★ 612026-11-13: ★ 692026-11-23: ★ 742026-12-04: ★ 78 ★ 78 07-08 09-20 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This is a Shell-orchestrated conversion and publishing pipeline upstream of inference, not a GGUF runtime. convert.sh selects model entries under models/, checks source revisions, and coordinates downloads, conversion via llama.cpp, model card updates, and publication to Hugging Face. Per-model config.sh files provide a configuration point: setting COLLECTION associates publishing with an existing collection.

The Python stack pins huggingface_hub[hf_xet]==1.28.0, transformers==5.13.1, and mistral-common==1.12.0. It also lists SentencePiece in the range >=0.1.98,<0.3.0, protobuf>=4.25.0 for a SentencePiece protobuf import in ergo.py, and unpinned torch, with PyTorch’s CPU wheel index listed as an extra package index.

Key Capabilities & Differentiators

The CLI handles a full catalog, a single configured model via --one, or a filtered subset via --filter; ^gemma is an example filter. Published GGUF outputs include Gemma 4, Qwen3.6, and GPT-OSS examples. These establish concrete conversion coverage, not universal compatibility with arbitrary Hugging Face models. Check models/ for the relevant entry before planning a batch.

Weight conversion runs only if at least one source model has changed, unless --force bypasses the SHA check. Model cards are updated even when weights are unchanged. Use --keep --no-upload to retain both downloaded inputs and generated upload directories for inspection. The collection helper creates collections, private by default, and can look up the slug of an existing collection by name.

Trade-offs & Limitations

Compared with invoking the upstream llama.cpp converter directly, this wrapper is a stronger fit for maintaining a recurring Hugging Face catalog: it adds model selection, source revision checks, model card updates, and publishing. For a one-off conversion, the direct tool avoids tying the workflow to catalog configuration and collection management. Local execution uses your own workers and storage; Hugging Face Jobs shifts execution to hosted infrastructure without eliminating model transfers or capacity planning.

By default, tracking llama.cpp’s latest master picks up upstream changes but allows conversion behavior to drift between runs. --llama-commit fixes that input, not the full environment: torch is unpinned, and other dependencies use ranges or minimum versions. For repeatable rebuilds, record the source revisions, converter commit, and resolved Python environment. If the converter changes while source weights do not, use --force when you need to regenerate artifacts.

Hardware & Deployment Guide

For local operation, plan for Bash, a Python environment with the listed dependencies, and enough working disk for downloaded models and generated artifacts. A create-venv.sh helper is present. Publishing requires HF_TOKEN with write access to the target organization. --no-upload suppresses publication; it does not establish an offline path for fetching sources or dependencies.

For hosted execution, hf-job.sh submits work to Hugging Face Jobs and accepts --hardware, with cpu-basic shown as an option rather than a sizing guarantee. Size workers by measuring peak RAM and disk use on representative inputs, and account for transfer volume when publishing. The ggml-org catalog is converted weekly through GitHub Actions, with manual dispatch available to maintainers. No tagged release is listed, and the repository license is unspecified.

Model selection: convert.sh can process the full catalog, one --one entry, or entries matching a --filter pattern.
Incremental conversion: Source revision checks skip unchanged weight conversions; model cards still update, and --force bypasses the checks.
Converter revision: The workflow uses the latest llama.cpp master by default; --llama-commit selects a specific commit.
Staging: --keep --no-upload retains downloaded sources and generated upload directories without publishing them.
Execution modes: Run locally with convert.sh, submit to Hugging Face Jobs via hf-job.sh, or use the weekly GitHub Actions workflow as a scheduling reference.
Collection management: create-collection.sh creates private-by-default collections and resolves existing slugs by case-sensitive name.
Best For

Teams that regularly regenerate and publish GGUF artifacts for a configured Hugging Face model catalog, locally or via hosted Jobs.

Skip If

You need an inference server, an offline-only workflow out of the box, or a one-off conversion that does not need catalog and publishing automation.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
# Convert all models
bash convert.sh --owner <org>

# Convert a single model
bash convert.sh --owner <org> --one gemma-4-12b

# Convert models matching a filter
bash convert.sh --owner <org> --filter '^gemma'

# Force re-convert (ignore SHA checks)
bash convert.sh --owner <org> --force

# Keep downloaded models and generated upload directories
bash convert.sh --owner <org> --keep

# Keep downloaded models and generated upload directories, but don't upload
bash convert.sh --owner <org> --keep --no-upload

# Use a specific llama.cpp commit
bash convert.sh --owner <org> --llama-commit <commit>

# Run via HF Jobs (cloud infrastructure)
bash hf-job.sh --owner <org>

# Run via HF Jobs with a custom hardware flavor
bash hf-job.sh --owner <org> --hardware cpu-basic

# Create a collection on Hugging Face (prints the collection slug, private by default)
bash create-collection.sh --owner <org> --na

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
convert ★78+4Shell—Shell pipeline for GGUF conversion and Hugging Face publishing
ollama189k+703GoMITGo-based LLM serving layer for local model management and inference
llama.cpp137.2k+762C++MITggml-backed C/C++ inference for local and self-hosted GGUF models
OmniRoute92.1k+1.5kTypeScriptMITSelf-hosted OpenAI-compatible gateway for multi-provider routing and fallback

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ggml-org/convert.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ggml-org/convert Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about convert

How do I integrate conversion into an existing release pipeline?

Call convert.sh from the release workflow with --owner and select models with --one or --filter. Pin --llama-commit when the converter revision matters. For a review step before publication, run with --keep --no-upload and inspect the retained outputs.

Do I need a GPU, and how should I size a worker?

There is no verified minimum for RAM, VRAM, or disk. hf-job.sh exposes a cpu-basic hardware option, and the Python manifest references PyTorch’s CPU wheel index. Neither establishes that every listed model will fit that flavor. Test a representative model, measure peak RAM and disk use, and account for both the downloaded source and generated GGUF files.

Can we run this internally and publish the results commercially?

The CLI supports local execution, but the repository license is unspecified. Before commercial use or redistribution, verify rights to the conversion code, its dependencies, and each model’s weights separately. GGUF conversion does not remove the source model’s license obligations, and a Hugging Face write token grants publishing access, not redistribution rights.

When is this preferable to calling the llama.cpp converter directly?

Use the llama.cpp converter directly for a one-off conversion when you want to control the steps yourself. Use this wrapper when model selection, source revision checks, model card updates, and Hugging Face publishing need to be repeated across a catalog. If you need to serve the resulting GGUF files, choose an inference runtime separately.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ggml-org/convert? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ggml-org/convert on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare