frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Cactus v2 – On-device AI with cloud fallback

1•rshemet•54m ago
Hi HN, Roman and Henry here from Cactus (https://github.com/cactus-compute/cactus).

We just shipped the biggest upgrade to our on-device inference platform:

- Built-in model confidence-based routing to hand off inference runs to the cloud - Converter for any PyTorch model - Lossless 4-bit quantization (evals on our GitHub README) - GPU acceleration on compatible devices (starting with Apple Metal) - Minimal RAM footprint - Runs on any Arm device: iOS, Android, Mac, DGX Spark, Raspberry Pi, and more

All in, a Gemma 4 E2B class model runs at 169 tok/sec on M5 Max, takes 2.7GB disk space with no accuracy degradation from FP16, uses 1.3GB of RAM, and requests help from cloud models when needed.

The problem we started with eighteen months ago: inference engines are built for datacenters, but consumer hardware has different physics: you share RAM with the OS, you get thermally throttled, and the same model behaves differently on different hardware.

So we wrote a runtime from scratch for resource-constrained devices. Since then, Cactus has grown to process millions of weekly inference runs, and tens of thousands of monthly active developers.

Our biggest learning from deploying Cactus in production apps is that while local models can handle 90% of workloads, that 10% gap means they're still not production-ready. Our users' fix was to build custom cloud fallback logic.

Cactus v2 fixes that:

Our approach to cloud fallback is to post-train a probe into the model's weights that reads its internal activations and emits a confidence signal. This way, the routing happens inside the model rather than in a prompt classifier sitting in front of it. We believe this is critical for multi-turn agentic work, where the model should know which turns are easy enough to be handled locally, and which are hard - and get handed off to the cloud. What ships today is single-turn routing for Gemma-4 E2B against a configurable escalation endpoint (Gemini, Claude, OpenAI-compatible, or your own endpoint).

Our next target is hybrid-native models for multi-turn agentic work. This is the genuinely unsolved problem. Our current probe-in-the-weights is showing promising results and we look to release the first model variants soon.

The hybrid variants are Gemma derivatives, released under the Gemma terms noted on the HF cards.

In addition to the hybrid routing, the runtime has SOTA quantization, which is lossless at 4bit, memory maps weights to decrease RAM footprint and runs cross-platform, with Python, Rust, React Native, Swift, and Kotlin bindings.

Disclaimer: Cactus is distributed as source-available - free for personal use and small companies; commercial license above that (Docker-style license).

You can get started on our GitHub: https://github.com/cactus-compute/cactus or by `brew install cactus-compute/cactus/cactus`.

How to Install a Mini Split Air Conditioner Complete Step-by-Step Guide [video]

https://www.youtube.com/watch?v=AQ4EYHNCDzg
1•Bender•1m ago•0 comments

Meta's Teen Safety Case Just Became a $1.4T Existential Threat

https://gizmodo.com/metas-teen-safety-case-just-became-a-1-4-trillion-existential-threat-2000782306
1•dotcoma•2m ago•0 comments

Apple Sues OpenAI for Stealing Trade Secrets to Build AI Hardware

https://www.macrumors.com/2026/07/10/apple-sues-openai/
2•stock_toaster•4m ago•0 comments

The zero-cost fallacy: open-source software in the agentic era

https://www.thoughtworks.com/insights/blog/open-source/zero-cost-fallacy-open-source-agentic-era
2•backlit4034•6m ago•0 comments

GhostLock, a stack-UAF that has existed in ALL Linux distributions for 15 years

https://nebusec.ai/research/ionstack-part-2/
2•djfergus•8m ago•0 comments

Apple Sues OpenAI

https://www.bloomberg.com/news/articles/2026-07-10/apple-sues-openai-for-trade-secret-theft-in-bl...
6•allending•8m ago•1 comments

Two Database Migrations and a Divorce

https://usefathom.com/blog/two-database-migrations-and-a-divorce
2•JsonCameron•10m ago•0 comments

Migrating a production AI agent to GPT 5.6

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
1•brryant•11m ago•0 comments

Staying in the Game

https://toni.org/2026/07/10/staying-in-the-game/
1•joshbetz•11m ago•0 comments

Apple sues OpenAI, two former employees for trade secrets theft

https://www.reuters.com/legal/litigation/apple-sues-openai-alleging-misappropriation-trade-secret...
7•coloneltcb•12m ago•0 comments

Outcry as Meta lets users make AI images from public Instagram profile pics

https://www.bbc.com/news/articles/cp9lee19y1yo
3•doener•12m ago•2 comments

Building intuition about LLM parameter counts

https://www.gilesthomas.com/2026/07/llm-parameter-counts
1•gpjt•14m ago•0 comments

Coder_eval – an evaluation framework for CLI and Skill builders

https://github.com/UiPath/coder_eval
1•aoetalks•15m ago•0 comments

Ask HN: What data have the frontier AI companies not ingested yet?

1•lysace•15m ago•0 comments

Apple Sues OpenAI, Alleging It Stole Trade Secrets

https://www.wsj.com/tech/apple-openai-lawsuit-f86bd58c
16•m348e912•16m ago•1 comments

Apple sues OpenAI alleging trade secret theft, says scheme was 'at every level'

https://www.cnbc.com/2026/07/10/apple-openai-lawsuit-trade-secrets.html
7•nope96•16m ago•0 comments

What Is Stopping MOFs Being More Widely Used?

https://www.ccdc.cam.ac.uk/discover/blog/what-is-stopping-mofs-being-more-widely-used/
1•giardini•16m ago•1 comments

LingBot-World 2.0

https://github.com/Robbyant/lingbot-world-v2l-2026-07-10/
1•_____k•18m ago•0 comments

Book Review: The Book of Abraha

https://www.astralcodexten.com/p/your-book-review-the-book-of-abraham
1•paulpauper•18m ago•0 comments

Eight of the Nation's Top Last Names Stayed the Same Since 1790

https://www.census.gov/library/stories/2026/04/2020-census-names-data.html
5•paulpauper•20m ago•0 comments

Maura Gillison, Who Transformed the Treatment of Mouth and Throat Cancers, Died

https://www.wsj.com/health/healthcare/maura-gillison-cancer-research-dies-f89b6c90
2•kamaraju•20m ago•0 comments

DOI Restores Clear ESA Enforcement by Rescinding Misguided "Harm" Definition

https://www.doi.gov/pressreleases/department-interior-restores-clear-esa-enforcement-rescinding-m...
2•petethomas•21m ago•1 comments

Software Engineer's Firing Ruled Illegal in a Rare Win for a Tech Worker

https://www.nytimes.com/2026/07/10/business/atlassian-tech-worker-wrongful-termination.html
2•ytpete•21m ago•1 comments

My Jewish Culture

https://american-innocence.com/p/my-jewish-culture
1•paulpauper•22m ago•1 comments

Crawlie Cloud: monitoring for your marketing sites SEO and GEO (+ MCP server)

https://crawlie.dev/
1•seandotexe•26m ago•1 comments

Skillgrade: "Unit tests" for your agent skills

https://github.com/mgechev/skillgrade
1•handfuloflight•26m ago•0 comments

AI Fiction Is Easy to Detect Because It's Stupid and Bad, Research Finds

https://www.404media.co/ai-fiction-is-easy-to-detect-because-its-stupid-and-bad-research-finds/
3•cdrnsf•26m ago•0 comments

The Frank Zappa Interview That Still Feels [?] Today (1984) [video]

https://www.youtube.com/watch?v=PUJ9aFS2GbA
1•mdp2021•27m ago•1 comments

Clojure FFI layer for libgdx-core

https://github.com/damn/com.badlogic.gdx/tree/main
1•resatori•28m ago•0 comments

All you never wanted to know about corporate bond market issuance

https://www.ft.com/content/47a66129-548e-45c6-8855-0691616e92da
1•JumpCrisscross•32m ago•0 comments