- Scaffold app
- Add Shizuku
- Build tile
Android Quick Settings Tile for Toggling an eSIM via Shizuku
Build a small Android app that adds a Quick Settings tile to switch a downloaded eSIM on and off using Shizuku and ADB.
Via Hacker News · rabbiveesh ↗Build a lightweight local inference setup that unloads the model after each reply so a 24GB laptop can run a model that officially needs 32GB.
“Run a Large Local Model on a 24GB Mac with a Custom Inference Engine” is an advanced Software & DevOps AI agent workflow from Software. It connects Other or custom in 5 steps. Setup takes about Not stated and running costs are about Not stated.
The model's official minimum is 32GB of RAM, but the machine only has 24GB. Standard local runners struggled even with patches, and keeping the model resident left no headroom for other apps. The goal was a workable setup on a memory-constrained laptop: one model loaded at a time, queued requests, and memory returned to the system between responses.
Start from a quantized version of the model rather than the full-precision weights. The author used a Q3 quant to bring the footprint down enough for a 24GB machine. Confirm the quant loads and produces coherent output before optimizing anything else.
Implement a custom engine that allows exactly one model in memory at a time and queues incoming requests behind it. This avoids the memory spikes that come from concurrent loads and gives predictable RAM usage on a small laptop.
After every reply, persist the KV cache to disk and release the model, optionally after a configurable delay. Between calls the process should sit at roughly 50MB of RAM. Reloading from the saved cache is fast enough that the tradeoff is worth it.
Build a small menu bar app that shows current state and changes its icon while prefilling and generating. This makes it obvious when the model is loaded, busy, or idle so you do not fire requests into a queue blindly.
Run the engine alongside your normal workload, not on an empty desktop. Watch RAM between calls, measure reload latency, and tune the unload delay so responsiveness stays acceptable without holding memory longer than needed.
Write a minimal local inference server in [LANGUAGE] that loads exactly one quantized model at a time from [MODEL PATH] and queues all incoming requests behind the active one. After each response, serialize the KV cache to [CACHE DIRECTORY], unload the model, and log resident memory. Add a configurable idle delay before unloading. Expose a status endpoint returning one of idle, prefilling, or generating. Keep dependencies minimal and print clear errors if the model fails to load.
Given a 24GB laptop running a Q3 quantized model through a custom engine that unloads after each reply, outline a test plan. Cover measuring resident memory between calls, timing cold reload from a saved KV cache, behavior when two requests arrive at once, and what happens if the process is killed mid-generation. List the metrics to record and the thresholds that would indicate the setup is not viable on this hardware.
Build a lightweight local inference setup that unloads the model after each reply so a 24GB laptop can run a model that officially needs 32GB.
You need Other or custom.
Plan for about Not stated. It is rated advanced. The guide walks through 5 steps, starting with “Pick a quantized build that fits”.
Expect about Not stated in running costs (Free range).
The model's official minimum is 32GB of RAM, but the machine only has 24GB. Standard local runners struggled even with patches, and keeping the model resident left no headroom for other apps. The goal was a workable setup on a memory-constrained laptop: one model loaded at a time, queued requests, and memory returned to the system between responses.
Build a small Android app that adds a Quick Settings tile to switch a downloaded eSIM on and off using Shizuku and ADB.
Via Hacker News · rabbiveesh ↗Use Claude Code to decode an undocumented device protocol from a vendor driver, then verify findings against real hardware.
Via Hacker News · realbogart ↗Use an AI coding agent to port the Meshtastic CLI to Go and build a daemon-backed IRC bouncer for radio messaging.
Via Hacker News · fiskeben ↗Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges