cd /news/ai-infrastructure/hg-engine-a-model-independent-native… · home › topics › ai-infrastructure › article
[ARTICLE · art-180742] src=discuss.huggingface.co ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

HG Engine: A Model-Independent Native Inference Engine for Hugging Face Models

Clover Framework released HG (Hadamard-Grouped) Engine, a model-independent inference format and native execution engine written in C11 with CUDA and ROCm acceleration, aimed at reducing weight movement and improving memory bandwidth utilization for Hugging Face models. The engine includes an HG4-16R 4-bit weight representation with Hadamard-based grouping, Hugging Face model porting into the HG format, GPU-resident inference with multi-request weight-sharing, and OpenAI-compatible serving with binary token transport. Clover published benchmark ledgers across RTX 3090, RTX 4090, L40S and H100 hardware covering multiple model architectures, plus a reproducible verification suite that runs without a GPU or API key, and is asking the Hugging Face community for independent reproductions and criticism.

key takeaway

HG Engine offers an HG4-16R 4-bit weight format with Hadamard-based grouping, CUDA/ROCm execution and OpenAI-compatible serving, with published benchmark ledgers on RTX 3090, RTX 4090, L40S and H100 and a verification suite that runs without a GPU or API key.

read1 min views7 publishedDec 3, 2026

We’ve been working on a different approach to open-model inference.

HG (Hadamard-Grouped) is a model-independent inference format and native execution engine built in C11, with CUDA/ROCm acceleration.

The idea is simple: reduce weight movement, improve memory bandwidth utilization, and make better use of available compute instead of relying entirely on conventional inference stacks.

What we’ve built so far:

  • Native CPU SIMD and NVIDIA CUDA / AMD ROCm execution.

  • HG4-16R 4-bit weight representation with Hadamard-based grouping.

  • Hugging Face model porting into HG format.

  • GPU-resident inference and multi-request weight-sharing.

  • OpenAI-compatible serving and binary token transport.

We’ve published benchmark ledgers across RTX 3090, RTX 4090, L40S and H100 hardware, covering multiple model architectures.

We also provide a small, reproducible verification suite that can run without a GPU or API key.

We’d like the Hugging Face community to challenge this approach.

We’re particularly interested in testing more architectures, independent reproductions, identifying limitations, and contributions from inference engineers.

Links

This is an ongoing engineering effort. Independent verification and criticism are welcome.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @clover framework 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hg-engine-a-model-in…] indexed:0 read:1min 2026-12-03 · —