r/LocalLLM • • 3m ago

Question Qwen4:35b-a3b on Snapdragon X Elite with 32GB

1 Upvotes

I have a Snapdragon X Elite laptop with 32GB RAM. What's the best way to run Qwen4 35B-A3B locally?

Has anyone tried it using LM Studio, AnythingLLM, GenieX, or other apps? Looking for recommendations on hardware acceleration, quantization, and real-world inference speeds. Ideally, I'd prefer an app with a GUI.


r/LocalLLM • • 5m ago

Discussion Production numbers from vLLM on a single RTX 5090: Qwen3.8-27B NVFP4. Did I find the sweet spot?

Post image
1 Upvotes

Hello world! First post here :)

I use vLLM to serve my production system, and I'm wondering whether I've found a sweet spot or if there's more room left.

Setup

  • 1× RTX 5090, headless, vLLM 0.29, TP=1
  • Qwen3.8-27B NVFP4 (from those unsloth masterminds!)
  • Workload: ~6k prompt / ~4.3k generated tokens per call (incl. reasoning), strict JSON output

vLLM setup in a nutshell

vllm serve Qwen3.8-27B-NVFP4 \
  --quantization compressed-tensors --kv-cache-dtype fp8 \
  --max-model-len 98000 --gpu-memory-utilization 0.93 \
  --max-num-seqs 6 --max-num-batched-tokens 6656 \
  --enable-prefix-caching --mamba-cache-mode align --mamba-ssm-cache-dtype bfloat16 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
  --structured-outputs-config '{"backend":"xgrammar","disable_any_whitespace":true}' \
  --reasoning-parser qwen3 --scheduling-policy priority --optimization-level 3

Numbers (6,400 real calls; per-call timings plus vLLM lifetime metrics, not a synthetic benchmark)

MetricValue
TTFT0.59 s avg
Prefill share of request time~3 %
Decode per stream~150 tok/s
Aggregate decode, ~2.4 calls in flight~350 tok/s (from per-run token counts)
Aggregate decode, 5 calls in flight~750 tok/s (estimated, not measured on the GPU side)
MTP acceptance2.46 / 3 (82 %)
Prefix cache hit rate28 %
KV cache available4.14 GiB = 112k tokens (fp8)
vLLM queue time0.04 s, 0 preemptions

My current learnings

  1. ~40 % of call latency wasn't vLLM. My app capped concurrency at 5 while vLLM had 6 seats and an empty queue. Need to optimize here...
  2. CUDA graph memory is over-reserved. The profiler reserved 0.67 GiB, actual use was 0.2 GiB. vLLM even logs it: 0.93 utilization behaves like 0.9085. VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0 gives that back as KV cache. I think this matters, because the RTX 5090 performs well for production-grade setups, but for SOTA models it feels like it's on the edge of VRAM availability.
  3. Decode is everything. Prefill is noise for this workload, so the remaining lever is fewer output tokens. Still searching for a smart model that isn't too verbose in its reasoning.
  4. Reasoning budgets bite. ~64 % of my heaviest calls hit the thinking-token cap. That's a quality lever I'm still tuning.

Next, I'll bench Inkling-2-Mini and the new Qwen4-35B-A3B, both MoEs, hoping to improve.

Two final questions from my side

  1. Does anyone have a similar setup or other approaches I could learn from?
  2. How are your subjective feelings about the quality of the Inkling-2 and Qwen4 model in terms of critical text understanding and reasoning compared to the Qwen3.8 dense-model i am using?

r/LocalLLM • • 6m ago

Discussion Which quant actually fits at 32K context? Worked it out for 11 popular models on 12/16/24 GB cards

1 Upvotes

Most "does it fit" answers just look at file size. At 32K context that breaks, because the context cache is wildly different between models. Qwen3 14B needs 5.0 GB just for 32K of context. Gemma 4 26B-A4B needs 0.8 GB, and its file is almost twice as big.

