cd /news/ai-research/show-hn-hoprlabs-a-python-lab-for-pr… · home topics ai-research article
[ARTICLE · art-40101] src=github.com ↗ pub= topic=ai-research verified=true sentiment=↑ positive

Show HN: HoprLabs – a Python lab for prototyping AI math ideas

HoprLabs, a new open-source Python CLI and research toolkit, launched to simulate AI training math, estimating model size, memory usage, training time, and token budget before costly model training. The MIT-licensed tool includes optional native Rust and C benchmark modules.

read1 min views1 publishedJun 25, 2026
Show HN: HoprLabs – a Python lab for prototyping AI math ideas
Image: source

HoprLab is a CLI and research toolkit for simulating AI training math before spending time and money on model training.

The working MVP lives in hoprlab/. It estimates model size, activation memory, optimizer memory, approximate VRAM usage, training time, token budget, config risks, benchmark speed, and reliability.

cd hoprlab
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/hoprlab estimate configs/example_transformer.yaml
.venv/bin/hoprlab simulate configs/example_transformer.yaml
.venv/bin/hoprlab benchmark
.venv/bin/hoprlab test-reliability configs/example_transformer.yaml

Or use the root Makefile:

make setup
make test
make build
make reliability

HoprLab includes optional native benchmark modules:

  • Rust: hoprlab/native/rust

  • C: hoprlab/native/c

The Python CLI falls back gracefully when native backends are unavailable.

MIT

── more in #ai-research 4 stories · sorted by recency
── more on @hoprlabs 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/show-hn-hoprlabs-a-p…] indexed:0 read:1min 2026-06-25 ·