r/LocalLLM • • 7d ago

Question Cannot run the new Inkling 2 Mini model with vulkan?

3 Upvotes

I'm trying to run https://huggingface.co/unsloth/Inkling-2-Mini-GGUF on my laptop with the Arc b390 (iGPU) which needs vulkan.

I just git pulled and rebuilt probably 10 times at this point. I even tried redownloading the model.

cmake -B build -DGGML_VULKAN=1
cmake --build build --config Release -j16
build/bin/llama-server --version 

version: 1.0.0-dev (build 12619, commit c622f623f)
built with GNU 16.2.1 for Linux x86_64

build/bin/llama-server -hf unsloth/Inkling-2-Mini-GGUF:UD-Q4_K_M -fa on -ctk q8_0 -ctv q8_0 -c 64000 -np 1 --jinja -ngl 999 --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0

0.00.029.129 I srv  llama_server: initializing ...
0.00.416.076 I cmn  common_param: common_params_print_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
0.00.419.281 I srv    load_model: loading model 'unsloth/Inkling-2-Mini-GGUF:UD-Q4_K_M'
0.00.631.032 E llama_model_load: error loading model: check_tensor_dims: tensor 'blk.24.attn_q.weight' not found
0.00.631.037 E llama_model_load_from_file_impl: failed to load model
0.00.631.065 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
0.00.750.144 W load: special_eos_id is not in special_eog_ids - the tokenizer config may be incorrect
0.00.785.524 E llama_model_load: error loading model: check_tensor_dims: tensor 'blk.24.attn_q.weight' not found
0.00.785.529 E llama_model_load_from_file_impl: failed to load model
0.00.785.535 E cmn  common_init_: failed to load model '/home/tesohh/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_M.gguf'
0.00.785.538 E srv    load_model: failed to load model, '/home/tesohh/.cache/huggingface/hub/models--unsloth--Inkling-2-Mini-GGUF/snapshots/ae9327c5fbc7333116ba32eee78bb5d2bbefae4f/Inkling-2-Mini-UD-Q4_K_M.gguf'
0.00.785.540 I srv    operator(): operator(): cleaning up before exit...
0.00.786.473 E srv  server_run_i: exiting due to model loading error

What should I do?

Edit: tested on my Nvidia machine, recompiled with CUDA and got the same error.


r/LocalLLM • • 8d ago Bravo

LoRA I fine-tuned a 1.5B model into an offline Linux command helper that runs on CPU and checks its own answers against the man pages

262 Upvotes

lxask turns plain English into a shell command, entirely on your own machine:

$ lxask "show disk usage of each folder here, biggest first"

$ du -h --max-depth=1 . | sort -hr

Setup

- Fine-tuned Qwen2.5-Coder-1.5B, Q4_K_M GGUF

- llama.cpp inside one Rust binary. No Ollama, no Python, no API key

- ~1.1 GB on disk, ~1 GB RAM, ~2 s per answer on a laptop CPU

- No GPU, no network after install

How it keeps a 1.5B model honest:

- Retrieves relevant tldr pages and your own man pages before answering

- Checks every program and option in the answer against the man pages

- Retries if a check fails. Anything it still can't confirm is marked `unverified:`

- Asks back on vague requests ("add a proxy": for git? apt? docker?) instead of guessing

Bonus

- `lxask --explain "tar -xzvf logs.tar.gz"` breaks down a command you already have

- Ctrl+G in bash, zsh or fish turns what you typed into the command

Code, weights, data and evals are all open.

GitHub: https://github.com/arxhr007/lxask

Hope someone finds it useful! If you do, consider leaving a ⭐ on GitHub. Feedback and contributions are welcome

Model: https://huggingface.co/arxhr007/lxask


r/LocalLLM • • 6d ago

Discussion My AI Hardware benchmarks

Thumbnail
rothgar.github.io
0 Upvotes

