Recently made a post about the 35b MOE. Now the dense 27b variant has been released.


  • venusaur@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    11 days ago

    Can I get a recommendation for idiots guide to running this model locally and what kinds of expectations with the recommended setup/s?

    I presume I need at least a 24GB GPU? Can I trust buying a used one or should buy new?

    What about GPU rental/cloud services?

    Do I run it through terminal or it has a UI?

    Does it have all the same features and ease of use as public LLM’s like Claude and ChatGPT including MCP?

    What else should I know?

    Tons of questions. Where can I learn this stuff without breaking the bank?

    Thanks!

    • Rookeh@startrek.website
      link
      fedilink
      English
      arrow-up
      18
      ·
      11 days ago

      There’s a lot to cover here but I’ll try to touch on each point:

      The key requirement is fast memory that can be addressed by your GPU, and ideally a lot of it - hence the insane cost of this hardware right now.

      Remember that you need space for the model’s weights (think of this as its ‘knowledge base’) and the context window, which is basically the data needed for the LLM to keep track of your current conversation with it (effectively its short term memory).

      With smaller pools of VRAM (8-16gb) you will have to compromise and either have a more capable model that will lose context quickly and start hallucinating, or a less capable model that can maintain a session for a bit longer but overall less ‘smart’.

      For software - there are a couple of options for running the LLM itself, Llama.cpp is one of the more popular tools and is the one that I use. It has a web UI with the usual chat interface, and also exposes an API that you can plug other tools (e.g. opencode) into, depending on your use case.

      In terms of hardware recommendations, at 20GB+ of VRAM you do have a bit more headroom compared to more consumer grade GPUs, but to be honest the most cost effective way to get a shitload of VRAM is likely not with a dedicated GPU but actually using a system based around a recent APU.

      I got a Minisforum MS-S1 last year for exactly this purpose. It is based on AMD’s Strix Halo platform which it has in common with the Framework Desktop and a couple of other similar devices.

      It has 128gb of unified RAM which can be divided between the GPU and CPU however you like, so plenty of capacity for even fairly chunky models. It also uses a tiny amount of power compared to a more traditional system with a dedicated GPU, while also giving really reasonable performance for most AI workloads, more than enough for use in a homelab.

      For cloud rental - doable, but pricing is a factor, and of course this will not actually be running locally.

      Usability - manage your expectations, but overall for a lot of use cases and of course depending on the model that you are running and the resources you throw at it, it can be comparable with especially older iterations of ChatGPT, Gemini etc.

      But remember, you are not a Google or an Anthropic and do not have an infinite pool of compute to throw at your model, nor do you have access to the specific models they are using.

      • venusaur@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 days ago

        Thank you!!! This is awesome!

        When using llama.cpp, does it pass your prompts through a web server to process? Any privacy concerns?

        Sounds like I’m looking at a few grand to run something decent. I’ll need to do more research before I commit to that big of a purchase, but your machine sounds nice!

        Are there any small models you recommend that can run on 16GB DDR4 and an i7? No dedicated graphics card with separate VRAM. Maybe I’ll just experiment with something v small first.

        Thanks again!

          • venusaur@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            10 days ago

            Thanks. I don’t understand web UI enough. Thought it had to be hosted somewhere. I’ll try it out.

            I just want to use it for general web search, data processing and maybe some light automation. In the beginning I just wanna understand how it all works and how to set it up so small model is fine.

      • venusaur@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 days ago

        Thanks! I’m experimenting with my laptop with 16GB RAM and no GPU/VRAM. I installed llama.cpp and am testing Gemma 7b Q5 but it’s not answering prompts correctly. It’s analyzing the prompt and not answering the question, or it gives me a poem haha. Trying to figure it out.

        Any lightweight model you recommend for just chat experimenting for now? Can they connect to the internet?

    • Abrinoxus@thelemmy.club
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 days ago

      Koboldcpp is an easy way to get into running local llm:s they have executables for linux, mac, windows on their github and a simple gui to load a model

  • Rando@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    Excited to try it, 3.5 was great. i am going to wait for llama.cpp to get some updates before I try it though