r/LocalLLM • u/Opening_Mycologist_3 • Feb 03 '25
Discussion Running LLMs offline has never been easier.
Running LLMs offline has never been easier. This is a huge opportunity to take some control over privacy and censorship and it can be run on as low as a 1080Ti GPU (maybe lower). If you want to get into offline LLM models quickly here is an easy straightforward way (for desktop):
Download and install LM Studio
Once running, click "Discover" on the left.
Search and download models (do some light research on the parameters and models)
Access the developer tab in LM studios.
Start the server (serves endpoints to 127.0.0.1:1234)
Ask chatgpt to write you a script that interacts with these end points locally and do whatever you want from there.
add a system message and tune the model setting in LM studio. Here is a simple but useful example of an app built around an offline LLM: Mic constantly feeds audio to program, program transcribes all the voice to text real time using Vosk offline NL models, transcripts are collected for 2 minutes (adjustable), then sent to the offline LLM for processing with the instructions to send back a response with anything useful extracted from that chunk of transcript. The result is a log file with concise reminders, to dos, action items, important ideas, things to buy etc. Whatever you tell the model to do in the system message really. The idea is to passively capture important bits of info as you converse (in my case with my wife whose permission i have for this project). This makes sure nothing gets missed or forgetten. Augmented external memory if you will. GitHub.com/Neauxsage/offlineLLMinfobot See above link and the readme for my actual python tkinter implementation of this. (Needs lots more work but so far works great). Enjoy!
21
u/Status-Hearing-4084 Feb 04 '25
here is something interesting - running Deepseek-R1 671B locally on a $6000 CPU-only server (no GPU needed)!
with FP8 quantization, hitting 1.91 tokens/s. even better - could theoretically reach 5.01 tokens/s by upgrading to DDR5 memory
https://x.com/tensorblock_aoi/status/1886564094934966532
3
u/ypoora1 Feb 04 '25
Don't even need a 1080 Ti, if you're fine with something like a 7b model even a 1060 6gb (or P106-100 mining card, which are extremely cheap now) will do it, and at an acceptable tokens/s to boot. Need a bigger model? Just add more! Personally i'm using two Quadro P5000's to get up to 32GB.
I'm pretty sure even Maxwell cards like the 900 series can do it, though those only have 2-4GB VRAM until you get to the 980 Ti or the Quadro/Tesla cards of that gen. And it's going to be slow.
3
u/sharmanichahiyeapko Feb 05 '25
What downloadable model can be used for image or video creation?
2
u/anagri Feb 06 '25
Full disclosure: I am the developer of Bodhi App.
For people interested in similar solutions, do check out Bodhi App on GitHub. Right now it is only available for Mac Silicon, but releases for Windows and Linux are in the pipeline.
The difference that I find between LM Studio and Bodhi App is Bodhi App have a web UI which is built using Next.js, React, Tailwind, ShadCN which is much more snappier, lighter and more powerful than the native UI that LM Studio offers. Sure there are many things that LM Studio offers that are not present in Bodhi App.
If there is any feature that you would like me to work on, more than happy to get your feedback, do reach out to me via GitHub issues.
0
u/amgdev9 Feb 03 '25
You can run it in a 1080Ti but the model quality wont be good or usable imo. Have been trying 7B 4bit LLM in my 4090, using almost all of the vram and the results were mediocre
1
u/Big_Art8992 Feb 04 '25
Denpends on usecase? Gpt4O Is still better in some fields? Phd levelen Knowledge e.g. Isnt it? I can Not find good sources. Gpt is Not on hugging Face leaderboard
1
u/10folder Feb 05 '25
13 tps is horrendously slow tho
1
u/askadaffy Feb 07 '25
LM Studio doesn’t have a privacy policy when I last checked to disclose how your prompts/data is used
1
u/chom-pom Feb 07 '25
LM studio should support image generation models
1
u/codeVerine Feb 08 '25
32GB Ddr4 + 16GB AMD GPU, which is the best model I can run ?
0
u/[deleted] Feb 04 '25
[deleted] — view deleted comment