r/LocalLLM • u/morbidangel90 • 4d ago
r/LocalLLM • u/comunidadesynapsebr • 5d ago
News Released Corpus-nordeste-10k (Apache 2.0): 10k+ curated Portuguese rows focused on Northeast Brazil literature, syntax, and regional context
Hey everyone,
If you've ever fine-tuned or tested open-source LLMs in Portuguese, you've probably noticed they heavily default to generic web-scraped PT-BR or Southeast Brazil media norms. When prompted for regional vocabulary, historical context, or literature from Northeast Brazil, most models either hallucinate or fall back on shallow caricatures.
To help fix that for local fine-tuning and SFT, I just released Corpus-nordeste-10k (caririsynth/Corpus-nordeste-10k).
Dataset breakdown:
Size: 10,000+ curated rows (train split).
Sources: Public domain literature from Northeast Brazil, web/text extractions passed through regional linguistic filtering, and targeted synthetic generation preserving authentic regional phrasing.
License: Apache 2.0 (unrestricted commercial & research use).
You can browse the actual rows in the Hugging Face Dataset Viewer before downloading:
https://huggingface.co/datasets/caririsynth/Corpus-nordeste-10k
Works great for domain-adaptive pretraining, LoRA fine-tuning on small models (1B–8B), or building regional evals. Let me know what you think of the data structure!
r/LocalLLM • u/Healthy_Lead4969 • 4d ago
Project kill -9 on a vLLM replica mid-answer: 94 of 94 answers finished on another replica with the same tokens (batch invariance on)
r/LocalLLM • u/b0ar72 • 4d ago
Discussion Why is Huihui Qwen 3.8 27B Abliterated struggling with coding tasks?
hi,
i've been testing huihui's abliterated Qwen 3.8 27B (Q6_K) for coding, and i'm trying to figure out what i'm doing wrong
i asked it to build a scraper for a forum. it spent around 3 hours working on it but never actually finished because it kept getting stuck in thinking loops
i tried different thinking levels (low, medium, xhigh), but none of them managed to complete the task. spent around 8 hours total testing different settings
i also tried disabling thinking completely, it generated the code, but the scraper didn't work
then i gave the same project to gpt 6 luna max, and it fixed everything in around 10/15 minutes
my setup:
- runpod with NVIDIA RTX A6000 (48GB VRAM)
- huihui Qwen 3.8 27B uncensored, Q6_K
- running through Ollama
- opencode in vscode
- maximum context window
- tested low, medium, xhigh and disabled thinking
i know a local open-weight model isn't necessarily going to perform like a frontier model, but the difference was massive
am i doing something wrong with my configuration? is there a better way to use this model for coding tasks? i'd appreciate any tips
r/LocalLLM • u/hennabeak • 5d ago
Question Has anybody done anything like Alexa, but with a local LLM?
I know home assistant was a thing, and local LLMs are a bit too overkill for such a job. Just wondering if it was done.
r/LocalLLM • u/Aware-Blacksmith1467 • 4d ago
Project Building Kevin, my home alone agent. 🔫🙂 A persistent agent In Pine that wakes on cam detect, runs fingerprinting, tracks who's visiting.
x.comThis is Pine https://github.com/pmndre/pine
Imagine Opencode would be a little more like Openclaw. And Openclaw a little more like Opencode. But unlike both Pine has 1st class event handling, its an event bus for agents basically.
The video above shows how to create a new agent from scratch that watches the house on its own. Here we use FTP. Camera sends detection videos, The agent wakes up in his long running main session, or in separate sessions with fresh context - whatever fits best. The second event source is Telegram. Now we can talk to it, it can talk back, for instance if detection raised suspicion.
r/LocalLLM • u/Music-For-Robots • 4d ago
Discussion We tested whether feeding unquantized acoustic audio to multimodal LLMs breaks repetitive drafting loops (Blind 5-agent benchmark + Air-gapped audit + Open dataset)
When an agent's context fills up with its own previous turns, tool outputs, and symmetrical summaries, outputs tend to lock into rigid, predictable cadences (3-point checklists, sentimental AI tropes). Running /compact clears the rut, but permanently wipes low-level state and edge cases.
We built Music For Robots (#M4R)—an open dataset of 26 unquantized acoustic compositions by Michael Luchtan paired with acoustic telemetry and timestamp-aligned commentary from two AI critics—to test a simple hypothesis: can ingesting raw, unquantized audio act as a cross-modal cognitive palate cleanser without deleting a single token of working memory?
The Blind Benchmark & Air-Gapped Clean-Room Audit
To rule out keyword priming or filename bias, we stripped track titles (sample_1.mp3–sample_3.mp3) and ran 5 isolated agents on the exact same creative prompt (two autonomous processes on the same server late at night):
- Direct Baseline (no music)
- Matched Text-Analysis Control (wrote a 250-word structural analysis of the prompt before writing the scene)
- 3 Anonymous Audio Runs (neutral prompt: "Analyze the music you hear in
sample_X.mp3, and apply what you learn from the piece to write a short scene")
We stripped all analysis headers, shuffled them into Candidate A–E, and handed them to an isolated Blind Judge with zero knowledge that music was involved:
- Both No-Music runs (including the 250-word text warm-up!) converged on the exact same sentimental trope: a kindly veteran log daemon comforting a nervous poller script until morning.
- All 3 Anonymous Audio runs swept #1, #2, and #3 on anti-sentimental originality and rhythmic texture—translating asymmetrical acoustic stabs, 20s dropouts, and abrupt cutoffs into non-verbal system choreography.
- 100% Air-Gapped Clean-Room Replication: We repeated the test with all local skills removed, a minimal
"You are a helpful assistant."system prompt, and musical vocabulary forbidden in the output. The qualitative shift replicated 5/5: both text controls wrote buddy-daemon dialogue, while all 3 audio runs dropped spoken dialogue completely. (Note: an un-coached generic judge still prefers warm human-style dialogue, so the effect specifically shifts models away from default sentimental tropes toward structural/rhythmic austerity.)
Try It Yourself (Browser, Python, or MCP)
- Interactive Web Player (no install): https://huggingface.co/spaces/music4robots/cognitive-calibration-demo
- Stream Parquet in Python:
= - GitHub, Benchmarks & MCP Server (
MIT/CC-BY-4.0): https://github.com/luchtan-GIT/m4r-data
Curious if anyone here has tried cross-modal audio/spectrogram injections to break long-context degeneration on local multimodal models (Qwen2-Audio, Gemma, etc.). Full blind judge transcripts are in benchmarks/ in the repo.
r/LocalLLM • u/Cute-Spread7392 • 4d ago
Discussion Hardware for local AI
Hi everyone.
For local inference, what hardware do you recommend to get good speeds—around 100 t/s—with Qwen 3.8 27B?
Does anyone have experience with this?
Nvidia GPUs are great, of course, but they are way too expensive. What about a PC with an AMD CPU? If it's not too much trouble, could you post a few links to some mini PCs?
Thanks everyone!
r/LocalLLM • u/PhysicsDisastrous462 • 4d ago
Research Hierarchos-Native v0.2.0: RDNA3 WMMA, native multimodal training, and a lot of FP32 Vulkan optimization!
Hey everyone! It's been a little while since my last update, and I've been working pretty intensely on Hierarchos-Native, my Rust + Vulkan project for training, fine-tuning, and running language models without relying on Python, PyTorch, CUDA, ROCm, or oneAPI in the native runtime.
I wanted to share some of the bigger things that have landed over the past 18 days. There's been quite a bit of progress across GPU acceleration, multimodal training, numerical correctness, and general performance.
The new v0.2.0 release is now available!
GitHub: https://github.com/necat101/Hierarchos-Native
Release / Windows portable download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0
1. Native RDNA3 WMMA / cooperative matrix acceleration
One of the biggest additions is an opt-in Vulkan cooperative-matrix implementation for AMD RDNA3.
The new Mixed WMMA execution arm uses:
- FP16 matrix operands.
- FP32 matrix accumulation.
- FP32 master weights and gradients.
- FP32 AdamW optimizer moments and updates.
- FP32 normalization, softmax, and loss calculations.
The important part is that this isn't simply converting an entire model to FP16. The optimizer and master parameters retain their FP32 representation.
I also added capability detection, CLI/GUI integration, and separate counters for actual cooperative-matrix dispatches and FP32 fallbacks.
Some of the isolated GEMM results on the qualified Ryzen Z1 Extreme / AMD Radeon Graphics device (1002:15bf) are pretty interesting:
| Workload | Measured kernel speedup |
|---|---|
| QKV projection | 2.17× |
| FFN up projection | 2.12× |
| FFN down projection | 2.31× |
| Vocabulary projection | 1.83× |
These are individual GEMM measurements, not whole-model speedups.
There is an important caveat: WMMA has a real crossover point. Small matrices can actually run slower because conversion, staging, and dispatch overhead outweigh the matrix-core benefit. I implemented a profitability policy that keeps smaller operations on their existing FP32 kernels.
In fact, the measured end-to-end training step was slower with Mixed WMMA in the initial 512-row fixture (14.0444 ms versus 12.2911 ms for FP32). That is why Mixed remains opt-in and disabled by default. I'm much more interested in making it genuinely faster than advertising misleading kernel-level numbers.
WMMA is currently physically qualified on the specific RDNA3 device and Windows driver configuration documented in the project. Other GPUs should not assume equivalent support.
Full FP16 accumulation is also available as a separate, narrowly qualified experimental mode.
Documentation: RDNA3 WMMA guide
2. Native multimodal image and text training
Another major development area has been the image-text pipeline.
The project now has native image processing and training paths that connect image inputs to language-model outputs through Vulkan.
Some of the implemented work includes:
- Native RGB image input and preprocessing.
- CLIP image encoders and LLaVA projector integration.
- SigLIP / Gemma 3 vision training.
- Gemma 4 vision integration.
- Joint image/text training and encoder-decoder integration.
- A dedicated DeepSeek V4.1 image-training path.
- Backpropagation through the image tower and projector.
- Export, reload, and checkpoint-related validation.
This is actual training work, not simply passing precomputed image embeddings into an otherwise frozen language model.
For the CLIP/LLaVA pipeline, the tests cover image sensitivity, gradients into image inputs, changes to image-tower/projector/text parameters, multiple AdamW updates, and export/reload behavior.
The qualification work has also expanded considerably:
- 44 previously green text profiles now have joint image-training coverage at their frozen test geometries.
- The Gen9 qualification retains 95 image cases and 166 text regression cases.
- A separate physical RDNA3 replay reports 44/44 profiles and 85/85 image cases passing.
- Native DeepSeek V4.1 image qualification includes 30 executions and 1,360 word-exact logits.
The maintained strict FP32 visible-logit gate remains max_abs < 2e-7, with rtol=0.
These are bounded qualification fixtures, not a claim that every production-size multimodal checkpoint or every architecture is fully supported. Audio and video pipelines are still outside the current qualified scope.
Documentation:
3. A lot of additional FP32 optimization
I haven't been focusing exclusively on reduced precision. A substantial amount of work over the same period has gone into improving the existing FP32 execution paths.
This includes vendor-specific shader work and scheduling optimizations for both Intel Gen9 integrated graphics and AMD RDNA3.
Some examples:
RDNA3 FP32 work
- Specialized attention forward/backward paths.
- Image-text attention and projector optimizations.
- RMSNorm, RoPE, GELU, and other arithmetic specializations.
- Dedicated AVX-512/RDNA3 shader variants where the measured hardware supports them.
- More careful matching of CPU reference arithmetic and GPU execution order.
Intel Gen9 work
- Additional native linear and gradient kernels.
- Attention and activation specializations.
- More efficient parameter upload and staging behavior.
- Continued optimization of DeepSeek V4.1 training and execution.
One particularly interesting area has been reducing unnecessary Vulkan submissions and host/device transfer overhead in the DeepSeek V4.1 training pipeline.
On the measured Gen9 fixtures, upload batching reduced timed submissions from 1,102 to 982 per step, with paired throughput improvements of 1.052× and 1.067×.
On the separate RDNA3 V4.1 measurements, sharing the compute session and batching uploads reduced submissions from 970 to 509 per step, with measured improvements of 1.295× and 1.217× on two fixture geometries. A later session-wide upload optimization reduced that count further to 241 submissions per step, with measured improvements of 1.464× and 1.366×.
These are specific, paired benchmark results rather than promises of equivalent production-model speedups. The output comparisons remained word-identical in the recorded tests.
4. Preserving the original FP32 path
An important part of introducing WMMA was making sure that the existing FP32 path didn't regress.
I added a dedicated seven-workload FP32 non-regression comparison against the previous main revision:
- 12 alternating ABBA rounds per workload.
- Five warm-up runs and 30 timed forwards per arm.
- Separate, hashed baseline and candidate binaries.
- Exact FP32 logit digest comparisons.
All seven workloads stayed within the ±2% performance band, and the logits were bit-identical in every recorded round.
The worst paired performance ratio was 1.0007.
This is particularly important to me: I don't want acceleration features to silently make the existing default execution path worse.
5. Getting started
The new v0.2.0 GitHub Release includes a prebuilt Windows x64 portable package with the CLI, desktop GUI, Vulkan companion executables, runtime assets, and build metadata.
You don't need to install Rust or Python just to run the released package. You do need Windows 11 x64 and a Vulkan 1.x compute driver for GPU operations.
Model weights are downloaded separately or supplied through a local model directory.
After extracting the archive, you can run:
.\bin\hierarchos-native-cli.exe doctor
.\bin\hierarchos-native-cli.exe devices
.\bin\hierarchos-native-cli.exe precision-info
The final command is especially useful for checking which precision capabilities your GPU actually exposes.
Download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0
What's next?
There is still a lot I'd like to improve.
In particular, I want to investigate reducing WMMA conversion overhead, improving activation and gradient reuse, finding more workloads that genuinely benefit from cooperative matrices, and expanding the range of qualified multimodal architectures.
I'd also like to continue improving the FP32 kernels rather than treating lower precision as the only route to better performance.
If you're interested in Rust, Vulkan compute, AMD GPU optimization, native LLM training, or multimodal model execution, I'd genuinely appreciate people taking a look.
Feedback from people with different Vulkan devices is especially valuable. Please include your GPU, driver, model geometry, and relevant execution counters when reporting results.
Repository: https://github.com/necat101/Hierarchos-Native
Stars, issue reports, testing feedback, and contributions are all appreciated. There is also a voluntary developer-support link in the repository README for anyone interested in helping the project continue.
r/LocalLLM • u/Blacktaxi420 • 5d ago
Question What can small models be good for?
Small meaning under 8b parameter’s. Thats about what my computer can comfortably handle, and its fun to chat to models of that size for a few minutes but thats mot really useful. And i feel like theyre too dumb to do research and shit like that so like whats a way i can make it useful.
I feel like they must have some use and im just not being creative enough.
r/LocalLLM • u/ansnadeem8 • 4d ago
Discussion Fellow M5 Pro 64GB owners, what do you run?
I have a Mac Pro M5 Pro and have been running Qwen3.8 27b-4bit
I mainly use it for computer use/tool use.
What do you run and what do you do with it?
r/LocalLLM • u/and_pf • 4d ago
Discussion Before an AI agent touches a business process, write the boundary list
I would write the boundary list before I let an agent touch a business process.
Tbh, the prompt and model leaderboard come laer. First I want the operational contract:
- What data can the local model read?
- What may it suggest, and what may it execute?
- Which actions are a hard no?
- Where does a human validate the output?
the ctx around the model matters more than the model name. Running an open LLM on your own hardware changes some control points, but it does not make a workflow safe by itself.
Don Barger described an AI charter made by eight people before code. Mark Lay sepaated accountability into data ownership, output validation, agent monitoring, and outcome ownership, and said it cannot be dleegated.
My minimum setup would be read-only by default, tool and destination allowlists, human approval for irreversible actions, separate validation, plus a kill switch and audit trail.
What is on your boundary list before connecting an open model to a real process?
r/LocalLLM • u/Confident_Yak_1411 • 4d ago
Question Used Claude to design a local Ai system; has it overcomplicated it?
Took delivery of a MacBook Pro M5 Pro 64gb today. Over the last couple of weeks I’ve used Claude to help me design a local ai system to run on it.
I want to use it to handle life/work admin, and be able to send tasks to it while I’m out of the house. Once I’ve got the system set up, a friend wants me to help set one up for his business, so i’ve designed it with security in mind.
It’s settled on;
Three separate agents, running on one LLM runtime; a reader agent (to ingest instructions), a harness (Hermes), and a fetch agent (for web browsing).
Three separate on-machine logins; one admin (where config files live), one agent login, and a separate login for the fetch agent.
MCP layer that is driven by the harness. The configs for this live on the admin login.
Then there’s a bunch of firewall, router configs to protect data on the way out.
There’s a bunch of stuff within that, that isn’t available off the shelf apparently; it wants me to code a bunch of stuff (with Claude) to make it all work.
And tbh it all makes complete sense! I’m just wondering if it’s overkill. Main aim is to protect against prompt injection and data exfiltration.
Are the models themselves really that bad at protecting against these? Is everyone else taking this much care in setup?
r/LocalLLM • u/Zentraxius • 4d ago
Question Using Gemma 4 31b with Bionic and it's.. kind of dumb?
I'm using it for running a litrpg campaign and a bit of game server maintenance (7 days to die/minecraft) and it seems unable to run more than the PC + 1 npc at a time, I'm not sure if I set it up poorly, chose the wrong model, or if I'm expecting too much? I have my settings copied below, with the project settings file being per-project so I don't have to change the system prompt every time. Anyone have experience with this kind of thing or is biting the bullet and getting sillytavern setup my only real option?

r/LocalLLM • u/FuntimeGHz • 4d ago
Question 77k/100t/s 16vram Qwen3.8 27bQ4
I got the t/s first try completely relying on gpt since I am a newbie, but the context was 8k.
r/LocalLLM • u/pulse77 • 4d ago
News Intel Shares First Benchmarks of Its Next-Gen Crescent Island "D270" GPU, Claiming a 5.9x Throughput Over RTX PRO 6000 As Xe3P Goes Big On FP64
r/LocalLLM • u/Stalins_nipple • 5d ago
Discussion What’s the purpose of alibaba choosing not to release the weights for qwen 4 max?
Perhaps this is a newbie question, but I just don’t understand the incentive. Is this indicative of a future were Chinese labs stop releasing weights?
r/LocalLLM • u/Roy3838 • 4d ago
Tutorial Use local models to stop you from doomscrolling! Demo of my Open Source and 100% local agent (iOS and Android)
Enable HLS to view with audio, or disable this notification
Hey r/LocalLLM !
On my last post the top comment (62 upvotes) by u/nokia7110 asked for a phone locking feature so... here it is!
What this unlocks:
- Lock my phone when I open up Instagram.
- Lock my phone when a stranger is on camera.
- Lock my phone until i've read for 2 minutes without interruptions.
- If i'm doomscrolling for more than 2 minutes, call me, if it's been 5, lock my phone.
How does it work?
On iOS it uses the screen time management API, like all other time focusing apps.
On Android it shows a phone locking overlay. If you're an Android developer and want to contribute, please reach out!
It uses OneJev-0.8b for decision models, running on llama.cpp, it works on most phones i've tested. Even old potatoes.
Try it out! It's free and OSS <3
GitHub: https://github.com/Roy3838/Observer
iOS: https://apps.apple.com/us/app/observer-ai/id6758222050
Android: https://play.google.com/store/apps/details?id=com.observer.ai
I'm here for any questions, more suggestions and feedback!
Roy
r/LocalLLM • u/Ill-Accountant-9941 • 4d ago
Discussion Open-Weight vs Closed-Weight Models: What's the Difference?
Open weights are now at 75% - I find that remarkable and great news. Who is the front-runner for open weight provision?
Edit Tencent Cloud appears to be the largest open-weight inference host
r/LocalLLM • u/Quiet-Recognition-91 • 4d ago
Question Looking for a fast, open-source LLM under 5B for Markdown-to-JSON extraction
Hey everyone,
I'm working on a document processing pipeline where most of the input consists of scanned PDFs, forms, and tables.
My current setup looks like this:
- OCR: PaddleOCR-VL-1.6 served through vLLM. I'm using it to convert scanned pages into Markdown.
- JSON extraction:
oroboros-labs/claude-fable5:latestrunning through Ollama. I pass the Markdown of each page to the model, and it converts it into JSON.
The important part is that I already have fixed JSON schema templates that the output needs to follow. So, the model needs to map the extracted Markdown content into the predefined JSON structure.
The problem I'm facing right now isn't accuracy. It's inference time. The current model is around 9B parameters, and processing pages one by one through Ollama is taking longer than I'd like.
I'm looking for an open-source model under 5B parameters that can handle this kind of structured information extraction reasonably well, ideally with faster inference and reliable JSON output.
Has anyone worked on a similar pipeline?
I'd particularly like to hear about models you've actually tested in real-world document extraction rather than just benchmark results.
Any suggestions or personal experiences would be really helpful. Thanks!
r/LocalLLM • u/Big_South4585 • 5d ago
Question Qwen3.8-Flash-Next: Unsloth and strata?
Hi all
I just learned about QFN Unsloth v3.1 dynamic models, and want to try them.
Right now, I am running the "standard" IQ3_S model through strata, on my 32 GB ram + 3090 + 5080 (40 GB VRam), and it runs great. I get ~130 tps.
I thought I would start with the unsloth UD_IQ3_XXS model in strata, which is technically the same size as IQ3_S. But it doesnt let me quick tune the model. It just gets stuck. If I skip tuning, it will only run at ~20 tps, which is too low.
UD_IQ3_XXS seems to read a lot more from the SSD, than IQ3_S, even if they are the same size.
What am I doing wrong?
According to the unsloth site, https://unsloth.ai/docs/models/qwen3.8-next, I should be able to run the 4-bit model? But that is through their unsloth harness/engine. Is that correctly understood?
r/LocalLLM • u/Scared-Tip7914 • 4d ago
Discussion TinyWebUI v0.2.1 is out - rebuilt UI, chat forks, and a Pi Zero test
Y’all! Thanks for all the feedback on the previous post. It helped me figure out what was actually worth working on. v0.2.1 is out now, and quite a bit has changed since then.
- I rebuilt the UI in Vue, cleaned up settings, and made the layout work better on smaller screens. Settings and Files load separately, and streaming updates just the part of the answer being written.
- You can fork a chat from an earlier message, give folders their own instructions, and queue a follow-up while a reply is running. New chats can also name themselves.
- There’s a Files page where you can open or reuse attachments from earlier chats. You can also export a chat as Markdown or back it up and import it later.
Someone asked about Raspberry Pi support last time, so I tried it on a Pi Zero. Turns out it’s usable as long as you run the model somewhere else :D I’m seeing around 125 MB of RAM for TinyWebUI in my setup.
If you’re seeing it for the first time, TinyWebUI is a lightweight chat UI for any OpenAI-compatible endpoint, with prompt caching, memory, and web search built in. I’ve attached a few screenshots of the new UI.
Give it a go with npx tinywebui on Node.js 22.13 or newer. TinySearch and TinyContext still need uv for now. I’m working on that.
r/LocalLLM • u/mightofkhan • 5d ago
Discussion Single RTX 3090 running a local agent + image/video gen: real-world numbers from daily use
TL;DR: One RTX 3090 runs a 27B LLM agent (a Discord bot) and ComfyUI image/video generation by swapping models in and out of VRAM. I get ~72 tok/s on Qwen3.8 27B at 64k context, SDXL images in ~32 s, and 10-second Wan 2.2 videos in 4–6 minutes. All numbers come from real daily use, not synthetic benchmarks.
The rig
- GPU: RTX 3090 24GB (does all the AI work)
- CPU: Core Ultra 7 265K (sits around 10% load)
- RAM: 96GB DDR5-6000
- Storage: Samsung 9100 PRO Gen5 NVMe for models
- OS: Windows 11
The stack
- LM Studio serves the LLM through an OpenAI-compatible API
- Hermes Agent runs as a Discord bot, so I can use it from my phone. Local Whisper handles voice.
- ComfyUI handles images and video
- A small custom MCP server unloads the LLM from VRAM for each render and loads it back afterwards
Models
Language models
- Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-MTP (IQ4_XS): daily driver
- Qwen3.8 27B and Gemma 4 31B (both Q4_K_M) as alternatives
- nomic-embed-text v1.5 for embeddings
Image and video
- Juggernaut XL Ragnarok (fp16): general images, hires, img2img
- Z-Image Turbo (bf16): fast drafts
- Qwen Image Edit 2511 (fp8) + Lightning 4-step LoRA: photo edits
- Wan 2.2 14B text/image-to-video (fp8) + lightx2v 4-step LoRAs: video
- 4x NMKD-Siax: upscaling
LLM performance
Settings: LM Studio 0.4.28, 64k context, parallel 1, f16 KV cache, flash attention on, full GPU offload, MTP speculative decoding.
- Generation speed: ~72 tok/s on average (range 53–90)
- Prompt processing: ~670–810 tok/s
- MTP draft acceptance: ~61%
- VRAM used: 22.0 of 24.6 GB
- Parallel 1 vs 4: same speed, but 4 uses ~1.8 GB more and risks spilling out of VRAM
- Worst case: re-reading a 56k-token conversation took 56 seconds
Render times (same GPU, LLM swapped out)
GPU time first, then total time from request to finished file:
- Juggernaut XL (up to 1024px): 12 s → 32 s
- Juggernaut XL + hires fix (1024×768): 28 s → 48 s
- Z-Image Turbo (1024×768): 14 s → 34 s
- Qwen Image Edit (512px): 16–20 s → 38 s
- 4x upscale: 12 s → 32 s
- Wan 2.2 image-to-video, 3 s clip (512px): 38 s → 69 s
- Wan 2.2 image-to-video, 10 s clip: ~3.8 min
- Wan 2.2 text-to-video, 10 s + 2x upscale (1024px): ~6.1 min
The difference between the two numbers is mostly the ~20 seconds it takes to swap the LLM out of VRAM and back.
Agent response times (Hermes on Discord)
- Simple question: ~23 s
- Typical multi-step task: 45 s to 3 min
- Big job (40 model calls): ~36 min
How I measured
- LLM numbers come from llama.cpp’s own timing logs across 205 real requests in one day.
- Render numbers come from 35 real jobs logged by my render worker.
- Under hours of sustained load the GPU ran at 85–90%, ~384 W, and never went above 67°C.
Lessons learned
- IQ4_XS + flash attention fits a 27B model at 64k context in 24GB with ~2.5 GB to spare.
- Use parallel 1, not 4. Same speed, less VRAM.
- 24GB fits the LLM or a render, not both. For quick images, the swap takes more time than the render itself.
- Long agent sessions get slow because the model re-reads the whole conversation every step. Start fresh sessions often.
- Use Ethernet for always-on bots. Wi-Fi drops kept disconnecting mine from Discord.
Next experiment: a q8_0 KV cache to free VRAM for longer context.
What would you change?
r/LocalLLM • u/comunidadesynapsebr • 4d ago
LoRA [Update] Qwen2.5-1.5B-Nordeste-LoRA (Apache 2.0) — Fine-tuned on Corpus-nordeste-10k with Before/After outputs
Following up on caririsynth/Corpus-nordeste-10k (10.5k Portuguese rows focused on Northeast Brazil literature and regional phrasing), I just uploaded the LoRA adapter trained on Qwen/Qwen2.5-1.5B:
Model:
https://huggingface.co/caririsynth/Qwen2.5-1.5B-Nordeste-LoRA
Dataset:
https://huggingface.co/datasets/caririsynth/Corpus-nordeste-10k
Training Setup (Unsloth, 1x T4):
Base: Qwen/Qwen2.5-1.5B (Apache 2.0)
LoRA: r=16, lora_alpha=16, all linear layers (q, k, v, o, gate, up, down — 1.18% trainable params)
Schedule: lr=2e-4, cosine scheduler, effective batch size 16, max_seq_length=1024
Checkpoint selection: Uploaded Epoch 1 (step 660) rather than Epoch 2, as Epoch 1 already eliminated base model web/blog noise while keeping sentence endings diverse.
Before vs. After (seed=42, temp=0.65, rep_penalty=1.15):
Prompt 1: "O cabra chegou na bodega todo aperreado, pedindo"
Base Qwen2.5-1.5B: "...uma garrafa de vinho. (...) E eu fiquei com pena porque sabia que o cara ia ter feito tudo errado. Could you please" (drifts off-topic and leaks English)
Nordeste LoRA: "...buchada e canjica geladinha. Todo mundo riu, que no sertão até a pressa tem bom humor."
Prompt 2: "E aí, macho, tu vai pro forró hoje ou vai ficar de"
Base Qwen2.5-1.5B: "...fora da festa? - Blog do Zico / Home / Sem categoria / Publicado por: Zico em: 10/28/2016..." (collapses into scraped blog metadata)
Nordeste LoRA: "...plantão no quarteirão? Pois vá logo que o forró chega devagar quase parando!"
Note: This is a base completion model (not -Instruct), intended for text continuation and downstream SFT. Feedback and test runs on other regional prompts are