Tech Replace: New updates associated to Benchmarking Qwen 3.8 27B on RTX 5090 and past — VRAM capability alone cannot overcome extreme software program and inference engine bottlenecks are being carefully adopted by trade consultants and customers underneath Global News, connecting to traits throughout America News and Asia News.
The state of affairs stays dynamic with extra updates anticipated as customers comply with developments throughout America News and Europe News.
Alibaba's Qwen 3.8 27B open-weight AI mannequin got here out a few weeks in the past, and it instantly created a wave of hype amongst native AI lovers because of its spectacular intelligence benchmark outcomes for a mannequin of its measurement and capabilities.
Totaling round 17GB for four-bit quantized weights and providing built-in multimodal capabilities on high of its normal aptitude, Qwen 3.8 27B instantly grabbed the eye of everyone with an RTX 5090, RTX 4090, or RTX 3090 (in addition to a Radeon RX 7900 XTX, Radeon AI Professional R9700, or Arc Professional B70).
Have been we on the verge of frontier-level intelligence from a four-bit quant on a single graphics card? May everyone with a succesful sufficient native AI setup go and cancel their Claude or ChatGPT subscriptions?
Newest Movies FromTom's Hardware
The reply, after all, as with each open-weight AI mannequin hype cycle, is extra sophisticated than simply eyeballing the dimensions of the mannequin weights and evaluating it to your out there VRAM pool. Does the cardboard or system you are utilizing to host the mannequin have sufficient VRAM left over to supply helpful quantities of area for the mannequin's context as soon as all the things is operating? Do your host system and LLM inference engine ship acceptable time-to-first-token, in addition to excessive throughput past simply bench-racing from an empty context window?
It is one factor for those who simply need to chat with a mannequin and see what occurs; it is one other solely if you wish to put it to work, particularly as impatient brokers take the boundaries of human notion out of the image.
Chances are you'll like
We wished to see what {hardware} and software program stack Qwen 3.8 27B actually needs to be able to ship stable efficiency, so we ran it on programs starting from a desktop PC with discrete GPUs to programs with unified reminiscence architectures just like the DGX Spark, Mac Studio, and Ryzen AI Halo.
Our discrete GPU AI testbed contains the next parts:
Swipe to scroll horizontally
Tom's Hardware Native AI Testbed
Row 0 – Cell 1
CPU
Ryzen 7 9800X3D
Reminiscence
64GB (4x16GB) DDR5-5200
Motherboard
Asus TUF Gaming X670E-Plus Wifi
SSD
Corsair MP600 Professional XT 4TB
Energy provide
MSI MPG Ai1600TS
Working system
Ubuntu 26.04 LTS
The place it was attainable to take action, we examined efficiency with Qwen 3.8 27B's built-in multi-token prediction capabilities each enabled and disabled. Not all the mannequin runners we examined have been capable of help MTP throughout the quantity of VRAM out there to us on a few of our platforms. We notice the place MTP was and wasn't attainable in our evaluation of every platform, in addition to in our charts.
RTX 5090 efficiency
We began with the RTX 5090, whose 32GB of GDDR7 and 1.8 TB/s of reminiscence bandwidth would appear to make it an absolute no-brainer for getting the perfect native inference efficiency with this dense mannequin. (Combination-of-experts fashions are usually friendlier to efficiency on lower-end {hardware} just like the DGX Spark and AMD's Strix Halo, as their restricted numbers of energetic parameters imply much less knowledge motion throughout inference).
As a baseline, we adopted our ordinary native AI benchmarking strategy: seize the newest construct of llama.cpp from GitHub, construct it, seize an Unsloth quantization of the mannequin from Hugging Face, and run it. However our testing rapidly ran right into a pace bump.
What to learn subsequent
Though llama.cpp will fortunately allocate the total 262K context size with this mannequin on an RTX 5090, its processing speeds at lengthy contexts on this card are dire.
Time-to-first-token with a single 5090 stretches to roughly half-hour, suggesting that one thing is simply damaged right here. And tokens-per-second throughput drops far, far under what you'll count on for having one of many world's quickest graphics playing cards at your disposal. Regardless of the way you slice it, llama.cpp will not be the appropriate mannequin runner for this {hardware} proper now.
Subsequent, we tried vLLM, a production-grade inference engine that is extra at house within the knowledge heart than it's on the desktop, though it might probably comfortably serve in each roles—at the least in case your host system is as much as its necessities. Even with 64GB of essential reminiscence in our take a look at rig, we needed to allocate one other 64GB of swap simply to let vLLM load Qwen 3.8 27B efficiently for the primary time. A light-weight stack this isn't.
The vLLM maintainers present an NVFP4 quantization of Qwen 3.8 27B and deployment recipes for each one and two RTX 5090s. We simply so occur to have two RTX 5090s within the TH labs, so we have been capable of check out each configurations.
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
Serving Qwen 3.8 27B on one 5090 with vLLM actually works in a pinch, nevertheless it's not excellent for long-context inference as a result of the bottom recipe for it limits you to only a 32K context. To get the total 262K context, you actually desire a single card with extra reminiscence (like an RTX Professional Blackwell card with 48 or 72GB of RAM) or two 5090s, as we have been capable of take a look at.
And a single card would not have sufficient reminiscence to allow Qwen 3.8 27B's built-in multi-token prediction (MTP), which is tremendous useful in getting quicker decode efficiency from this setup. 20 tokens per second throughout the board with out MTP will not be a formidable baseline for a card of this caliber.
Get two 5090s into the image, although, and decode speeds rocket upwards for vLLM (albeit at a excessive price to prefill). 70-80 tokens per second throughout the context depth sweep is a implausible end result for a neighborhood setup, and TTFT stays pretty affordable. However we are able to go quicker.
Enabling MTP with vLLM will get us to 100-110 tokens per second on the decode aspect for under a small hit to immediate processing pace. This setup gives constant efficiency at immediate processing speeds that don't make you query whether or not one thing has gone critically incorrect. But it surely must be quick, as a result of our twin RTX 5090 platform as examined right here would at present ring in at over $13,000.
We additionally tried the SGLang inference engine on the RTX 5090 throughout comparable configurations as we did with vLLM.
SGLang is far quicker on a single 5090 for some purpose – nearly 3x quicker than vLLM's single-5090 recipe – and likewise ekes out a bit extra context (37,740) versus vLLM. However if you wish to get the total 262K that the mannequin natively helps, you continue to want a second card or a distinct one with extra VRAM.
Global News and America News .' data-inline-gallery-total-slides='2″ id='elk-c060aa3e-aaad-11f1-bb6e-5162888b379a' aria-hidden='true'>
Picture 1 of two
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
Like vLLM, SGLang helps tensor parallelism throughout a number of GPUs, so enabling dual-GPU inference is so simple as including one other launch flag. And as with vLLM, there are a variety of speculative decoding methods you'll be able to add to the recipe to boost output efficiency.
The takeaway from this primary section of testing: in case you have a single RTX 5090 and do not want long-context inference from it, you'll be able to actually get usable efficiency from one with this dense mannequin. However that you must select your mannequin runner rigorously.
And if you need the total context window, affordable immediate processing instances, and excessive throughput from Qwen 3.8 27B suddenly, you actually desire a graphics card with greater than 32GB of VRAM as a place to begin (or multiples).
RTX 3090 and RTX 4090 efficiency
With the RTX 5090's habits settled, we turned to some older client playing cards to see how they deal with Qwen 3.8 27B. The 24GB RTX 4090 and 3090 are evergreen favorites amongst native LLM followers because of their comparatively massive VRAM swimming pools and comparatively inexpensive costs on the used market, however as we have already emphasised, simply with the ability to load the mannequin weights is much from the entire image.
These playing cards can match the Q4_K_M GGUF of Qwen 3.8 27B with llama.cpp simply tremendous, however they require utilizing the Q8_0 quantization of the KV cache to suit the ends in their smaller VRAM swimming pools from the get-go, and so they additionally require limiting the context depth to effectively underneath the mannequin's 262K native restrict. We discovered {that a} context size of about 112K tokens was about probably the most we might get away with earlier than operating out of VRAM.
And in contrast to the 32GB RTX 5090, which may often get away with having the Linux desktop window supervisor operating subsequent to the LLM and its infrastructure, these GPUs want each final byte of VRAM for the AI workload and nothing else. So you actually desire a separate graphics card at hand for these two playing cards for those who're not operating a headless server, which may introduce some setup complications of its personal as you uncover how your explicit motherboard handles PCIe slot bifurcation and enumeration of the first graphics system.
When you overcome these obstacles and get Qwen 3.8 27B up and operating on these playing cards, llama.cpp reveals the identical efficiency cliff at lengthy contexts on the RTX 4090 that we noticed with the RTX 5090. However the RTX 3090 is oddly not affected. This implies a bug someplace.
We didn't have time to dig into SGLang or vLLM habits on these merchandise, however given that you just're already tight for context on an RTX 5090, we're uncertain that both of these inference engines could be an superior option to run the mannequin on these 24GB playing cards, until you're one way or the other able to roll with a number of 3090s or 4090s from previous acquisitions.
DGX Spark efficiency
Hardcore native LLM lovers will scoff on the DGX Spark's mere 27 GB/s of reminiscence bandwidth for a dense mannequin like Qwen 3.8 27B, and certainly, we have discovered that this platform is not the quickest with dense fashions in our previous testing.
However now that fashions like Qwen 3.8 27B help MTP with nothing greater than a server launch flag, you'll be able to typically get a serious free increase to the decode speeds of platforms with restricted reminiscence bandwidth.
Global News and America News . of Further insights are expected as more details emerge from the technology sector under Global News .' data-inline-gallery-total-slides='4″ id='elk-c060adb8-aaad-11f1-bbd4-adcba43cdf28″ aria-hidden='true'>
Picture 1 of 4
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
In our precise checks, the Spark's stable prefill processing efficiency means that it'll typically find yourself ending inference turns at longer context lengths effectively earlier than the RTX 5090 does with llama.cpp.
And past llama.cpp, the Spark can also be effectively supported by SGLang and vLLM, so you'll be able to reap the benefits of these inference engines in the event that they're extra to your style. Take into account additionally {that a} single Spark continues to be out there for about $5000, and it's a turnkey system that may be expanded right into a useful cluster down the road if you need. So it shouldn't be dominated out, even for serving this dense mannequin.
Apple Mac Studio with M4 Max efficiency
The M4 Max-powered Mac Studio in our labs has probably the most reminiscence bandwidth of any of the unified reminiscence programs now we have out there, however as we have described in earlier testing, that is just one metric that issues for native AI inference.
Global News.' data-inline-gallery-total-slides='4″ id='elk-c060af7a-aaad-11f1-8902-03f48c40f698″ aria-hidden='true'>
Picture 1 of 4
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
Immediate processing on this platform is slower than on Spark, so even when the Mac Studio can end up extra tokens than GB10 within the decode section, it nonetheless finally ends up spending extra time per inference flip than Nvidia's platform at longer contexts as a result of that's the place it has to spend most of its processing time.
And at the least in llama.cpp, utilizing MTP on the Mac Studio really causes a efficiency loss at shorter contexts for decode in change for a small increase at longer contexts, the place it typically results in enhancements for different platforms. This demonstrates the worth of precise benchmarking relatively than spec-racing.
Ryzen AI Halo (Strix Halo) efficiency
AMD's Ryzen AI Halo presents the worst-case efficiency state of affairs for this dense mannequin: comparatively low reminiscence bandwidth and low prompt-processing efficiency.
Global News and America News . of Further insights are expected as more details emerge from the technology sector under Global News .' data-inline-gallery-total-slides='4″ id='elk-c060b132-aaad-11f1-baaa-db9e848f1505″ aria-hidden='true'>
Picture 1 of 4
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
(Picture credit score: Tom's Hardware)
Though MTP wakes up tokens-per-second throughput a bit on this method with llama.cpp, it might probably't make up for the prolonged immediate processing instances required for longer contexts. You may actually run this mannequin if a Strix Halo is the one field you've, however we'd hunt down one thing extra succesful for those who're making an attempt to do interactive long-context work.
Backside line
Once I first got down to discover Qwen 3.8 27B's efficiency, I figured this is able to be a comparatively simple collection of checks: plug in a single graphics card, load the mannequin, get tokens, accomplished. In apply, our expertise required much more tinkering. And programs we'd have initially written off as being less than the duty of operating a dense mannequin like this proved surprisingly helpful.
Generally, breathless claims of tons of of tokens per second of throughput from an empty context window don't account for the total vary of habits one would possibly see from an LLM on a given inference setup.
For only one instance, whether or not it is all the way down to an issue with (or simply the anticipated habits of) llama.cpp or one thing else about our software program stack, the notion that you just'd need to wait as a lot as half-hour or extra for a response from Qwen 3.8 27B at lengthy context lengths on an RTX 5090 is outrageous. However for those who naively load Qwen 3.8 27B utilizing llama.cpp proper now, that is the expertise you may get.
Altering up inference engines is a pure subsequent step, however there are trade-offs with that strategy, too. You may load Qwen 3.8 27B on one 5090 utilizing vLLM or SGLang, however these inference engines are far more conservative in regards to the quantity of usable context they'll provide you with. The recipes we used solely resulted in a context window of 32K tokens on a single 5090.
To allow the total 262K context size, we needed to seize one other RTX 5090 from the TH testing arsenal, at which level we bought each nice throughput and a TTFT sweep that might be thought of interactive all the way in which out to the utmost context size from each mannequin runners. However the value of replicating such a setup would exceed $13K proper now.
You additionally would possibly count on {that a} DGX Spark and its 273 GB/s of reminiscence bandwidth would not be helpful for this dense mannequin, however the prefill pace of the Spark finally ends up being quick sufficient that the TTFT stays comparatively interactive even with a decode throughput of simply 20 or so tokens per second with MTP, and that habits holds out to the mannequin's full native context size.
The M4 Max-powered Mac Studio has loads of reminiscence bandwidth on faucet for decode, however its immediate processing pace signifies that the full time of an inference flip is dominated by that exercise on this older Apple Silicon chip. The newer M5 Max and brand-new M5 Extremely would probably carry out higher, however we didn't have these chips useful for this testing. And AMD's Ryzen AI Halo will get the worst of it, with each low immediate processing speeds and comparatively low TPS resulting from its reminiscence bandwidth.
For all this, we actually must take a step again and take into account the economics of native AI as soon as once more. $5K, $10K, or $15K or extra for native AI {hardware} is quite a bit of tokens from modern fashions at Anthropic or OpenAI (and much more from suppliers serving the current slate of Chinese language open-source fashions). So much. And if time is cash for you, barring compute constraints, these tokens will get again to you or your agent quicker than something you'll be able to run at house in need of a DGX Station with its GB300 GPU.
So until you're working with delicate knowledge that requires on-premises processing, you're an fanatic who simply needs to tinker, otherwise you're frightened in regards to the destiny of open mannequin distribution and inference extra typically for some purpose, you most likely don't must rush out and construct a field only for this mannequin.
However for those who do, bear in mind that delivered efficiency is extra than simply VRAM capability or reminiscence bandwidth, and that you just may not get the perfect efficiency out of your setup with the commonest mannequin runners like llama.cpp. Let experimentation and cautious benchmarking lead you to the perfect outcomes to your particular config.
(0)Comments