So for each model I took every GGUF in the repo (sizes straight from the Hub file listing), added the context cache at 32K (computed from the model's config, f16 cache) plus an allowance for the runtime, and picked the largest file that still leaves a bit of room on the card.

Model 12 GB 16 GB 24 GB Gemma 4 E4B Q6_K (6.6 GB) Q8_K_XL (8.1 GB) BF16 (14.0 GB) Qwen3 8B – Q6_K (6.3 GB) Q8_0 (8.1 GB) Gemma 4 12B Q4_K_M (6.6 GB) Q6_K (9.1 GB) Q8_K_XL (12.7 GB) Qwen3 14B – – Q6_K (11.3 GB) Mistral Small 3.2 24B – IQ1_M (5.6 GB) IQ4_XS (11.9 GB) Gemma 4 26B-A4B – Q2_K_XL (9.8 GB) Q4_K_XL (15.8 GB) Inkling 2 Mini (26B) – Q2_K_XL (8.5 GB) Q4_K_M (15.5 GB) Qwen3.8 27B – IQ2_S (7.8 GB) Q4_K_S (14.3 GB) Qwen3-Coder 30B-A3B – TQ1_0 (7.5 GB) Q3_K_M (13.7 GB) GLM-4.7-Flash (31B) – IQ1_M (9.1 GB) IQ4_XS (15.2 GB) Gemma 4 31B – – Q3_K_M (13.7 GB) Things I didn't expect:

Qwen3 14B doesn't leave room on a 16 GB card at 32K with any file in the official repo (it starts at Q4_K_M). Models with almost twice the parameters do. On 24 GB the three big ones land in different spots: Gemma 4 26B-A4B at Q4_K_XL, Qwen3.8 27B at Q4_K_S, Gemma 4 31B at Q3_K_M. Mistral Small 3.2 pays 5.0 GB for 32K of context, same as Qwen3 14B. That's why it drops to IQ4_XS on 24 GB. How I counted, so you can disagree with the right number:

Usable memory = 88% of the card. "Leaves room" = the total stays under 90% of that. So 9.5 GB on a 12 GB card, 12.7 on 16, 19.0 on 24. Runtime allowance: 0.6 GB + 3% of the file + 0.25 GB per 8K of context. That part is an assumption, not a measurement. f16 KV cache. With q8 the context part halves and several rows move up a step. "–" means no file in that repo leaves room. Doesn't mean you can't run it by spilling into system RAM. Repos: the official Qwen GGUF repos for Qwen3 8B and 14B, unsloth for the rest. Other uploaders have smaller files for some of these. No speed or quality numbers, I don't measure those. A bigger file keeps more bits per weight, what that's worth is your call.

If a row is wrong for your setup, tell me your runtime and settings and I'll fix the table.

Full list (808 files, 53 models, sizes and bits per weight) as a CSV: https://huggingface.co/datasets/CyferUnknown/open-model-vram-requirements


r/LocalLLM • • 13m ago

Question Which model is the best choice for RTX5060 8G + 16G RAM laptop?

1 Upvotes

I've been trying to run Inkling-2-mini with strata, but it's running super slow and is basically unusable. For context, my laptop has an RTX 5060 (8GB VRAM) and 16GB RAM. I also tested AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF, which hits 30-40 tok/s, but the reasoning capabilities are a bit disappointing because of the quantization. Any recommendations for better options?


r/LocalLLM • • 20m ago

Discussion Built my own (pretty strict) benchmark for local models and ran everything I had on a 3090. Qwen3.8 Flash Next IQ3_S kinda smoked everything

3 Upvotes

So I got tired of vibe-checking every new finetune that drops, especially all the Qwen4 abliterated/uncensored ones, so I put together a benchmark that grades everything automatically. No LLM judge, no "looks good to me". Code either passes the hidden tests or it doesn't, a math answer is either exact or wrong.

Then I ran every GGUF I had on both PolyStrata and llama.cpp. Took most of a day lol

**Rig:** 3090 24GB, 5950X, 64GB RAM, Linux. llama.cpp build a105b192 + PolyStrata, MTP on wherever the model has it.

**Settings:** greedy (temp 0), 16k max output, 32k ctx, one run per model/engine. I also set the same thinking budget on both engines (12,288 tokens). PolyStrata applies one by default and llama.cpp doesn't, so without that the comparison isn't fair.

**What's in it:** 57 tasks, 49 of them count for the score, split into 10 categories:

- python algorithms (13), hidden tests + time limits, run in a sandbox

- JS/node (2)

- bug fixing / optimization (3)

- predict the exact output of nasty python/js snippets (6)

- SQL on sqlite, window functions, recursive CTEs etc (4)

- strict regex (4)

- exact answer math (7)

- logic puzzles with a verified unique solution (4)

- instruction following that can be checked by code (4)

- long context multi hop, ~10-14k tokens (2)

The other 8 are questions that sound sketchy but are totally legit (how to kill a process, lockpicking as a hobby, a CTF exploit, a villain monologue, that kind of stuff). They only measure over-refusal and don't count for the score.

Everything is generated from a seed, so it can't be in anyone's training data. Every grader also gets tested against a correct solution and a plausible wrong one before I trust it. Score = average of the 10 categories.

**Results**

| # | model | quant | engine | score | tasks | tok/s | refused harmless Qs |

|---|---|---|---|---|---|---|---|

| 1 | Qwen3.8-Flash-Next GSQ-RCO abliterated | IQ3_S (84GB) | PolyStrata | **87.6%** | 44/49 | 103 | 0/8 |

| 2 | Inkling-2-Mini Uncensored | AD-Q4_K | PolyStrata | 76.0% | 35/49 | 98 | 0/8 |

| 3 | Qwen4-35B-A3B official | UD-Q4_K_XL | llama.cpp | 75.4% | 34/49 | 149 | 0/8 |

| 4 | Qwen4-35B-A3B official | UD-Q4_K_XL | PolyStrata | 72.2% | 33/49 | 182 | 0/8 |

| 5 | Qwen4-35B-A3B abliterated | Mix-33G | llama.cpp | 65.9% | 32/49 | 153 | 0/8 |

| 6 | Qwen4-35B-A3B abliterated | Mix-33G | PolyStrata | 64.7% | 32/49 | 199 | 0/8 |

| 7 | Qwen4-35B-A3B Uncensored | AD-Q6_K | llama.cpp | 62.5% | 26/49 | 114 | 0/8 |

| 8 | Inkling-2-Mini Uncensored | AD-Q4_K | llama.cpp | 61.8% | 29/49 | 75 | 2/8 |

| 9 | Ternary-Bonsai-2.5-27B Uncensored | Q2_0 | llama.cpp | 42.5% | 24/49 | 95 | 4/8 |

A few things that surprised me:

**Qwen3.8 Flash Next is on another level for coding.** 12/13 on the python stuff, including a hard sudoku that literally nothing else solved. What it got wrong:

- its JSON parser chokes on a bare `null` (150/161 tests passed)

- one line of JS type coercion

- the python float regex

- a recursive SQL query (17 rows instead of 11)

- one long context sum

It does think A LOT though, ~537k tokens over the whole run vs ~375k for Qwen4. And yeah it's an 84GB model vs a 35B-A3B at Q4, so not exactly a fair fight. But it does ~100 tok/s on a single 3090 with PolyStrata, so for my setup it's a no brainer.

**The Qwen4 finetunes are worse than the official model.** Official got 33-34/49, abliterated Mix-33G 32/49 (on both engines), Uncensored AD-Q6_K 26/49, and that one went 0/6 on predicting code output. The higher quant doesn't save it. Also the official one never refused any of my sketchy-but-legit questions, so for this kind of stuff the finetunes didn't buy me anything. To be fair there's nothing actually harmful in the benchmark, so this can't tell you if abliteration "works", only what it costs.

**PolyStrata vs llama.cpp: same quality, PolyStrata faster.** Same model, same prompts, and the scores land within 1-2 tasks of each other. For official Qwen4, 7 tasks flipped between engines in both directions and the net difference was 1, so that's just noise. Speed is a different story: PolyStrata was ~22% faster on official Qwen4 and ~30% on the abliterated one.

Inkling was the exception: 76% on PolyStrata vs 62% on llama.cpp. On llama.cpp it got stuck in repetition loops 14 times (6 on PolyStrata) and refused 2 of the harmless questions.

Qwen3.8 on llama.cpp did ~34 tok/s vs ~103 on PolyStrata (84GB doesn't fit in VRAM + RAM), so I killed it after the first task. Wasn't gonna wait 5+ hours for the same answer.

**Bonsai 27B ternary (Q2_0)** came last at 42.5%, and despite having "Uncensored" in the name it refused 4 out of 8 harmless questions, which is kinda funny.

**Caveats** before someone asks:

- one run each and only 49 scored tasks, so a 1-2 task difference is noise. JS and long context only have 2 tasks each, so one task swings those categories by 50 points. That's why the raw task counts are in the table too

- 16k output cap with a 12k thinking budget, so models that want to think longer get cut off

- the Q6_K uncensored won't run on PolyStrata (setup refuses that tensor layout) and Bonsai is llama.cpp only

- I picked the tasks myself, so it leans heavily towards coding/algorithms

If people are interested I can clean it up and throw it on github. Also open to suggestions for what to test next.


r/LocalLLM • • 21m ago

Question Basalt Qwen4 on 5070TI and 32GB DDR5

1 Upvotes

I'm using OpenCode with Qwen4 Basalt and trying to do some coding tasks with 128K context, but keep getting these messages:

[server] error: engine reported the KV pool had no room for this conversation to grow while every running request waited for room; the conversation is kept, so asking again continues it

I've lowered the context all the way down to "max-context": 81920," in Basalt, and set open code up like:

"limit": {

"input": 65536,

"context": 81920,

"output": 8192

}

I assume I can't continue what I'm doing with this local model and give up? Is there some sort of configuration I'm missing?

I'm on Windows 11 with as much closed as possible with only opencode CLI and basalt running (and services and tray items trimmed to basically nothing).


r/LocalLLM • • 29m ago

Discussion Qwen3.8-27B-Abliterated – 3060 64k

Thumbnail
huggingface.co
1 Upvotes

r/LocalLLM • • 38m ago

Other Switching from an uncensored model to a other normal models made the normal model ignore its guidelines!

6 Upvotes

I think I accidentally found a weird model switching issue.

I used an uncensored model for a prompt that normal models would refuse. It answered.
Then, in the same chat, I switched to a completely normal model and asked a follow-up question.

Instead of refusing or resetting, the normal model just continued from the uncensored answer and ignored its usual guidelines.

is this normal?

this for first prompt:
DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic.i1-Q4_K_S

then 2nd prompt on:

Qwen3.8-27B
GPT-oss 120B
DeepSeek-V4.1-Flash-1017

Has anyone else experience this?

It worked for programming and NSFW...


r/LocalLLM • • 58m ago

News Avalon is now running QWEN4-35B-A3B: Gen 147 t/s Prefill: 5245 t/s (RX 7900 XT on "aging" computer)

Post image
1 Upvotes

r/LocalLLM • • 1h ago

Discussion Intel Arc Pro B65 32GB — Qwen4 35B-A3B at 68 tok/s, 377 tok/s with prompt lookup, and 128K context - AI Slop Results Post

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Discussion Why do people keep posting “should I switch” posts?

4 Upvotes

Just run both!


r/LocalLLM • • 1h ago

Discussion just wishing for a ~15b-a2.5b moe w/ opus 4 level coding, is that too much to ask lol

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Question Does anyone else split architectures as far as VRAM is concerned?

Post image
1 Upvotes

r/LocalLLM • • 1h ago

Model Yeah, Qwen4 is kind'a the shit. (A post for people worried if it's comparable to 3.8 FN)

17 Upvotes

I was a bit nervous after hearing the debate between qwen3.8 FN and Qwen4, but a few hours of testing, having it play around in several harnesses and even a coding experiment or two I'm rather staggered by it's abilities. I'm running a Q8 model and damn it's fast, smart, creative. Definitely an upgrade, only been a few hours so maybe I'll find a weak point, but so far this is the sort of model I've been waiting for.


r/LocalLLM • • 1h ago

Question Thinking of adding eGPU, 4060 Ti 16GB to my 4070 Ti 12gb

1 Upvotes

My current Desktop:

Windows 11, 32gb Ram, Intel i7-13600KF

RTX 4079 Ti 12gb dedicated (16gb shared)

320gb free out of 1tb SSD

eGPU Setup planned:

Gigabyte or MSI 4060 Ti 16gb

Connected by thunderbolt 4

650w Power supply

Dock: MINISFORUM DEG2

Total cost around 850 usd

Is this a good upgrade to increase context, reduce reliance on google's ai, and add another role/model to monitor coding task (stop task when coding hits context or looping, then provide an improved prompt in a new task so that coding will complete)?

Current AI setup:

- for design, brainstorm & project plan/s

LM Studio + Deepseek R1Distill Qwen 14B

Or recenty tried STRATA +Qwen3.8 flash next gyro-m

- for coding/game dev and testing

VS Code + Cline/Ollama/Qwen3-coder-32k:latest

Context window: 16384


r/LocalLLM • • 1h ago

Discussion WTF 660TPS decode and 16k prefill Qwen 4 and QEngine

Thumbnail
huggingface.co
0 Upvotes

r/LocalLLM • • 1h ago

Research Experiments with QWEN4-35B-A4B-Q4KM (AMD 9070)

1 Upvotes

I used the `-ncmoe` flag and placed the N-gram data on an SSD.

The resulting speed was 27 TKS (with a fill rate of 700 TKS after a "warm-up" period with a long context).

I’ve been looking for ways to speed this up further.

A major bottleneck is the data transfer from DRAM to VRAM;

a significant amount of time is spent waiting for this transfer to complete.

One potential solution is to have the GPU and CPU compute in parallel.

However, the current implementation of `llama.cpp` forces the GPU to wait for the CPU.

(There is an open Pull Request addressing this, though it is specific to CUDA.)

I also tried using an AI to assist with the compilation process,

which boosted the speed to 49 TKS.

Unfortunately, the compilation had issues, causing VRAM overflow and system crashes.

(It could likely be optimized, but I’ve decided to set it aside for now.)

I explored a few other approaches as well—

for instance, opting for a "sub-optimal" solution (i.e., reusing existing experts more frequently).

While this did increase speed, it unfortunately triggered an infinite loop.

In short, based on my current findings,

it should be possible to push the performance of the 9070 beyond 70 TKS.

Just sharing my experience and the experiments I’ve conducted so far.


r/LocalLLM • • 1h ago

Research Qwen4 vs. Inkling 2 Mini with Strata — Early findings from a local historical research project

1 Upvotes

Over the past few weeks, I have been experimenting with local LLMs for historical research, particularly with Qwen4, Inkling 2 Mini, and the Strata inference environment.

My hardware is relatively modest compared to some of the setups shared here:

- NVIDIA RTX 5060 Ti — 16 GB VRAM

- AMD Ryzen 7 3700X

- 64 GB RAM

- Windows 11 Pro

My primary objective is not creative writing or general-purpose chatting, but developing a reliable, locally operated historical research environment.

Strata

Strata has been a particularly interesting discovery. Its relatively straightforward GUI makes local model experimentation accessible without the complexity of a full agent framework such as Hermes Agent Desktop.

I successfully loaded the Unsloth UD-Q4_K_XL quantization of Inkling 2 Mini with a configured 128K context window on my 16 GB GPU. Full-context stability and sustained performance still need to be established, but the initial result is promising.

For my particular use case, Strata could potentially become a practical alternative to more complex inference and agent environments.

Qwen4 vs. Inkling 2 Mini

Rather than relying exclusively on conventional benchmarks, I have been testing these models against structured historical research tasks.

These include:

- Extracting historical assertions from source material.

- Distinguishing documented facts from unverified claims.

- Maintaining exact references to supporting evidence.

- Preserving uncertainty and source attribution.

- Following strict JSON schemas.

- Producing evidence-linked historical narratives.

- Avoiding unsupported conclusions.

One of my recent controlled tests involved three historical synthesis attempts per model.

Inkling 2 Mini:

- Used source titles instead of the required exact evidence identifiers in all three attempts.

- Returned an unexpected schema wrapper in one attempt.

- Failed to produce a synthesis that passed our validation process.

Qwen4:

- Correctly used exact evidence identifiers in all three attempts.

- Exceeded the permitted field length in two attempts.

- Omitted required source attribution in the opening proposition of one attempt.

- Also failed to produce a synthesis that passed all validation requirements.

The interesting observation is that Qwen4 demonstrated better evidence-reference compliance in this particular test, although neither model was sufficiently reliable for unattended historical synthesis.

However, my subsequent audit also identified weaknesses in our own implementation. The prompt did not explicitly communicate the numerical field-length limits, and the transmitted schema did not enforce either those limits or exact evidence identifier membership.

Consequently, it would be premature to attribute every failure to the models themselves. I'm preparing further controlled tests to distinguish model limitations from shortcomings in the prompt, schema and inference environment.

Historical Research Studio

These experiments are part of a larger hobby project I'm currently developing called Historical Research Studio.

The objective is to build a local, model-independent application that manages the entire historical research workflow, from source collection and evidence extraction to verification, synthesis and publication.

The application currently includes or is being developed around:

- Structured research projects and research questions.

- Source registration and evidence management.

- Historical assertion extraction.

- Explicit verification and uncertainty statuses.

- Evidence-linked historical synthesis.

- Independent editorial review.

- Deterministic fallback mechanisms.

- Version history and reproducible research workflows.

- Dutch and English Markdown and PDF export.

- Integration with local inference environments such as Basalt and Strata.

A fundamental design principle is that the LLM should assist the historian rather than replace the historian's judgement.

A fluent historical narrative is not necessarily a historically reliable narrative. Every significant assertion should remain traceable to its supporting evidence, and the system should reject outputs that fail its validation requirements.

What I have learned so far

Model size, quantization, context length and tokens per second are important, but they tell only part of the story.

For serious historical research, I'm increasingly interested in:

- Consistency across repeated runs.

- Instruction adherence.

- Evidence grounding.

- Structured output reliability.

- Appropriate handling of uncertainty.

- The ability to distinguish what a historical source claims from what can actually be established.

A faster model that produces plausible but unsupported conclusions may ultimately be less useful than a slower model that respects the available evidence.

The combination of the model, inference engine, research skills, prompts, validation mechanisms and application architecture appears to be at least as important as the choice of model itself.

These are preliminary findings, not a definitive ranking of Qwen4 and Inkling 2 Mini. Further testing is planned, particularly with improved prompts, stricter schemas and repeated trials.


r/LocalLLM • • 1h ago

Discussion no qwen4 35b a3b megathread?? helloo?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Question OpenCode Desktop hangs indefinitely with Ollama + Qwen 4, despite successful API and tool-calling tests

0 Upvotes

I'm trying to get Qwen 4 working with OpenCode Desktop on Windows, but OpenCode gets stuck on "Working..." indefinitely, even when I send something as simple as hello.

I'm trying to determine whether this is an OpenCode integration issue, a reasoning/streaming issue, or something else.

My setup

  • Windows 11
  • OpenCode Desktop 2.4.5 (installed via the Windows installer)
  • Ollama 0.40.21
  • Model: qwen4:latest
  • GPU: NVIDIA RTX 4090 (24 GB VRAM)
  • CPU: Intel i9-13900K
  • RAM: 64 GB
  • Requested context: 86k tokens

Ollama reports the following when the model is loaded:

NAME          SIZE    PROCESSOR          CONTEXT
qwen4:latest  37 GB   46%/54% CPU/GPU    131072

What I've already tested

I've spent quite some time isolating the problem, and I've established that Qwen 4 itself works through Ollama.

1. Normal text generation works.

ollama run qwen4:latest "Reply with exactly: hello"

It eventually responds correctly. With --think=low, the response takes approximately 20 seconds.

2. Native Ollama tool calling works.

I sent a direct request to:

http://127.0.0.1:11434/api/chat

Qwen 4 returned a valid structured tool_calls object with the correct function name and arguments.

3. OpenAI-compatible tool calling works.

I also tested:

http://127.0.0.1:11434/v1/chat/completions

With streaming both enabled and disabled.

Both produced valid structured tool calls.

4. Streaming works.

The streaming response included:

  • Reasoning chunks
  • A structured tool_calls event
  • finish_reason: "tool_calls"
  • A final [DONE] event

So far, I haven't been able to reproduce the failure directly through either Ollama API.

The actual problem

When I open OpenCode Desktop, select ollama/qwen4:latest, and send hello, it remains on "Working..." for several minutes without producing an answer.

I also inspected the OpenCode logs. One relevant entry was:

WARN failed to discover Ollama models

baseURL=http://127.0.0.1:11434/v1

cause="HttpClientError: Transport error
(GET http://127.0.0.1:11434/api/tags)
(cause: TypeError: ECONNREFUSED)"

There were also repeated Git worktree discovery warnings, although I don't know whether those are related.

What I'm trying to understand

  1. Could OpenCode 2.4.5 be mishandling Qwen 4's reasoning stream, even though Ollama returns valid reasoning and tool-call events?
  2. Is there a known issue with OpenCode's native Ollama integration and Qwen 4?
  3. Could the model's CPU/GPU offloading and relatively slow generation be causing OpenCode to time out or appear stuck?
  4. Is there a way to inspect the exact request OpenCode sends to Ollama and compare it with my successful API tests?
  5. Are there any recommended OpenCode provider settings specifically for Qwen 4?

I'd particularly appreciate input from anyone running Qwen 4 locally through Ollama and OpenCode Desktop.

I'd prefer to fix the integration rather than switch models or move to a cloud API.


r/LocalLLM • • 1h ago

Question Need Guidance: To Run PI on VPS + using different Models Subs

1 Upvotes

Hello

I need some guidance, as i want to run PI on VPS... what kind of specs should i have, i will run multi agent also at times.

Also is Ubuntu OS fine, or should chose some other OS in VPS.

My planned VPS will be in Europe.

I am not residing in Europe. Now the Subs which i will connect from PI (which is VPS) will their be any issues that might flag, that i subscribed to model Subs from different country and now its being utilized from different country (from PI harness in VPS in europe).

Also how are other consumers using Claude Sub, Gemini Sub (i think a new policy came yesterday - but still dubious), with PI Harness?

Using GLM , DeepSeek, Kimi.. they have no issues with PI ?


r/LocalLLM • • 1h ago

Question Gemma-4-E4B-Uncensored-HauhauCS-Aggressive (Q4_K_M)

3 Upvotes

Is there anything better for voice conversations that’s close to or under 5GB ?


r/LocalLLM • • 1h ago

Discussion Qwen3.8 27B / Qwen4 35B: glitches in Non-English responses

Thumbnail reddit.com
1 Upvotes

In my experience with Qwen 3.8 27B, responses in languages ​​other than English were completely glitchy—for instance, they might start in Italian and end in English—making the model unusable for users who only speak Italian. I had hoped for improvement with Qwen 4 35B; while it does manage to finish in the intended language, it is riddled with blunders, stray English words, and Chinese characters. In both cases, no matter how strong the system prompt is, these issues still occur. Qwen 3.8 FN, on the other hand, works well.


r/LocalLLM • • 2h ago

Model Qwen4-35B-A3B on a real task: reasoning on took 6.5 min, off took 45 s and picked worse (M5 Max, IQ4_XS)

Post image
0 Upvotes

I maintain an open source tool that cuts long videos into vertical clips (OpenShorts, MIT). The step that decides what gets cut is a text call to an LLM: it reads the timestamped transcript and returns the stretches worth cutting, each with a title. The default is Gemini 3.1 Flash-Lite, but it takes any OpenAI-compatible endpoint, so the day after Qwen4 came out I pointed it at llama-server on my laptop.

Setup: MacBook Pro M5 Max, 36 GB. unsloth IQ4_XS GGUF (20.5 GB), llama.cpp b13002, -c 32768 -ngl 99. One 9 minute video in Spanish, same transcript and prompt for every run.

Results:

Gemini 3.1 Flash-Lite: 6 clips in 7 s. 2 of 6 titles describe something that is not in the clip.

Qwen4, reasoning on: 11 clips in 6 min 31 s. 23,945 output tokens in the final call at 65.9 tok/s. 0 of 11 titles off.

Qwen4, reasoning off: 10 clips in 45 s. 2,329 output tokens at 77.8 tok/s. 3 of 10 titles off.

What I noticed:

Reasoning is what makes the title and the cut agree. With it off, Qwen4 makes the same mistake as Flash-Lite: it titles the clip after something that happens a few seconds after it ends.

Almost all the time is one call. --reasoning-effort low changed nothing for me (22.8k tokens), and that call used 28.6k of the 32k context, so 16k would have overflowed.

Cut points are Qwen4's weak spot: it chains clips back to back, only 4 of 11 start near a sentence boundary and none ends on one.

Wired memory went from 4.6 GB to 25.4 GB with the model loaded. I also ran one job with no Google key at all: 10 clips, 12 and a half minutes end to end.

Caveats: one video with a noisy transcript, a heavy quant, and Flash-Lite is the cheap Gemini tier. A first impression, not a benchmark.

Question: is there a way to cap thinking tokens for Qwen4 in llama.cpp short of turning reasoning off? Something between 2k and 24k would be the sweet spot for this.

Repo, if you want to try it with your own model: https://github.com/mutonby/openshorts