Do you host your own ML / AI / LLM? What do you use, and what do you use it for?

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

    I’ll check that out - speed isn’t my biggest issue so much as coding performance… The qwen 3.5 model I was using can write code, but it’s… Meh? Like sometimes it doesn’t even compile.

    I did try tweaking llama.cpp to do some cpu offloading and it does seem to allow for much larger contexts at a modest performance loss. I’ll check out larger models.

    • Terrasque@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Try qwen3.6-35b-a3b with a lightweight harness like pi.dev

      Having it be able to run commands and try to compile or run the code and see the output helps especially on the “doesn’t compile” part of things

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

      CPU offloading is too slow unless you use a hybrid MoE model, with the --n-cpu-moe parameter, specifically.

      This only offloads “sparse” parts of the model to the CPU, which take up a lot of RAM but are very compute-lite to run. In practice, thats most of the size of modern MoE LLMs.

      • robber@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Since implementation of the --fit parameter and its relatives, and --fit on becoming the default, llama.cpp intelligently decides what to offload. For me, it made --n-cpu-moe obsolete.

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

          Mostly, yeah.

          Sometimes it’s better to “cut it close,” with (for instance) a 27B model that’s nearly OOMing your VRAM fully offloaded, but you know will be fine in regular use without too many programs open.

          In my case, with MiMo 2.5, it fills both my CPU and GPU RAM rather completely, so it’s best to set a static value so I don’t swap CPU RAM, and don’t OOM on the GPU either.

          • robber@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            You can control how much context should be fitted with --fit-ctx and how much space the algorithm should leave unallocated (even on a per-GPU basis) with --fit-target.