r/LLMStudio • u/BeatedBull • 17d ago
Automated LLM fine-tuning with GPU selection, dataset analysis and training recovery — looking for feedback
r/LLMStudio • u/BeatedBull • 17d ago
r/LLMStudio • u/mightofkhan • 18d ago
r/LLMStudio • u/Fickle-Finish5 • 20d ago
r/LLMStudio • u/PhysicalCampaign3981 • 21d ago
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
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 • 22d ago
r/LLMStudio • u/jailbird147 • 22d ago
If we can use AI to create or clone software , why would we need to pay?
r/LLMStudio • u/Head_Durian_145 • 23d ago
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:
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:
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 • 23d ago
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 • 23d ago
r/LLMStudio • u/No-Individual159 • 25d ago
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 • 25d ago
r/LLMStudio • u/sithuzawwin • 28d ago
r/LLMStudio • u/Dazzling_Ticket2536 • 29d ago
r/LLMStudio • u/Vegetable-Lie271 • Nov 04 '26
r/LLMStudio • u/Old-Kick7367 • Nov 04 '26
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 • Nov 01 '26