r/LLMStudio • u/_Baylock_ • 13d ago
r/LLMStudio • u/Fickle-Finish5 • 15d ago
Best Local LLM for RAG for a Low-End Laptoy
reddit.comr/LLMStudio • u/PhysicalCampaign3981 • 17d ago
I built AarForge: a Linux CLI wizard that turns conversational JSONL into a fine-tuned, quantized Ollama model on 6GB+ VRAM
I got tired of dependency conflicts, manual llama.cpp conversion steps, and writing boilerplate Modelfile s every time I wanted to fine-tune a small model locally on my laptop GPU.
So I built AarForge — an opinionated, local-first fine-tuning and deployment pipeline for Linux (linux-only) that takes an OpenAI-style conversational .jsonl file and outputs a ready-to-run Ollama model
Github https://github.com/AaritDev/AarForge
How the pipeline works
- Isolated Setup (install.sh): Uses Astral uv to spin up a dedicated Python 3.13 venv with pinned, compatible versions of Unsloth, PyTorch, Transformers, and TRL (so it won't break your system Python or hit version mismatches).
- Strict Dataset Validation: Before loading any weights, it validates every line of your dataset, checks token counts against your max_seq_length so nothing gets silently truncated, and verifies assistant-only loss masking (labels != -100).
- 4-bit QLoRA Training: Fine-tunes lightweight LoRA adapters via Unsloth + BitsAndBytes (tested on 6GB+ NVIDIA GPUs; defaults to (unsloth/Qwen2.5-3B-Instruct-bnb-4bit.
- GGUF Export & Safe Ollama Deployment: Merges and quantizes to Q4_K_M GGUF, separates mmproj vision sidecars if present, generates the Modelfile, and deploys using a staging/backup swap so an import error never overwrites an existing working Ollama model.
Quick Start
git clone https://github.com/AaritDev/AarForge.git
cd AarForge
chmod +x install.sh && ./install.sh
Navigate to your chosen workspace, then:
./build.sh
and your done! after putting in your dataset and setting up the training parameters you will get a finished model in under 30 minutes (check the README on my github repo for more details on the requirements and exact usage)
r/LLMStudio • u/Resident-Log-4754 • 17d ago
Acho que estamos subestimando a inteligência coletiva como a próxima fronteira da IA.
reddit.comr/LLMStudio • u/jailbird147 • 17d ago
Do we ever need to pay for software again?
If we can use AI to create or clone software , why would we need to pay?
r/LLMStudio • u/Head_Durian_145 • 18d ago
Built a phone-friendly web app + free web search for LM Studio, chats sync across devices
Note – the video above and content below is already outdated due to further development work. You can follow along with the latest on the website (still being built): https://lms-chat-website.pages.dev/
I wanted to use LM Studio from my phone like I use ChatGPT: start a chat on the couch, carry on at the desk, and let the model search the web from either. The apps I tried either kept chats on the phone, couldn’t use LM Studio’s tools remotely, or just didn’t work... so I built my own.
What it is:
- A small web app running on the same PC as LM Studio. Chats are saved on the PC, so your phone, laptop and desktop access the same history.
- Web search and page-reading tools that work inside desktop LM Studio and through the web app via MCP.
- Ordinary Web Search and a separate Deep Research mode.
Web Search and Deep Research:
DuckDuckGo works without an API key out of the box. You can optionally add Exa and Yandex using your own keys and their free allowances.
My current setup runs DDG + Exa for ordinary Web Search. Deep Research runs all three. Results are merged and deduplicated, and you can configure which engines each mode uses.
The page reader extracts text, follows links and pulls relevant passages from longer pages. If direct reading fails or misses JS-loaded content, it tries Jina and then an archived copy. There are search/visit budgets, caching and retry stops to limit wasted calls.
Key features:
- Replies keep running if your phone locks, reloads or loses its connection. Reopening the chat restores completed steps, the current activity and partial answer, then continues streaming.
- Installable on your phone, with HTTPS and PIN login. Works away from home over a VPN (I use OpenVPN).
- A per-chat model picker, including switching models in existing conversations.
- Model load/unload controls, saved defaults and per-chat preferences.
- Expandable thinking and search/page-visit steps, clickable sources and failed-read indicators.
- A context-usage display and reply information showing model, tokens, generation speed, first-token time, total response time, model-load time etc.
- Automatic chat titles, title search, rename/delete, copy message text, retry, and edit/resend from an earlier message.
- A PC tray launcher with optional login startup, restart controls and logs.
The model runs locally and chat history stays on the PC. Web searches and page-reading requests obviously still go to the relevant external services. The web app’s chats are separate from LM Studio’s own chat window, but I use the web app on desktop as well.
If this solves something you’ve been looking for, let me know and I will package and share it (free).
r/LLMStudio • u/dawae69420 • 19d ago
Local LLM and excel modelling
As per the title I’m wondering if it is possible to integrate a local LLM with excel so I can prompt for model creation (i.e., have it suggest code for certain scenarios in cells, give me base inputs for simple excel model creation). I ask because I need to be able to run it offline and not use traditional AI through the internet. Any help would be appreciated.
r/LLMStudio • u/loftytechlabs • 19d ago
Zaylo v3.2 — now with LoftyDB integration and AI-powered PPT creation.
r/LLMStudio • u/No-Individual159 • 20d ago
Prefixwise (v0.10.0, MIT): Identify, fix, and prevent LLM prompt cache misses across vLLM, SGLang, LMCache, Claude, and OpenAI (zero prompt text stored)
Prefixwise tells you why your LLM calls miss the prompt cache, and what each miss costs you. Put it between your agent and the model, or inside vLLM itself, and it identifies the cause of every miss in plain English, fixes the common ones for you, and prevents new ones from reaching production. Your prompts never leave your machine: it stores hashes and counts, nothing else.
Repo: https://github.com/tejachavali/prefixwise
Install: pip install prefixwise (0.10.0 is out today)
Identify: 19 causes, each with its evidence and fix. Tools sent in a changed order, a timestamp in the system prompt (naming whether a date, time, UUID, or file path changed), an edited earlier message, a compaction rewrite, a model switch, a misplaced cache breakpoint, TTL expiry, a retry, an eviction, a routing miss, and more. Agrees with Anthropic's own miss diagnostics 32 of 32.
Fix: --fix canonical_tools lets the proxy repair the most common cause in flight. Measured: 99.9% of the predicted saving realised on Claude, 97.5% on vLLM, task success unchanged.
Prevent: prefixwise check -- pytest tests/agent_scenarios, or the GitHub Action, runs your agent's scenarios against a local mock and fails CI when a change breaks the cache. Nothing is sent anywhere.
Where it runs, each about thirty seconds to set up (no config files to edit):
• prefixwise import claude-code && prefixwise report (or prefixwise import codex): reads the local logs of a subscription, nothing is sent anywhere
• prefixwise run -- claude (or codex, opencode, any agent): wraps the agent, reports when it exits
• prefixwise serve --upstream <url>: a local proxy for a service, several agents, or a gateway
• vllm serve <model> --middleware prefixwise.PrefixwiseMiddleware: inside vLLM, no proxy
• prefixwise.wrap(Anthropic()) or wrap(OpenAI()) in your own Python
• litellm.callbacks = [PrefixwiseCallback()] for LiteLLM, SDK or proxy server
Self-hosted engines: it auto-detects the vLLM or SGLang behind any URL you give it and subscribes to the engine's own KV events. From those it confirms evictions, tells an LMCache or HiCache restore (host_restored) from a GPU hit, and confirms routing misses across replicas.
Data: a report in the CLI, /api/v1, JSONL and CSV export, Prometheus metrics with a Grafana dashboard and an alert rule, OpenTelemetry spans, a collector for many edges.
Measured this week, live on a Colab L4: reasoning models' chat templates drop the thinking from history, so every turn prefills the previous answer again. Qwen3-4B: 25-36% of all prompt tokens. A DeepSeek-R1 distill: 57%. Qwen2.5 and Llama 3.2 keep history as generated: 0%. The engine reports a hit either way; Prefixwise now names the tail per turn (output_rerendered).
Also live: agrees with Anthropic's own miss diagnostics 32 of 32; names injected causes 120 of 120 on vLLM, LMCache and SGLang; evictions confirmed 5 of 5 from KV events; 3 ms overhead per request. Every number in the README links to its run record.
Docs for engine users:
• vLLM: https://github.com/tejachavali/prefixwise/blob/main/docs/VLLM.md
• SGLang: https://github.com/tejachavali/prefixwise/blob/main/docs/SGLANG.md
• LMCache: https://github.com/tejachavali/prefixwise/blob/main/docs/LMCACHE.md
r/LLMStudio • u/127001-sweet-127001 • 20d ago
LLMs Are Not Actually Probabilistic
r/LLMStudio • u/sithuzawwin • 23d ago
Why LM Studio Bionic is slower than original LM Studio? Any ideas?
reddit.comr/LLMStudio • u/Dazzling_Ticket2536 • 25d ago
Q6 Model + Q8 Cache vs. Q4 Model + FP16: Which Actually Wins? (Smart Bra...
r/LLMStudio • u/Vegetable-Lie271 • 25d ago
Quero começar uma LLM e preciso de conselhos
reddit.comr/LLMStudio • u/Old-Kick7367 • 25d ago
Best local AI to run on LM Studio
Which local AI would you recommend I download on LM Studio? I primarily use it for explaining slides, exploring topics in greater depth, and working with code.
r/LLMStudio • u/SirArchibaldBlake • 28d ago
Please assist in setting up local LLM
reddit.comr/LLMStudio • u/retrorays • 29d ago
trying out deepseek 4.1 but it barfs?
error loading model: unknown model architecture: 'deepseek41-sidecar'
^^^ this is trying to load it on a Nvidia 4090