Ask HN: Running LLMs Locally

1 points by FezzikTheGiant ↗ HN
What's the best way to build an app around local LLMs. How can I educate m myself on this?

4 comments

[ 2.8 ms ] story [ 22.1 ms ] thread
The “around” part of your question hints that you may want to see the range of options possible with LangChain. Instead, for brainstorming, I’d recommend the description of what Symbolic AI aims to support:

https://github.com/ExtensityAI/symbolicai?tab=readme-ov-file...

I think what you’ll find is that some applications are very capable locally, like Whisper.

A lot of plugins expect to work with the llama.cpp family. Nowadays, that’s HuggingFace TGI: https://huggingface.co/blog/tgi-messages-api

So your application could speak OpenAI api, and you’d run HuggingFace TGI on your hardware for testing and comparison.

How feasible would running a local gpt2 fine-tune be on m1/m2 macs. The usecase I'm building for has privacy as a pretty big need, so I need to ensure the data never leaves the user's machine.