I have purchased an M2 to PCIe adapter and connected an additional GPU (an old RTX 6000, turing, 24gb VRAM) to my setup. This allowed me to run qwen 3.8 27B at Q8_K_XL (UD) instead of Q6_K_M.

I am doing some image transcription tasks (writing down old handwritten cursive letters) and the different is vastly HUGE.

With Q6 it would barely decyper the letters, then i had to manually recheck everything. With Q8, wow, it’s almost flawless…

Using llama.cpp, with caches quantized to k8 and 200k context window. Using a subagent to to the hard work, and having the main agent just supervise. In serie, since i can run only one qwen instance at the same time anyway. I have NCCL enabled as well, which gave me a nice bump in prefill.

Setup is (all three on CPU bound PCIe lanes) two RTX A4000 (Ampere) 16+16GB VRAM on a PCIe bifurcator (16x -> 8x+8x) and the RTX 6000 (turing) 24GB VRAM on an M2 -> PCIe 4x slot. Everything at PCI 3.0, since 4.0 is unstable on the bifurcator.

Musing if i should add another RTX A4000 on my chipset bound PCIe lanes… I am worried i will lose NCCL by doing that…

Prefill is between 300 and 600 t/s, generation is around 30-40 t/s with tensor split and some massaging batch sizes.

I keep all three GPUs capped at 100W (100+100+100 = 300W) to save on electric bill… (could go up to 140+140+260 = 540W, but the t/s gain is minimal)

Now, the fun part is how the fuck to fit everything somehow… Will try to have some fun with alluminum parts i have. And fuck cables… Long ones have signal issues, and short ones leave you with no headroom for placement…

  • MalReynolds@aussie.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    Will just point out there are specialized models for OCR that would be less resource intensive. Also multiple agents batching can be more efficient usage of an instantiated model.

    Still, I expect you’re having fun with hardware, and project ambition rises to use all available hardware pretty naturally. Enjoy.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      OCR models seems to work mostly on printed text. Handwriting is… Wonky. In my (little) testing, Qwen 3.8 fares better than OCR models in this use case.

      I am using one subagent, to split contest or each image do weight too much. Only one agent because I can only run one at time anyway…

      If I where to find out how to run multiple on the same hardware…

  • Shatur@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    Surprised to hear about the big difference between Q8 and Q6. Some GGUF makers (like bartowski) even recommend Q6 (but I also use Unsloth quants, they even recently released 3.1).

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I might have overestimated the gain, and surely my Q8 is freshly downloaded while the Q6 is oldish… Both UD.

      But there is a visible difference in image to text over handwriting recognition!

      • Shatur@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        It’s strange because the multimodal projector doesn’t depend on the model weights. It’s downloaded separately as a BF16 file.

            • Shimitar@downonthestreet.euOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              13 hours ago

              Ah, yes, understood …

              The difference is in how the model elaborate the overall images, like detecting areas which are “background” or noise, not actual writings. Side writings, signatures, and so on.

              It’s aneddotical, but once for example Q6 insisted in parsing two columns of text in the wrong order, where Q8 immediately understood the right order.

              Actual letters and words detection also seems to be heavily affected by overall text detection, means when the model get the meaning, also can improve detection. in this case is the post recognition analysis that catches errors and fix them

              • Shatur@discuss.tchncs.de
                link
                fedilink
                English
                arrow-up
                1
                ·
                12 hours ago

                I believe you when you say you noticed a difference 🙂 I just think it might be related to other factors, like your inference engine update, drivers, or even the model configuration. You mentioned that you tried Q6 a while ago, so other things might have changed since then.

                I’m not saying it’s impossible for Q8 to outperform Q6, but the difference between them is usually unnoticeable in practice.

                I’d suggest retesting Q6, but since you can run Q8 and don’t need the extra VRAM, I don’t see a reason to bother 🙂

                • Shimitar@downonthestreet.euOP
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  12 hours ago

                  Well VRAM is never enough :)

                  Surely I can use more :)

                  Parallel slots more context, a second model …

                  So I will test the Q6 again, maybe downloading a newer file for it …

                  Most probably you are right anyway. I upgraded adding the third GPU with 24gb VRAM and decided to fill it up. Moving the mmproj in vram is nice, and also have both ComfyUI and llamacpp loaded at the same time is.

                  I was hoping to increase my context enough to have parallel = 2 but not on Q8…

                  And i don’t have enough vram anyway to run a decently quantized bigger model anyway.

  • CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    I dont have any answers for you, but I’m also curious as I am adding another p100 to my setup. I run my current card on a x4 thunderbolt dock, and the performance so far is fine.

    I’m probably gonna have to build an actual case/setup for it as well.

    • Shimitar@downonthestreet.euOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Maybe if i come around in building something for my setup will share photos in a new post. It’s already a custom (wooden) case with an ATX metal stand mounted inside. I need to build a second layer but maybe with alluminum struts this time (i have some floating)