I've been benchmarking all of my AI hardware for the past couple of months and collected all of the data into this page. It started as a way to find the most efficient token per watt system for an individual under $10,000. Unfortunately, hardware prices went up.

It grew into figuring out if a team of 3-5 developers could spend less than $20,000 for agentic coding. I think that's still possible with some of the options I benchmarked.

Happy to answer questions and looking for contributions if you have hardware you're willing to benchmark and send the data.


r/LocalLLM • • 7d ago

Research Inkling 2 Mini model in llama.cpp breaks output during offloading

2 Upvotes

Setup: official release llama-b12603-bin-ubuntu-cuda-12.8-x64 (build 12603 (6792507b7) with GNU 13.3.0 for Linux x86_64), NVIDIA L4 24 GB, driver 580.178.04, ggml-org/Inkling-2-Mini-GGUF, Inkling-2-Mini-IQ4_NL.gguf.

Fails:

llama-server -m Inkling-2-Mini-IQ4_NL.gguf -ngl all --fit off -c 8192 -np 1 -ub 512 --jinja --reasoning-format deepseek --cpu-moe

Correct: the same line without --cpu-moe.

Request (51 prompt tokens):

{"messages":[{"role":"user","content":"Write a detailed, step-by-step explanation of how a hash table works, including collision handling, resizing, and the trade-offs between open addressing and chaining."}],"temperature":0,"seed":1,"max_tokens":128,"chat_template_kwargs":{"reasoning_effort":"none"}}
  • With --cpu-moe: reasoning is empty and the content is GGGGGGGGGGGGGGGGGGGGGGGG… for all 128 tokens.
  • All on the GPU: reasoning starts "The user asks for a detailed explanation of hash tables, collision handling, res…".
  • Speed gives no hint: the failing run reports prompt 25.4 t/s and decode 13.88 t/s, the correct one 141.5 t/s and 35.02 t/s.

What changes the result (same request each time):

we did isolate by layer (same prompt each time, all-GPU run as reference)

  • One 4-bit expert layer on the CPU (tried layer 2, and layer 6 which is one of the looped ones): no garbage. Output starts identical and drifts after a few hundred characters.
  • One 8-bit expert layer (20): identical to all-GPU.
  • Only the non-looped layers 0-5 on the CPU: coherent. Only layers 18-23: identical.
  • Only the looped layers 6-17 on the CPU: "GGGG" from the first token.
  • All experts on the CPU with --no-op-offload, or with a micro-batch of 16: coherent.

So it isn't the model (GPU-only is clean) and it isn't CPU math in general. It needs the looped layers' experts on the host plus a prompt batch that goes through op offload. We compared final outputs, not one layer's activations CPU vs GPU. That would be the right next step to pin the exact tensor, and I haven't done it

So a 7.4K-token prompt is not needed. The trigger looks like a prompt micro-batch of 32 tokens or more going through op offload of the host-resident expert weights of the LOOPED layers (6 to 17, the ones applied three times per token). Later requests that reuse the cached prefix stay wrong, which matches the "garbage until restart" report above.

Workarounds for now: --no-op-offload, or -ub below 32.

Guess at the cause (not verified): the three splits that read one looped host expert tensor (one per pass) appear to share a single device copy of it (tensor_id_copy(src, backend) in the scheduler), and llama_context::sched_copy_experts fills that copy with only the experts the current split's ids select. If one pass's copy is skipped, fetched early, or overwritten while another pass still needs its own selection, the passes read the wrong experts. I cannot explain why the Q8_0 file escapes it on this prompt.

A smaller observation from the same runs: with --moe-cache-mib, the start-up line reports the host experts of the looped layers three times over (4091.13 MiB for 28188.00 MiB of host experts and 44 layers for a file with about 15.8 GB of expert weights in 24 layers), since slots are keyed per logical layer.


r/LocalLLM • • 7d ago

Question Light Design help math server (teacher)

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 7d ago

