MHN

Ask HN: Anyone running AI locally? Mind to share your experience?

7 points by skwee357·671 days ago·Show in HN

It's pretty clear that AI is here to stay. However, as more models are being released, we can very well assume that they will collect every bit of information about us as possible. This is why I'm avoiding using AI for very sensitive information like analyzing financial statements or medical records, and I try to be mindful to never open `.env` file in an AI enabled neovim buffer in order to avoid leaking credentials.

Having said that, it would be nice to run local AI models in order to be able to use them for sensitive information, or fine tune them for my use cases without worrying of data leak.

Is anyone here on HN running models locally? What hardware do you recommend getting (I prefer to get a dedicated machine, as it can also be used as a homelab/home server, so no macbook/mac mini recommendations please)? Is it worth it in terms of costs? Would you recommend owning the hardware/renting it/or colocating your hardware in a datacenter?

Add a comment on Hacker News →
1 of 5 comments
  1. Renting could be a good choice to get started. I used to rent a g4dn.xlarge instance from AWS (for Stable Diffusion, not LLMs). More affordable options are Runpod and Vast.ai.

    I started with a local system using llama.cpp on CPU alone and for short questions and answers it was OK for me. Because (in 2023) I didn't know if LLMs would be any good, I chose cheap components https://news.ycombinator.com/item?id=40267208.

    Since AWS was getting pretty expensive, I also bought an RTX 3060(16GB), an extra 16GB RAM (for a total of 32GB) and a superfast 1TB M.2 SSD. The total cost of the components was around €620.

    Here are some basic LLM performance numbers for my system:

    https://news.ycombinator.com/item?id=41845936

    https://news.ycombinator.com/item?id=42843313