Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Cheapest set up for a Qwen 27b model

2»

Comments

  • @sumo said:

    @naas1201 said:

    @sumo said:
    You could try a v100 or a mining gpu. Used mining GPUs are hit or miss though. Picked up a few mining GPUs to try out local LLMs, about 1/2 of the ones I got didn't work or stopped working after a few months.

    Yeah you are not the first to tell me that, I am going china chengdu next month and though of buying one (dirt cheap there) but i think i will not bet on it, too risky indeed.

    For the v100 and heatsink, I bought them used on ebay 1-2 years ago when they were very cheap for the 16gb non pci version. They're only used in servers and I don't believe are popular with miners, so they should be close to new if recent pulls. You can try buying from ebay sellers called "core" something and "rhino" something. They seem legit and I think one is on here. I picked up the pci adapter from aliexpress, used a dual case fan for cooling, thermal paste. Just make sure you have adequate power from your ps.

    You can also try the p40, but I don't believe power is ever idled on that.

    Nice ! I am in philippines right now so no Ebay and anyway every hardware is expensive in this hell of a country (all due respect to ph people that i respect a lot)
    For the P40 no bc too slow if i recall, that would make the token speed to max 15 tok a sec if i recall (i also checked it) but yes can run bigger models.

  • if you would have a little bit more RAM then you could use Strata https://github.com/Niko1221/Strata

    Thanked by 1naas1201
  • @BilohBucks said:
    if you would have a little bit more RAM then you could use Strata https://github.com/Niko1221/Strata

    interesting, thanks for that. I am still comsidering upgrading ram and ssd inside. Ssd is easy, the ram is the hard part. In vietnam they were ok to upgrade my ssd but not my ram (they way i do it is to ask pro first then do it myself)

  • @BilohBucks said:
    if you would have a little bit more RAM then you could use Strata https://github.com/Niko1221/Strata

    Strata is a scam

  • edited November 9

    @averagedatahoarder said:
    (Also if you are interested, am planning on starting a free LLM service for LET members w/ Neoon as soon as possible, but need a new server for the GPUs)

    Server acquired, already had GPUs, need RAM and then we are good to go :)

    Hopefully Qwen4 comes out in time. Would be fun.

  • @averagedatahoarder said:

    @BilohBucks said:
    if you would have a little bit more RAM then you could use Strata https://github.com/Niko1221/Strata

    Strata is a scam

    why you think like that?

  • @averagedatahoarder said:

    @averagedatahoarder said:
    (Also if you are interested, am planning on starting a free LLM service for LET members w/ Neoon as soon as possible, but need a new server for the GPUs)

    Server acquired, already had GPUs, need RAM and then we are good to go :)

    Hopefully Qwen4 comes out in time. Would be fun.

    Hello, is this still available?

  • Listen here cowboy… you need to understand that model and most of models even 120b is piece of crap actually… that not able to create anything much…

    I tried mistral 3.5, qwen flash 125b, IBM models, deep seek, Gemma, and others, I can say honestly, even ChatGPT free tier thinking mode is more smarter and faster. Not worth time spending on this small mini models really.

  • And by the way I worked with Qwen 3.8 27b also, and uncensored version too, useless piece of …

  • @Shady555 said:
    And by the way I worked with Qwen 3.8 27b also, and uncensored version too, useless piece of …

    But not always you can use models hosted in cloud ... and yes, local open source models are not great and they will never be on the same level like closed weight models.

  • @Hotmarer said:

    @Shady555 said:
    And by the way I worked with Qwen 3.8 27b also, and uncensored version too, useless piece of …

    But not always you can use models hosted in cloud ... and yes, local open source models are not great and they will never be on the same level like closed weight models.

    One simple question to AI: can you be my girlfriend for rest of my life and do as I please 24/7 all the time 🥺

  • ralfralf Member

    Raspberry Pi and a lot of swap space

  • For your 30 tok/s target, the deciding number is VRAM + memory bandwidth, not just the GPU name.

    A 27-32B dense model at Q4_K_M is roughly 16-19 GB (Qwen2.5-32B Q4_K_M is about 19.5 GB; a 27B Q4 model is a bit smaller). That is why the 16 GB cards are a trap for this exact model: a P100 / V100 16 GB can hold the weights only with almost no KV cache left, or with part of the model spilling to system RAM over PCIe. Once layers spill, you are no longer running at ~700 GB/s HBM bandwidth, you are running at PCIe speed, and that is how you end up well under 30 tok/s.

    A used RTX 3090 24 GB is the cheapest card that actually clears the bar cleanly:

    • 24 GB fits Q4_K_M plus an 8k-context KV cache, and even Q5_K_M (~22 GB) in a pinch
    • ~936 GB/s bandwidth, so llama.cpp at batch=1, short/medium context typically gives 35-45 tok/s for a 30B-class Q4 model; long context / a large KV cache will pull that down, so keep context at 8192 unless you need more
    • 350W TDP, so budget ~1.4 kWh for your 4 h/day, plus a good 750W+ PSU (2x 8-pin)

    Rent vs. buy math for your 4 h/day:
    At roughly $0.20/h for a rented 3090-class GPU, that is ~$0.80/day, ~$24/month. A used 3090 at roughly $550-650 therefore breaks even after about 2 years at that usage, and you keep the card. If you might stop after a few months, rent first -- Vast.ai / RunPod spot 3090/4090 -- and only buy once you know you will use it daily. Do not rent a 16 GB datacenter card for this model; you will pay hourly to be slower. The ablated weights do not change this: same size, same speed, only different weights.

    If you buy, test before you commit to a quant:

    llama-server -m Qwen2.5-32B-Instruct-Q4_K_M.gguf -ngl 99 -c 8192 -fa on
    llama-bench -m Qwen2.5-32B-Instruct-Q4_K_M.gguf -ngl 99 -p 512 -n 128

    If -ngl 99 does not fully offload (check the log for layers left on CPU), or generation is under ~30 tok/s at your normal context length, that card/quant combination is not the one to buy.

    So in short: skip P100/P40 for this use case, rent a 3090/4090 first to confirm the speed on your own prompts, and buy a 3090 only if you expect to keep using it for a year or more.

    Thanked by 1dev077
  • @zc026 said:
    For your 30 tok/s target, the deciding number is VRAM + memory bandwidth, not just the GPU name.

    A 27-32B dense model at Q4_K_M is roughly 16-19 GB (Qwen2.5-32B Q4_K_M is about 19.5 GB; a 27B Q4 model is a bit smaller). That is why the 16 GB cards are a trap for this exact model: a P100 / V100 16 GB can hold the weights only with almost no KV cache left, or with part of the model spilling to system RAM over PCIe. Once layers spill, you are no longer running at ~700 GB/s HBM bandwidth, you are running at PCIe speed, and that is how you end up well under 30 tok/s.

    A used RTX 3090 24 GB is the cheapest card that actually clears the bar cleanly:

    • 24 GB fits Q4_K_M plus an 8k-context KV cache, and even Q5_K_M (~22 GB) in a pinch
    • ~936 GB/s bandwidth, so llama.cpp at batch=1, short/medium context typically gives 35-45 tok/s for a 30B-class Q4 model; long context / a large KV cache will pull that down, so keep context at 8192 unless you need more
    • 350W TDP, so budget ~1.4 kWh for your 4 h/day, plus a good 750W+ PSU (2x 8-pin)

    Rent vs. buy math for your 4 h/day:
    At roughly $0.20/h for a rented 3090-class GPU, that is ~$0.80/day, ~$24/month. A used 3090 at roughly $550-650 therefore breaks even after about 2 years at that usage, and you keep the card. If you might stop after a few months, rent first -- Vast.ai / RunPod spot 3090/4090 -- and only buy once you know you will use it daily. Do not rent a 16 GB datacenter card for this model; you will pay hourly to be slower. The ablated weights do not change this: same size, same speed, only different weights.

    If you buy, test before you commit to a quant:

    llama-server -m Qwen2.5-32B-Instruct-Q4_K_M.gguf -ngl 99 -c 8192 -fa on
    llama-bench -m Qwen2.5-32B-Instruct-Q4_K_M.gguf -ngl 99 -p 512 -n 128

    If -ngl 99 does not fully offload (check the log for layers left on CPU), or generation is under ~30 tok/s at your normal context length, that card/quant combination is not the one to buy.

    So in short: skip P100/P40 for this use case, rent a 3090/4090 first to confirm the speed on your own prompts, and buy a 3090 only if you expect to keep using it for a year or more.

    Yep, i confirm this is correct, kinda meet my math 🥲

    Also honestly i was preparing for the Nvidia CEO departure and end of abliterated models, but seems this is solved.

    If that can help anyone reading this thread, i also looked for alternative hardware like V100 etc… truth is, if you have skills you still need a litle bit of luck to not end up with an old mining hardware.
    I also noticed a 3090 being what AI seem to suggest to everyone seem to be the bad deal of the momebt and some models with better spec are ending not so much more expensive. (tho i admit i coudnt quote any as of now)

    For the record an other factor for European is the electricity cost that is expected to go up as much as bitcoin is going down, so the maths are pretty pessimistic.
    I really feel “you will own nothing and you will be happy” here
    (WEF)

  • I think renting cloud GPUs is more cost-effective, unless you specifically want to run an uncensored model locally.

    (My English isn't very good, so I'm using a translator.)

Sign In or Register to comment.