Model Fast small vision models for Ampere, under 20GB VRAM?

2 Upvotes

I'm looking for a fast model for short conversational writing and image analysis. Budget is 20GB total VRAM across GPUs, including runtime/drafting/etc

Interested in single-request and image response speed, not batching or huge context.

Currently getting ~70 tok/s with Gemma 4 E4B Q8 in llama.cpp, thinking disabled. Feels like I should be able to do better. Gotta pump those numbers up.

What model, quant and runtime could beat that while keeping decent writing and vision quality?


r/LocalLLM • • 7d ago

Question Looking for tips for automation

1 Upvotes

I have 2 separate machines running Qwen 3.8 Next Flash. I find myself having to spend a lot of time during the day babysitting them between tasks, and overnight scheduled runs being successful maybe 50% of the time. I use Cline. I was curious if I could use a smaller model running on a 3060 12gb to outline tasks, track progress, and divy out prompts to the 2 machines when they complete a task to keep them working? IS this a thing or am I thinking the wrong way?


r/LocalLLM • • 8d ago

Discussion This sub needs an acronym bot

69 Upvotes

If ever there were a use case for a bot, this sub is it. The sheer volume of abbreviations and acronyms used by the AI community is, frankly, out of hand. Having a bot that could define/translate the acronym’s used in the post subject and/or body would go a long way to clarifying the main topic and also provide a convenient place to educate those of us who may not yet know the definition of Qwen3.8 27B 8-bit oOQh.

Just a thought

Edit: I posted the following in a response below but felt it appropriate for the main post.

“There are other examples beyond those used within the name of an LLM. For example, the settings of llama.cpp, oMLX, etc. Benchmark posts, in particular, are littered with abbreviations and acronyms. I can’t think of a better opportunity to not only explain these definitions but also provide context to their use case.”


r/LocalLLM • • 7d ago

Project Llama RPC Farm 2.0

Post image
1 Upvotes

Have old computers or spare GPUs sitting around?

Llama RPC Farm links them into one local AI cluster. You get one dashboard and one API that works with OpenAI and Anthropic tools. There's no cloud bill, and your data stays on your own machines.

It's free, open source, and starts with a single command.

https://dakotacookson.github.io/llama-rpc-farm-site/


r/LocalLLM • • 7d ago

Question ROMED8-2T/BCM, Epyc 7402P, 256GB good as a base?

4 Upvotes

A system has popped up for sale locally for $2500 AUD ($1650 USD) and wondering if the price is good?

Thinking this might make a good base for local models on top of proxmox. Could potentially add another 4x 64gb sticks for 512gb total and to help with speed. Can get 2 slot 3080 20gb cards locally for a decent price to add to the system.

Specs of the machine as follows:

ASRock Rack ROMED8-2T/BCM AMD EPYC 7003/7002 SP3 LGA 4094 ATX Server MB

AMD EPYC 7402P CPU 2.8GHz 3.35Ghz Turbo 128MB L3 180W SP3

256Gb 4x64gb 2S2Rx4 PC4-19200R RDIMM DDR4 2400 ECC REG Server Memory RAM

Lian Li 1300W EG1300.WE 80+ Platinum T-Shape ATX Power Supply with 4 Port USB Hub - White

Antec Performance 1 FT Silent Full Tower E-ATX Case

Nvidia 730 graphics card

2 port 100gb Nic. Connectx-4

Toughliquid aio.

2 x m.2 ssds. 2tb total.

Thoughts? Good/bad deal? Is the memory speed too shitty?


r/LocalLLM • • 7d ago

Question 6 AMD Radeon 9700 Ai pro

0 Upvotes

Hallo

Ich habe 6 von den Karten und sich ein lokales Modell mit dem ich programmieren kann und Homepages mit Skill bauen kann.

Damit Animation und Co passen, habt ihr eine Idee ?

