Unofficial Hacker News companion — get notified on comment replies, and more.

Ask HN: What software and hardware are you sing for self hosted LLM rigs?

38 points by NegativeLatency 2 days ago | 19 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. Any advice for people trying to learn this and break into industry, or just not worth it to learn locally, just interview and pray
    Replies (1)
    1. I don't think anything you learn from managing local hardware would be particularly marketable; that's the kind of sysadmin/IT stuff that has already been mostly deprecated by everyone moving into the cloud, with the final nails being driven by AI being able to hold your hand through almost any IT-related task. You can learn how to install Linux and setup CUDA or ROCm libraries on any computer with a GPU (even an old/small one), but that's not what people are hiring for. Nobody hires people to fuck around with Nvidia's shitty proprietary GPU drivers or their half-assed and always out-of-date Ubuntu version.

      If you want to learn about how AI works, follow Karpathy's nanoGPT/nanochat stuff (https://github.com/karpathy/nanochat) or one of the several other "build an LLM from scratch" type things (e.g. https://github.com/rasbt/LLMs-from-scratch), and have an agent walk you through making fine-tunes via LoRAs or QLoRAs or whatever.

      If you want to train actually useful models, you need to rent GPU time, anyway. Nothing you can buy right now and host at home is going to be sufficient for training useful models. The 128GB inference boxes are too slow for training, even if the model you're training/fine-tuning is small enough to fit (which is quite small), and consumer GPUs are too small. Better to spend a few bucks on GPU spot instances. Given the hardware needed to train useful models locally at a reasonable pace costs $20k or more (likely much more, that's sufficient for tiny models), you can buy a lot of GPU time.

      If you want to use models, it's far cheaper to get them via subscription from any leading provider. Use them to build an interesting large project that you can launch and put on your resume.

      I think getting a job now, more than ever, requires a portfolio. Coding interviews don't make sense anymore, because writing code is becoming rare, but proof that you can drive an AI to make something large that is useful and actually works probably still has some value (because left to their own devices, what they make is almost never useful and barely works for human users).

      Spending ten grand on hardware that can barely run models that can barely write working code seems like a foolish waste of money if you're worrying about getting a job.

      Replies (1)
      1. Well I want to learn inference engineering but I'm not sure where to get started, there's just also more interesting things you can do like tracing IOTCLs for kernel compilers and stuff like that that ur obv never gonna get on cloud comute
        Replies (1)
        1. Why not? You'll generally have direct access to the GPUs via PCIe passthrough, even if it's a VM. And, there are bare-metal GPU cloud providers, as well.

          It's your money, you can spend it however you want, but I think it's a huge waste of money to buy big hardware right now.