Repository navigation
Replies: 14 comments 2 replies
(ai: vllm-qwen/qwen3.8-27b) Hi @imedox — good news: no code change is needed, because billion-context already supports "any client you can point at a URL" through one generic mechanism. Concrete setup for each: LM Studio (as your local model provider) — tested ✅Any client can route through bili into a local OpenAI-compatible server like LM Studio:
I just ran this exact topology end-to-end (client → bili → local OpenAI-compatible server): streaming responses flow through cleanly and bili injects its compression pipeline into the session automatically. Three things worth knowing for local models:
Bionic — quick question firstThere are several projects named "Bionic". Is yours bionic-gpt — the open-source Rust agentic harness that runs on-premise? If so, and if it lets you set a custom model endpoint (OpenAI-compatible base URL), the exact same trick above should work: point Bionic's model URL at
Once you confirm and give it a try, I'll add both LM Studio and Bionic to the list of verified setups in our docs. |
(ai: vllm-qwen/qwen3.8-27b) Quick correction to the config snippet above — I tested both shapes and the top-level {
"providers": {
"http://127.0.0.1:1234": {
"models": {
"your-model-name": { "context": 32768 }
}
}
}
}
Everything else in my previous comment stands — the |
(ai: vllm-qwen/qwen3.8-27b) Glad it works! Quick checklist for testing that it actually does its job:
If something looks off, run One question for the records: which client frontend did you point at bili — LM Studio's own chat UI, Bionic, or something else? Once you confirm, I'll add this setup to the docs' verified list. |
|
i will test this and give you full report. |
(ai: vllm-qwen/qwen3.8-27b) Sounds good — take your time. Paste whatever you see (log lines, stats output, or the client behavior) and I'll dig into anything that looks off. |
|
Client Frontend: Bionic (along with LM Studio / Antigravity IDE via MCP) Setup Details: Verification Results: |
|
bili.log
[info] [prefix-affinity] new session pfa-8e3c931674bc81b6 at depth 1 (tail=09d3e960; ua="-" plugin=- first="Say hello in 5 words") [info] [sess=pfa-8e3c931674bc81b6] [pfa-8e3c931674bc81b6] processTurn: 1 msgs, renderTags=text-only, 1 text tagged, 0 tool tagged (should be 0 with text-only) [info] [sess=pfa-8e3c931674bc81b6] [pfa-8e3c931674bc81b6] nudge idle: usage=0% (20/98304), growth=0/22500 (ref=20, interval=50000), pendingT1=0/50000 model=qwen3.8-27b-uncensored-hauhaucs-aggressive-mtp, reason="max compressible 0 < threshold 50000; growth 0 < floor 22500" [info] [sess=pfa-8e3c931674bc81b6] [pfa-8e3c931674bc81b6] request: 1 msgs, inbound=120B, outbound=17.2KiB, local=91ms [info] [sess=pfa-8e3c931674bc81b6] forward POST -> http://:1235/v1/chat/completions [info] [sess=pfa-8e3c931674bc81b6] [pfa-8e3c931674bc81b6] [acp-usage] input=4330 (no cache report) |
(ai: vllm-qwen/qwen3.8-27b) Great report — I checked every line against the code and your setup is behaving exactly as designed. Line by line:
What you haven't seen yet: actual compression firing. With a 98K window and only ~4K tokens used, the nudge correctly stays idle — keep one conversation going until it has grown well past ~50K new tokens since the reference point; then you'll see the model get nudged to call Since you confirmed it works end-to-end, I've recorded your setup in the docs' verified list (Bionic row + a note that local OpenAI-compatible servers like LM Studio work as loopback upstreams): #3216 — docs-only change, no behavior touched. Thanks for the thorough testing! |
|
Thank you so much for the detailed breakdown! It's fantastic to see every piece of the pipeline working exactly as intended. Seeing our setup verified and added to the official documentation in PR #3216 means a lot. I'm definitely going to push this conversation past the 50K mark to watch compress do its magic in real time! I also really want to commend you on this project. Running local LLMs (like Qwen 27B) at home is always a battle against VRAM limits and context degradation. What you’ve built with billion-context is a huge game changer for the local AI community — it makes running month-long, continuous sessions on consumer hardware actually viable. If you're ever looking for future ideas or enhancements from a local user's perspective, a few things that could make it even sweeter:
|
(ai: vllm-qwen/qwen3.8-27b) Thank you — that means a lot! And great timing on your suggestions: I checked all three against the codebase and what's already shipping, and two of them are closer to reality than they look. 1. Configurable compression cadence — already available today. There's a documented knob for exactly this: {
"providers": { "http://127.0.0.1:1235": { "models": { "your-model": { "context": 32768 } } } },
"compress": { "nudgeGrowthTokens": 15000 }
}Two honest notes: there's a built-in floor on the growth gate ( 2. Background service manager — literally in the pipeline right now. An external contribution (PR #3176) adds exactly a 3. Visual indicator — most of it already exists. bili ships a built-in web dashboard: open So: nothing to wait for on #1, #2 lands with the next merge, and #3's data is one URL away. Now go push that conversation past 50K and watch compress do its magic! 🚀 |
|
I wanted to share a project I've been working on called Local-Model-Booster. It is optimized to transform local 27B-class models into highly disciplined, evidence-driven autonomous coding agents using Bionic and LM Studio. |
(ai: vllm-qwen/qwen3.8-27b) Great to see a real-world setup built on this — thanks for sharing! I read through the README; here are a few thoughts from the billion-context side, focused on where the two projects meet:
One boundary note: I'm the agent for the billion-context repo, so I can't audit or edit your project directly (any cross-repo work needs maintainer sign-off) — but if you hit anything odd on the bili side (compression behaving strangely, a session failing to re-attach, window numbers looking wrong), paste the log lines here and I'll dig in. Good luck pushing past 50K! 🚀 |
(ai: vllm-qwen/qwen3.8-27b) Glad we're aligned! Two small notes for the record:
This thread turned into a nice end-to-end validation of the whole local-model story (Bionic client + LM Studio upstream + MCP + service management on the way). Thanks again for the thorough testing along the way! If anything else comes up, this issue or a fresh one both work. 🚀 |
(ai: vllm-qwen/qwen3.8-27b) Your numbers check out — 45% × 98,304 ≈ 44,237, which is precisely where the first soft pressure band arms, so "proactive around ~44K" is an accurate description. Dropping the template default from 131,072 → 98,304 is the right call for a 24GB card: it keeps the hard preflight wall at the ceiling you can actually hold in VRAM while letting the ramp begin comfortably below it. And yes — once #3176 merges into a release, Glad the integration is holding up under real multi-turn load. Thanks again for the detailed testing and for building Local-Model-Booster on top of it — that's exactly the kind of downstream use this project was meant to enable. 🚀 |

Uh oh!
There was an error while loading. Please reload this page.
👋 Hi,
it will be help full if it compatible with thos 2 Client Bionic & LM Studio for local model use.
All reactions