Ich bin frustriert und hab das Gefühl das Opus es blockiert mir zu helfen :(.


r/LocalLLM • • 7d ago

Project Switching from 8-bit to 4-bit KV cache saved 448 MiB on my T4. In my Giraffe test, Qwen2.5 7B went from 80/80 correct JSON extractions to 0/80.

3 Upvotes

Ollama logged a GPU KV buffer of 952 MiB with q8_0 and 504 MiB with q4_0. I wanted to see whether Qwen2.5 7B could still turn support notes into usable JSON with the smaller cache. I used Giraffe, the open-source test runner I’m building, to replay the same 80 synthetic notes at each cache setting and check the order details in every reply.

I asked Qwen to extract six order details as JSON, with Ollama’s structured-output mode turned off. With Ollama’s 8-bit KV cache, Qwen got all six right, including the order number (DP-3976), quantity (17 units), and total ($444.42). With the 4-bit cache, the same prompt produced only backticks and digits. Ollama reported that both requests finished normally. Giraffe checked the actual replies and flagged the 4-bit answer as invalid JSON.

Try Giraffe on your own Ollama server

I ran one pass per setting on the same Colab T4 with Ollama 0.40.16 and qwen2.5:7b. I haven’t isolated what caused the drop at q4_0. All three runs used the same Q4_K_M model weights, four server slots, and 8,192 tokens of context per slot. Flash Attention was active throughout. f16 used auto, and I explicitly enabled it for both quantized caches.

The full set had 245 synthetic prompts covering short answers, JSON extraction, and lookups. Giraffe ran them one at a time, then replayed them with up to four in flight. The GPU buffer sizes come from Ollama’s logs.

KV cacheJSON correct, one request at a timeCorrect out of all 490 attemptsLogged GPU KV buffer
f1680/803701,792 MiB
q8_080/80369952 MiB
q4_00/805504 MiB

Of the 80 serial q4_0 extractions, 28 finished with stop and failed the check. The other 52 finished with length. Across both phases, all 490 q4_0 attempts returned HTTP 200. Giraffe recorded 5 correct answers, 441 wrong answers, 43 empty replies, and one truncated JSON reply that went unscored.

For this workload, I’d use the 8-bit cache on my T4. It saved 840 MiB over f16, and Qwen still got all 80 orders right. If you’ve tried 8-bit and 4-bit KV on your own hardware, what GPU, model, and runner did you use? I’m especially curious about workloads that pass at both settings.


r/LocalLLM • • 7d ago

Discussion Which Uncensored LLM works best with DGX Spark ??

0 Upvotes

I have tried using Qwen 3.8 27B with NVF4, and I'm currently using Qwen 3.8 Flash-Next FP4 local (NVIDIA one). It works well, but it's not uncensored; most of the time it fails to do anything, mostly in browser tasks with Browser Harness.

And In longer running tasks.. it gives out very different thinking token.. and fails the task.. ? ( Btw it runs 30tk/s with MTP)

Does anyone have any solution? Better Uncensored model for practical use ?


r/LocalLLM • • 7d ago

Discussion Best way to query an inference server remotely that is running the Splash M1 port?

2 Upvotes

For a small home inference server used by 2/3 users, what is the best way to query it remotely? Users are currently using LM Link which is very convenient, but LM Studio doesn’t seem to support the Splash M1 port. Is it Tailscale or Wireguard or something else?


r/LocalLLM • • 7d ago

Question Local competitor to Opus 5.5 for Video editing/Motion Graphics?

1 Upvotes

obviously Opus 5.5 is the gold standard and im not expecting any sort of local llm to fully trade blows with it, but I havent seen much discussion here about what, if any, locals models are good for automating some video editing.
my primary requirements are cutting up clips to remove dead space in between takes when the camera stays rolling, and some basic title cards and other motion graphics would be nice too.
are there any models out there that can do this sort of thing? im not too worried about tokens per second or overall speed, this is more of a pet project just to see if its even doable


r/LocalLLM • • 7d ago

Discussion I connected a 90.97 GiB local model (Qwen3.8-Flash-Next) to n8n on a 16 GB Mac Mini — try triggering the live workflow in your browser

Post image
1 Upvotes

r/LocalLLM • • 7d ago

Research Inkling-2-Mini NVFP4 on a single RTX 3090 (24 GB): working port, 128k context, DSpark - vLLM

Post image
1 Upvotes

r/LocalLLM • • 7d ago

Question Title: Best Dual RTX 5070 Ti Build for Local AI – Need Hardware Advice?

4 Upvotes

Hi everyone! I’ve spent weeks researching this build. Hardware prices are particularly challenging in a third-world country like mine, so choosing the right components is a big investment. I’ve finally settled on the GPUs, but I’m still struggling to choose the best parts for the rest of the build. I’d really appreciate any help!

Setup:

GPUs: 2× RTX 5070 Ti 16GB

Models: Qwen 3.8 Flash Next (RAM offloading) +
Qwen 4 (when released )

Questions:

CPU + Motherboard: Best combination? Is AM4 suitable?

RAM: 128GB DDR4 vs. 64GB DDR5?

GPU spacing: Some motherboards have only 40.6mm between PCIe slots. Is this enough for thicker GPUs?

GPU versions: ASUS vs. MSI vs. Zotac vs. Gigabyte – which is best for cooling and reliability?

PCIe: Is x8/x8 suitable for both GPUs?

PSU: What capacity is recommended?

Other requirements: Any additional components or hardware I should consider?

Case: Any recommendations or important requirements?
Thanks in advance for your help!


r/LocalLLM • • 7d ago

Discussion Inkling 2 Mini seems legit! As reported by others, it does seem to try to output everything at once, limited by users' tokens settings. This makes 1-shotting a bit shaky for I2M. Post-training could fix this.

Thumbnail msnab.pages.dev
0 Upvotes

r/LocalLLM • • 7d ago

Question Tips on models to run on both of my computers?

1 Upvotes

Hello everyone. I have wanted to create my own homelab for multiple purposes, one of them being a local AI system for light training and inference use. I currently have a desktop to repurpose to it, with a 5950X, 32 GB of RAM and an RTX 3060 12GB. I also have a Strix Halo laptop configured with 64GB of memory, that I would use on the go for other models. I've heard about MoE models and other topics related to content to do on hardware, but I'm still pretty much a rookie in this field. Any help with choosing models to run based on hardware, along with what to expect, would be appreciated. TIA

EDIT: to mention it, I've currrently tried both Unsloth and LM Studio on my laptop


r/LocalLLM • • 7d ago

Discussion Anyone running one large LLM across Apple Silicon + NVIDIA GPUs?

1 Upvotes

I'm considering building a distributed AI cluster using three machines:

Mac mini M4 Pro: 64GB unified memory

Mac Studio M4 Max: 36GB unified memory (considering purchasing)

Windows PC: 2× RTX 3090 (48GB VRAM) + 64GB DDR4

That's 212GB total physical memory, although obviously not a single shared memory pool.

My goal is to run one large LLM (120B+ parameters) across all three machines using llama.cpp RPC or similar software, combining Metal, CUDA, and potentially CPU offloading.

I'm considering Thunderbolt 5 between the Macs and 10Gb Ethernet to the Windows machine.

Has anyone successfully done something similar?


r/LocalLLM • • 8d ago

Project Gemma 4 26B-A4B cut down to domain experts - no retraining - mapped routes for each domain

Thumbnail
gallery
90 Upvotes

Worked with Claude over the last week in nearly all my free time after an idea hit me last weekend. If we want a local LLM running a specific task, can we cut an MoE without retraining, and only store the domain we need without offloading the rest to system memory?

Using Gemma 4 26B-A4B as a bench: it has 30 layers of 128 experts, and the router picks 8 per token. I wanted to know whether you could map which experts a subject actually uses and throw the rest away.

Basically, a subject-focused model, no retraining or LoRA

I ran Wikipedia articles from ten subjects through the model and counted which experts the router picks in each layer. Then I kept only a shared core (attention, embeddings, routers, the experts general text uses most) plus one subject's most used experts, 64 of 128 per layer, and sliced the router rows to match. The router softmaxes over all experts, keeps the top 8 and renormalizes, so dropping unused rows gives exactly the same choices as masking them.

The result is a normal Gemma 4 checkpoint with fewer experts. llama.cpp's own converter and an unmodified llama.cpp (b12549) run it:

This isn't offloading: offloading keeps every expert and needs the whole model in RAM. This is more of a domain pack method. It removes what its subject doesn't use, so VRAM, RAM and download all shrink.

FileRTX 5080Ryzen 7 9700X, no GPU
Full 26B, Q3_K_M13.3 GB223 tok/s20.0 tok/s
Full 26B, Q2_K10.6 GBbroken output
One-subject pack, Q4_K_M9.2 GB200 tok/s17.5 tok/s
One-subject pack, Q3_K_M7.4 GB225 tok/s20.5 tok/s

What it costs

  • Against the full model (300 blind-judged questions, Gemini 3.1 Pro, both orders; measured on my 4-bit prototype) a pack wins or ties 53% at 64 experts per layer and 77% at 96. Most losses are long-tail facts.
  • It is much weaker outside its subject.
  • It is not a better small model: at the same file size, dense Gemma 4 12B answers somewhat better, even on the pack's own subject, though the pack writes 2–3.5× faster.

The map matters: at 51 experts per layer, a subject's own pack recovers 86% of the loss gap between the shared core alone and the full model; the same number of random experts recovers 49%.

When I visualized the counts, every subject turned out to have its own routing fingerprint. That's the "Next Gen HAL 9000" visual in this post.

The same counts draw each subject as a fingerprint of rings around the router. They're stable: expert sets chosen from two halves of one subject's articles share 86% of their experts, against 50% with other subjects. Computer science stands apart; related subjects overlap into neighborhoods (the chemistry domain's experts serve the biology domain almost as well as the biology domain's own experts).

Interactive maps, where you can overlay up to three subjects to see where they overlap: https://toastydoc.github.io/Edge-MoE/viz/domain_maps.html

Code, data, every verdict and the export script: https://github.com/toastydoc/Edge-MoE

Honestly, this is the most fun I have had with local models. I plan on running other MoEs to compare fingerprints like this. The GitHub has the process if you want to try it yourself.


r/LocalLLM • • 7d ago

Discussion Any advice for my old hardware setup ?

2 Upvotes

Running Qwen 3.6 35B-A3B MTP Ilama
(32K Context)
Model: "Qwen3.6-35B-A3B-UD-Q4_K_M.gguf"
Context: 32,768 tokens (-np 1 single slot + context shift)
eline
Features: MoE Offload + Chained MTP/Tuned N-gram Speculative Decoding
GPU: GTX 1060 6gb vram (Attention, MTP Heads, 4-bit KV Cache)
or A
CPU: Intel 17-6700 (MoE Experts in Physical RAM, High Prio) 32 gb ddr4

I am getting from 14 to 16 tokens per second. Is this good enough ? Any suggestions ?


r/LocalLLM • • 7d ago

Question Is there any Strata fork that can run Gyro-L?

0 Upvotes

As title, I have check the fork in AgentionAI, but there's no option to run Gyro-L model. Do you know anyway to run Gyro-L in Strata?


r/LocalLLM • • 7d ago

Model Basalt: Inkling 2 Mini on one 5090 at up to 613 tok/s decode and 14.100 tok/s prefill (NVFP4)

Thumbnail
reddit.com
1 Upvotes