{"slug": "show-hn-hoprlabs-a-python-lab-for-prototyping-ai-math-ideas", "title": "Show HN: HoprLabs – a Python lab for prototyping AI math ideas", "summary": "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.", "body_md": "HoprLab is a CLI and research toolkit for simulating AI training math before spending time and money on model training.\n\nThe working MVP lives in [ hoprlab/](/TangibleResearch/HoprLabs/blob/main/hoprlab). It estimates model size, activation memory, optimizer memory, approximate VRAM usage, training time, token budget, config risks, benchmark speed, and reliability.\n\n```\ncd hoprlab\npython3 -m venv .venv\n.venv/bin/pip install -e \".[dev]\"\n.venv/bin/hoprlab estimate configs/example_transformer.yaml\n.venv/bin/hoprlab simulate configs/example_transformer.yaml\n.venv/bin/hoprlab benchmark\n.venv/bin/hoprlab test-reliability configs/example_transformer.yaml\n```\n\nOr use the root Makefile:\n\n```\nmake setup\nmake test\nmake build\nmake reliability\n```\n\nHoprLab includes optional native benchmark modules:\n\n- Rust:\n`hoprlab/native/rust`\n\n- C:\n`hoprlab/native/c`\n\nThe Python CLI falls back gracefully when native backends are unavailable.\n\nMIT", "url": "https://wpnews.pro/news/show-hn-hoprlabs-a-python-lab-for-prototyping-ai-math-ideas", "canonical_source": "https://github.com/TangibleResearch/HoprLabs", "published_at": "2026-06-25 23:02:55+00:00", "updated_at": "2026-06-25 23:35:07.207277+00:00", "lang": "en", "topics": ["ai-research", "ai-tools", "machine-learning"], "entities": ["HoprLabs", "Python", "Rust", "C"], "alternates": {"html": "https://wpnews.pro/news/show-hn-hoprlabs-a-python-lab-for-prototyping-ai-math-ideas", "markdown": "https://wpnews.pro/news/show-hn-hoprlabs-a-python-lab-for-prototyping-ai-math-ideas.md", "text": "https://wpnews.pro/news/show-hn-hoprlabs-a-python-lab-for-prototyping-ai-math-ideas.txt", "jsonld": "https://wpnews.pro/news/show-hn-hoprlabs-a-python-lab-for-prototyping-ai-math-ideas.jsonld"}}