• DJKJuicy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    1
    ·
    2 days ago

    I ran DeepSeek and Llama and Mistral at home on my consumer grade gaming PC.

    With a little tweaking of the system prompts and configuring web search, I was running a local LLM that felt pretty darn close to the commercial LLMs.

    With this technology out in the open internet where you can download the models in a few hours I don’t see how the commercial AI companies are going to last. If selling “Artificial Intelligence” subscriptions is all your company does for revenue, you’re screwed.

    I downloaded and ran an LLM that I could have a conversation with and feed basic coding problems to for basically zero dollars and ran it on my puny gaming machine…puny compared to enterprise-class hardware. It would be trivial for a company with a very moderate budget to buy some servers and start running their own LLMs that they can use to feed all the PII and HIPPA data they want.

    • brucethemoose@lemmy.world
      link
      fedilink
      English
      arrow-up
      25
      arrow-down
      1
      ·
      2 days ago

      And Llama and Mistral are ancient history at this point.

      The cutting edge of local is lightyears better now. It’s basically where ChatGPT/Anthropic were not that long ago, with a bit less world knowledge because of the size.

        • brucethemoose@lemmy.world
          link
          fedilink
          English
          arrow-up
          17
          arrow-down
          1
          ·
          2 days ago

          https://sleepingrobots.com/dreams/stop-using-ollama/

          And this is just the tip of the iceberg for ollama. They’re the same kind of scammy tech bros as OpenAI.

          The best setup depends on your hardware. There is no “easy button” unfortunately, quantized LLMs are just too intense and finicky to run without making some informed choices.

          It also depends on what you want to do with the LLM. For example, some are too slow or bad at long context for agenic use, some quantizations are great at scripts but terrible outside that, or vice versa.

          But LM Studio and Qwen 3.5 35B Q4 is probably the “easiest” flat recommendation I can make.

          Or… honestly, just pay $40 for basically unlimited usage for a year from an API, then roll your own frontend.

          • LedgeDrop@lemmy.zip
            link
            fedilink
            English
            arrow-up
            6
            ·
            2 days ago

            Or… honestly, just pay $40 for basically unlimited usage for a year from an API, then roll your own frontend.

            Can you clarify, what you mean by this? Rent a VPS? Or is there a legitimately good place that’ll offer “unlimited” llm api access for $40 / year (and would you have any sort of privacy with this)?

            • brucethemoose@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 day ago

              I was thinking of Xiaomi’s Lite coding plan:

              https://platform.xiaomimimo.com/token-plan

              My mistake, it’s $60. But that’s still dirt cheap.

              You can read their terms of service; coding APIs are generally less invasive than something like the ChatGPT app, but don’t bet on any privacy either.

              For my personal setup, I actually run most queries locally, via MiMo 2.5, but send “bulk” privacy-insensetive prompts to the same model on the API, since its so much faster. I kinda use them in parallel.

                • brucethemoose@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 day ago

                  I also forgot to emphasize this, but Xiaomi’s plan, in my opinion, is undiscovered fruit.

                  GLM had a similar coding plan, but once it got in the news and popular, it got WAY more expensive and limited. I’m grandfathered into 6 more months of a GLM plan you literally cannot buy now.

                  And I think Xiaomi is in the same situation GLM was 6+ months ago. It’s a fantastic model series, but unlike Kimi/GLM no one knows about it yet, which is how it’s still $60 for a year.

            • brucethemoose@lemmy.world
              link
              fedilink
              English
              arrow-up
              9
              ·
              edit-2
              2 days ago

              I just meant that you have to be cognizant of what went into the quantization.

              As an example, a “Q4_K_M” could be too much quantization to be usable on one model, and an inefficient waste of space on the other. Two Q4_K_Ms of the exact same model could be completely different, one totally borked. Or one particular Q4_K_M could excel in one task, but be totally useless for another, even with the exact same settings, when a slightly different sized or type of quantization would excel.

              It’s a deep rabbit hole. It’s not random either; there are distinct technical reasons behind every case mentioned above.

              And that’s not even at the cutting edge quantization anymore, though what’s “cutting edge” completely depends on your particular hardware and use case.


              I’m trying to make this sound daunting on purpose.

              Many people have really horrible experience with a default “ollama run” for this exact reason, because the defaults are terrible and the customization is critical to getting coherent, performant output.


              Unquantized LLMs, on the other hand, are basically always run the same way: vllm docker image on a big server, official weights. There’s less to “go wrong” trying to squeeze it on hardware with unofficial runtimes and compressors.

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

            Well that sucks. I was really impressed as a novice to open weight LLMs with the ease of use for Ollama on Bazzite.

            • OnfireNFS@lemmy.world
              link
              fedilink
              English
              arrow-up
              4
              ·
              2 days ago

              I’ve been running LM Studio on Bazzite and I had to do nothing to get it working. Just go to the LM Studio website and download the .appimage for Linux. If you open it with Gear Lever it will install like an app from the app store and show up in your launcher with an icon.

              From there I have just been able to download models and use them from in the app. In fact I setup a local server to connect to my IDE and have been trying out local models for coding. It’s pretty cool

                • Asafum@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  4
                  ·
                  2 days ago

                  I can also vouch for lmstudio. If you can get Hermes running on Linux I would suggest trying that as well. It connects to lm studio and you use Hermes to communicate with the model. Iook into it as there’s a lot to it, I’ve really been enjoying using it so far it even learns how I like to create tasks and I’ve stopped having to ask it to delegate certain tasks, it just knows to do it and to break down the tasks so my fairly context starved local model can handle it.

                  As for a model, the Qwen 3.6 family of models do really well. I’d suggest the Qwen 3.6 35B a3b probably Q4 depending on your hardware. It’s large, but because it’s a mixture of experts model only 3b of experts are kept on vram at any one time so it stays fast. Qwen 3.6 27b is the smarter “dense” model, but trying to stay with Q4 for quality it becomes too large for 16GB vram and for me runs at like 2 tokens per second lol

                  • brucethemoose@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    1 day ago

                    +1 for Hermes.

                    If you have a newer Nvidia GPU, you can run Qwen 27B via exllamav3 and get good quality/speed in 16GB. And it’s worth the trouble, as 27B is an amazing model.

                    If it’s AMD, yeah, a3B is a good bet, depending on how much spare CPU RAM you have.

        • Balinares@pawb.social
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 days ago

          Depends on your RAM (main + GPU), but assuming 32GB total: Qwen 3.6 35B A3B for coding support, Gemma 4 26B for general stuff. The LM Studio app curates a list of recommended models that will run well in it and makes it easy to run them.

          Mind you, what I like most about local models is their limitations, because it turns out closed models have limitations of the same nature, just with quite a bit more runway; and becoming aware of those limitations is valuable.

      • D1re_W0lf@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        Thanks for the info. I don’t follow it closely but afaik wasn’t Mistral the only western open weight model around?

    • stankmut@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      Since you mention using Ollama, you probably aren’t running actual deepseek on your pc. Ollama took a Qwen model that was finetuned using deepseek output and named it deepseek.

      Those are pretty out of date models at this point. Right now, the model most people would recommend for consumer gaming hardware is Qwen 3.6 27b.

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

        I actually tried Qwen 3.6 27B but it wouldn’t quite fit in my 6900XT so I had to go down to the 14B. I don’t have the tools or the skillset to really test the capabilities of an LLM but with some very rudimentary system prompts it felt quite natural to me. Shockingly natural considering that talking to a real LLM running on my own PC felt like it was smarter than the Majel Barrett computer on Star Trek:TNG…

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

          Oh yeah, 16 GB of VRAM is a strange spot to be in. Most of the focus goes onto the models that fit in 24 GB cards.

          Qwen 3.6 35b-a3b is pretty solid when you don’t have enough VRAM for a dense model. Most of the weights can be left in RAM and it still runs really quickly.