Sorry if this is a naive question, bit short on time to investigate myself atm.
Does this Desktop edition handle custom nodes and the install of such in a sandboxed manner?
I normally wouldn't care as much about sandboxing a desktop app, but custom nodes are a big part of ComfyUI yet also a bit of a security risk given the audience being a prime target for malware or similar attacks (that have happened in the past).
If you use AI agents to write code, the harness typically runs the agent sandboxed by default. Is that the case with the desktop app? Or can a custom node run whatever python and do anything the user could on their system?
Unrelated to ComfyUI specifically, but there was an event years ago by a popular nodejs package maintainer that published an update that via semver without a lock file slipped in to installs easily enough, and that added code to check the IP for the system installed on, and if it was a geo IP associated to Russia, it output some protest text and proceeded to delete whatever it could on the filesystem, all in a pre-install hook I think during package install rather than runtime use.
I think with the popularity of AI, supply chain attacks and other threats these days are something to be more cautious about. I assume that no this isn't something the desktop offering sandboxes to protect the user, as it's a tad tricky with GPU access involved, so perhaps ComfyUI defers any concerned users to use their Comfy Cloud instead?
Is there any official OSS server deployment of ComfyUI? Not the Comfy Cloud, but more of an officially supported way to deploy to a variety of providers?
Containers are good for this but efforts to do such have been shut down repeatedly by the comfy org.
I get that it wouldn't be ideal with wanting to have users of Comfy Desktop prefer the official Comfy Cloud solution, but it'd be nice if there was a trustworthy / endorsed OSS solution for the community to build around.
Even the official ComfyUI project doesn't have a proper lock file, deferring to requirements.txt only instead of pyproject.toml + uv.lock/pylock.toml? At least with a container image, which could be officially part of the release process on github with GHCR publishing, there would be a counterpart to the desktop install?
I could be mistaken and perhaps the portable install is intended for deploying to servers, I'd assume it's lacking vs a container though ๐
Granted, I assume it's similar to WSL2 support, as an official container image that is designed well and works nicely across various engines / orchestrators and hardware vendors is not an easy feat for a project like ComfyUI (GPU support with Python alone is one issue that's slowly improving, added complexity that certain container deployment environments introduce is another), but I don't think that it was ever raised as a lack of expertise or resources to confidently develop and maintain (AI assistance tends to fumble pretty hard at this task).
Does it have to be qwen? Gemma 4 E4B is a 4B model that's a little different in architecture so it is compared more to 8B class models IIRC, similar size at 4-bit as the model embeds a bunch of extra per layer embeddings or something. It is faster at inference but I don't know how well it'd be at tool calling.
You could use vast.ai / runpod or similar if you only temporarily need access to more capable hardware. Depending how much time you need to use that hardware for it may be affordable?
That prose reads so much better than many other projects or comments I see that use Claude to write README docs or PR description, is it specific to Sonnet?
Why would it be weird? What do you think the tradeoff is with quantization? If a model was trained with QAT like Gemma models are you'll get better Q4 quality from post quantization at least. Quantized KV cache can likewise affect the results.
AMD doesn't offer SR-IOV on consumer hardware right?
There's native context for Linux hosts and guests to do similar but last I heard that wasn't merged upstream into mesa yet, and it conflicted with GPU compute so AMD wants to pursue a different approach and it's unclear if they'll get that upstreamed vs a stale fork ๐
With the OSS efforts going on lately related to nvidia it may also be possible to do the same with native context there too.
Personally I just want enough 3D HW accel perf to support video decoding and compositer use in a guest as opposed to the CPU rendering, but the tradeoff is a loss of live session snapshot save/restore support.
VMware actually pulls off that functionality but is riddled with other bugs that despite reports don't seem to get resolved. I guess it's too niche of a feature to support since I'm not aware of an OSS alternative that can enable both live session snapshots and HW accelerated compositing.
Can you be more specific about what is being stolen?
China licensed IP from AMD for CPUs, and they've got their own quite capable tech companies in the mobile space.
I'm not saying China doesn't steal, but I wouldn't say stealing is exclusive to China either. USA companies have no problem stealing data they have no legal license to train AI models, nor do they care about what corporations steal from their own citizens in the pursuit of profit.
Turbo was meant for software that didn't have to run in a compatibility mode IIRC, some software was dependent upon the clock rate or something to perform correctly (like timing or frame rate, I don't remember specific reason). When that was no longer a concern the turbo button got phased out.
Cheers, with the specs you listed I assume you're not hitting disk beyond loading models? Like your system isn't under any memory pressure? Or does your RAM and VRAM max out?
Windows is a bit weird with memory, in task manager performance view for memory, there's a "Committed" value vs the "In use". Unrelated to running a workflow in ComfyUI my current usage is 29GB (out of 32GB) while committed is 82GB (out of 87GB), the extra committed memory doesn't necessarily mean it's allocated memory pages AFAIK but it does reserve the total capacity (across RAM and disk) such that stuff will crash if it exceeds that (doesn't happen on Linux).
I only have 8GB VRAM, with windows shared memory allowing the GPU to offload half my RAM as extra VRAM (task manager performance GPU view reports GPU memory as 24GB), so I think on systems like mine it's possible that ComfyUI dynamic VRAM management could be getting bad heuristics, thinking there's more memory than there actually is ๐
In addition to that, my SSD is capped at 600MB/sec and the laptop 4060 GPU has way less memory bandwidth compared to the other GPUs here, so any bottlenecks will definitely be more visible on my system.
I can't try the advice atm due to current memory usage as that'd crash my system but I'm guessing the discussed regression would affect my system since yours is cruising.
Gotta love the vague PRs like that one that don't provide any real context as to the issue observed/reported somewhere that it's apparently fixing, and how/why it's considered a fix.
Especially in the days of leaning heavy into AI to do the work as a shortcut, of which the ComfyUI team have been guilty of various times in the pursuit of speed, regressions are far more likely ๐
Could anyone explain why the fix for reducing peak VRAM allocations was to clone memory?
Going to take a wild guess that the slowdown is only affecting those on systems where comfys dynamic memory management is resulting in the system shuffling disk reads or heavy / fragmented PCIe transfers thrashing between system RAM and GPU VRAM?
There is quite a lot behind the scenes that can go on there by the OS and GPU driver alone, along with differences in windows vs Linux and disk swap / pagefile config, all of which could throw off ComfyUI heuristics for pinning memory (which in itself can cause perf issues if that pinned memory adds more pressure to the system than value if the pinned memory isn't utilised effectively).
Could you add additional context to if you're using Windows or Linux and if you have swap/pagefile enabled?
If on Windows, additionally if shared memory for nvidia is enabled (it should be by default, allowing to spill over VRAM to system memory like system memory can to disk).
Going to take a wild guest that those affected are getting hit by disk I/O. Probably more of an issue with dynamic VRAM heuristics being off.
Binary data is typically already pretty well compressed? If the compression doesn't reach a threshold zram just leaves it as-is, so I would be doubtful it'd help in this case.
Anonymous memory however tends to be more friendly to compression but that depends on what's in memory, if it's just a big empty array you've allocated and only modified the first couple elements, compressing that is a win. If it's text, you can compress that well too, but a bunch of random bytes less so ๐
There has to be a heuristic involved for that system memory budget (technically for VRAM too depending on OS there is support to "expand" VRAM allocation by swapping pages to system memory, just like there is swapping of system memory to disk.
The OS manages swapping behaviour though, not an application, best it can do is use heuristics on memory usage to decide how much of a resource it can allocate, but it's not a given that the OS / driver won't page memory out if there's enough pressure.
Reading from disk also adds file backed pages, which will permit caching the disk reads into memory (depending on how the read is performed), such that it can result in pushing anonymous memory (allocated by apps) to slower backing store such as disk swap/pagefile.
Besides that you have different policies by OS for memory overcommit. Windows will require the application to reserve a chunk of memory that it can allocate into, and once your OS reaches it's commit limit (near 90GB on my 32GB system), no more memory can be requested to reserve so crashes would happen by apps that try (any existing reservations can allocate into what they have available).
On windows I can have Firefox or Chrome using about 11GB actual memory but the commit is roughly around 60GB, frustrating as it's a lot of memory that nothing else can use and if I get near the limit and the browser tries to be more greedy the whole thing crashes.
On Linux, overcommit is permitted by default, so failures only happen when there literally is no more memory/swap to allocate to.
Anyway there's a lot of subtle stuff like that going on, writes can definitely be triggered as a symptom of reads when you're dealing with such a large amount of data. That said, with awareness of these things, at least on Linux you can better tailor the system to accommodate your workload optimally.
Nvidia drivers on windows allow by default to spill over to system memory (default is 50% system memory as additional "VRAM").
It's only for specific allocations I think, I'm not too familiar with constraints as you can still get OOM when real VRAM is unable to accommodate some operations despite having the spare system memory.
What likely happened for them though was the cache spilled over to system memory or something else was swapped out of VRAM, but if you had say 8GB VRAM and used it all with 2GB system memory spill over, if whatever operation is being performed needs to keep transferring that data across the two memory boundaries, it could slow down compute quite a bit I think (similar to how it is with system memory and a swap/page file on disk for typical software).
Just because you can have extra VRAM doesn't mean it's not utilised elsewhere, so I wouldn't focus on that too much.
The NVFP4 quant is however a specialised 4-bit quant for extra inference speed and requires Blackwell or newer to benefit, which is likely where a good portion of their speed comes from (hardware specs aside), as opposed to a weights only quant that only helps speed when using less VRAM makes a difference. FP8 is accelerated on Ada, just not as fast as NVFP4 on Blackwell.
If you don't have offloading to system memory explicitly, they're basically telling you that spilling over is a different way of using system memory (or worse swap/page file).
On windows for example, nvidia cuda drivers support by default using up to 50% system memory for offloading VRAM.
That is your allocations to VRAM can now be treated as a larger capacity, but whenever the driver needs to access that memory it is shuffling that around between VRAM and system memory (and AFAIK also disk if swap/paging is enabled in the OS, and this distinction may not be something the nvidia driver itself is aware of or has control of).
With offloading to system memory, you can have mmap from disk, only loading the experts that are needed into ram and then transferring that to GPU VRAM. A notable difference though is since there is actual VRAM to spare vs loading all into VRAM + spill over into shared memory, you can better utilise that VRAM for compute or caching, instead of the driver juggling that between system memory and VRAM when certain parts should stay in VRAM.
Summary is the OnePlus Nord 4 is not a flagship killer, it's from 2024Q3, using hardware from the previous year IIRC, but really good value at 700 nzd (presently 411 USD).
Google Pixel A, Samsung Galaxy A, Samsung Galaxy FE devices cost more than 700 NZD. I specifically remember the FE was similar in specs but was sold for 100 or so more, and I think that may have been "on-sale" from $1,100 NZD. I am aware that in countries like USA it may be available cheaper due to bulk shipments or whatever.
So by your own definition of mid-range, OnePlus Nord 4 qualifies.
For context a OnePlus 10T is a 2022 device with 16GB RAM and can be bought in 2026 for 550 NZD (320 USD).
? I bought the device in 2024 (it was released in Aug 2024), it isn't a flagship killer but it was very good value.
It isn't top-tier either, it was at least 2 steps down from the top OnePlus model at the time I think, and came in 8 or 16GB RAM variants? I paid extra for the additional RAM.
I shopped around at the time (Nov 2024?) for several weeks, and although this device was a little over my intended budget it was compelling enough and considerably better value compared to the competition at this price point.
I remember there was a Samsung device being close but had some issues (which was a model variant below S24 but was closer to that than the A series, S24+ or higher variants IIRC were much pricier and different specs wise).
I also recall actual flagships at the time were about 2-3x the price of my device. The premium OnePlus tier was quite a step up in specs too but I couldn't justify the cost value ratio and got this one instead, anything below the device I chose was making sacrifices I wasn't particularly comfortable with (considering caveats from saving a mere hundred or so, worse for larger savings) for a device I was investing in to last me quite some time (ideally 5 years).
The OnePlus Nord 4 has an amoled screen which I've had in my previous devices (Huawei Mate 10 (Pro?), Samsung S1) and I consider that rather essential quality-of-life given how long I spend in front of the screen and it's visibility in brighter environments or pitch black at night for movies / shows (helps with battery life too on dark UI)
Screen size was decent, and a big perk was the huge amount of RAM (my previous Huawei Mate 10 was only 6GB, which was lots in 2018) and the SoC was good enough to run LLMs locally (this can handle up to 12B dense models no problem) I haven't yet tried with other models but I'd like to once I have time to spare as I am a developer (long before vibe coding was a thing) and have an interest in vision tasks like pose estimation or photogrammetry / guassian splatting. Waiting on a rust library (burn) to land some features of interest first.
Another perk is the aluminum unibody instead of plastic. Camera was okay, but lower priority to me. CPU was fairly modern / capable, however I think I was more interested in certain Bluetooth capabilities like audio codec support, this device supports LDAC for example among various others (so long as the paired device does too).
To be fair I was quite happy with my Huawei Mate 10 (I think it was a "pro" variant) and that cost me 1100 NZD back in early 2018, lasted a good 6 years until the power button eventually dislodged when I was outside at night and I couldn't find it. Few months after that the screen cracked. It also had a metallic unibody if I recall but glass backing. Bigger issue with that was how short battery life had become by that age.
So uhh yeah, I previously had a device one step below flagship level and got a good 6 years out of it, I wouldn't consider this OnePlus device flagship at the time price wise, it did exceed the majority of specs of my Huawei from 2018 though.
One thing with Huawei I liked was apps that offered AI were processed locally on-device, this OnePlus device requires me to agree to remote use via a service that I'm sure would eventually get shut down or locked out from, and even basic apps that shouldn't enforce this (and I don't think did until an update) like the sound recording app for voice notes or whatever was no longer local-only, ridiculous ๐ I don't need AI for that. Samsung likewise outsourced AI remotely, so wasn't any better of a choice in that regard.
I'd have gone Huawei again if I could but my country banned them from selling here.
As for your definition of mid-range, that doesn't really line up with midrange for me which tends to be around the sweet spot for price / value ratio, like with PC/laptop or similar. You go below that and the savings give up various nice to haves when you're investing in a device you wouldn't replace for years and will be using extensively.
If you're just a light / casual user, then similar to those cheap notebooks that have 4GB RAM and 2 core CPUs (at least this was the case a while back, I think that tier finally upgraded specs to an 8GB baseline with quad core like designs?), basic apps, media playback, a couple Web browser tabs, yeah that's good enough "mid-tier".
And then there's the god awful budget tier of products where you will still have core functionality but with so many caveats to save a bit more cash on a device with shoddy build quality, support, and will likely not even last that long under comparable conditions and use... You get that if you have no choice or are fine with disposable device that could be lost (stolen? Or perhaps rather not a target for thieves), broken, etc... Or you simply just want to make calls and/or send text messages ๐คทโโ๏ธ the equivalent laptop/PC in this tier is likewise a bad choice (although that said I have made cheap mini PCs viable with a customized Linux setup, even had a 2GB RAM with an old Intel Core2Duo running off USB 2.0 stick as storage that could provide a modern / usable casual user experience).
So like you I have no need for anything better than the device I have now. I wouldn't mind more RAM for AI models, or better SoC for AI speed (I think mine is 40 TOPs of compute? Or that might have been the flagship device)
If I could have gotten my previous Huawei Mate 10 or similar for a little bit less than I paid for this device (say 500-600 NZD, which is something like 250-300 USD), then yeah I'd be happy with that too, 2018 flagship at half the price 6 years later, but that's not what was available. Just like when shopping for laptops certain components / features that my 2018 device had was still behind price gating (screen quality overall had been improving as was RAM, SoCs offered good CPU but were lacking in codec support or couldn't match WiFi or Bluetooth of a 6 year old flagship SoC).
My laptop by comparison was 3,000 NZD (purchased in 2023) and hasn't been without issues. It likewise involved a long search and has an RTX 4060 8GB + 32GB system memory. I also went for prioritising build quality, mini-led screen (cheaper than oled/amoled) and a more premium CPU (AMD Ryzen 9 7940HS with 780m iGPU, 8/16 cores/threads). Considerably more capable than my cheaper laptops (like a $700 NZD Acer in 2020), yet specs especially to a failed desktop system it replaced were closer to midrange (the CPU and display were premium tier and rarely could you get these selectively for a midrange).
My point with this device purchase was I would have been happy with something half the price, but I specifically was unwilling to compromise on a screen with poor colour accuracy and CPU IIRC, while unlike custom built desktop systems... You don't get flexibility of these components (Framework was new-ish, but to this day doesn't ship to NZ, so not an option), thus if you want a premium component you're often forced into paying for other premium components which pushes you further away from midrange devices that would otherwise be solid.
My OnePlus Nord 4 was 700 NZD if I remember right, which should be something like 300-400 USD and this was in 2024 I think?
It has 16GB ram, or 24GB with compression (not relevant here though since binary weights of quantized models will not really compress further, but it can technically help with any other background memory on the device for the OS or other apps I guess).
Sorry if this is a naive question, bit short on time to investigate myself atm.
Does this Desktop edition handle custom nodes and the install of such in a sandboxed manner?
I normally wouldn't care as much about sandboxing a desktop app, but custom nodes are a big part of ComfyUI yet also a bit of a security risk given the audience being a prime target for malware or similar attacks (that have happened in the past).
If you use AI agents to write code, the harness typically runs the agent sandboxed by default. Is that the case with the desktop app? Or can a custom node run whatever python and do anything the user could on their system?
Unrelated to ComfyUI specifically, but there was an event years ago by a popular nodejs package maintainer that published an update that via semver without a lock file slipped in to installs easily enough, and that added code to check the IP for the system installed on, and if it was a geo IP associated to Russia, it output some protest text and proceeded to delete whatever it could on the filesystem, all in a pre-install hook I think during package install rather than runtime use.
I think with the popularity of AI, supply chain attacks and other threats these days are something to be more cautious about. I assume that no this isn't something the desktop offering sandboxes to protect the user, as it's a tad tricky with GPU access involved, so perhaps ComfyUI defers any concerned users to use their Comfy Cloud instead?
Is there any official OSS server deployment of ComfyUI? Not the Comfy Cloud, but more of an officially supported way to deploy to a variety of providers?
Containers are good for this but efforts to do such have been shut down repeatedly by the comfy org.
I get that it wouldn't be ideal with wanting to have users of Comfy Desktop prefer the official Comfy Cloud solution, but it'd be nice if there was a trustworthy / endorsed OSS solution for the community to build around.
Even the official ComfyUI project doesn't have a proper lock file, deferring to
requirements.txtonly instead ofpyproject.toml+uv.lock/pylock.toml? At least with a container image, which could be officially part of the release process on github with GHCR publishing, there would be a counterpart to the desktop install?I could be mistaken and perhaps the portable install is intended for deploying to servers, I'd assume it's lacking vs a container though ๐
Granted, I assume it's similar to WSL2 support, as an official container image that is designed well and works nicely across various engines / orchestrators and hardware vendors is not an easy feat for a project like ComfyUI (GPU support with Python alone is one issue that's slowly improving, added complexity that certain container deployment environments introduce is another), but I don't think that it was ever raised as a lack of expertise or resources to confidently develop and maintain (AI assistance tends to fumble pretty hard at this task).
AuraFlow for MOSS? You mean a shift of 5.0? That was only necessary with custom node for moss before official support.
Comfy official support implicitly uses a shift of 5.0, so adding an AuraFlow node is just to adjust that if needed.
Best scheduler / sampler is subjective at times.
Isn't it open-source? You can strip out the telemetry or literally lock down the network access it has (even if proprietary software).
Three js is a 3D framework library not an animation library, no?
Does it have to be qwen? Gemma 4 E4B is a 4B model that's a little different in architecture so it is compared more to 8B class models IIRC, similar size at 4-bit as the model embeds a bunch of extra per layer embeddings or something. It is faster at inference but I don't know how well it'd be at tool calling.
Nvidia also has fine tuned that Gemma 4 E4B model (nemotron 3.5 bolt E4B) to do better at tool calling, so it might interest you? (there are tool benchmarks shared comparing results, including against qwen 3.5 4B)
You could use vast.ai / runpod or similar if you only temporarily need access to more capable hardware. Depending how much time you need to use that hardware for it may be affordable?
That prose reads so much better than many other projects or comments I see that use Claude to write README docs or PR description, is it specific to Sonnet?
Why would it be weird? What do you think the tradeoff is with quantization? If a model was trained with QAT like Gemma models are you'll get better Q4 quality from post quantization at least. Quantized KV cache can likewise affect the results.
Are loras not able to provide that?
AMD doesn't offer SR-IOV on consumer hardware right?
There's native context for Linux hosts and guests to do similar but last I heard that wasn't merged upstream into mesa yet, and it conflicted with GPU compute so AMD wants to pursue a different approach and it's unclear if they'll get that upstreamed vs a stale fork ๐
With the OSS efforts going on lately related to nvidia it may also be possible to do the same with native context there too.
Personally I just want enough 3D HW accel perf to support video decoding and compositer use in a guest as opposed to the CPU rendering, but the tradeoff is a loss of live session snapshot save/restore support.
VMware actually pulls off that functionality but is riddled with other bugs that despite reports don't seem to get resolved. I guess it's too niche of a feature to support since I'm not aware of an OSS alternative that can enable both live session snapshots and HW accelerated compositing.
Can you be more specific about what is being stolen?
China licensed IP from AMD for CPUs, and they've got their own quite capable tech companies in the mobile space.
I'm not saying China doesn't steal, but I wouldn't say stealing is exclusive to China either. USA companies have no problem stealing data they have no legal license to train AI models, nor do they care about what corporations steal from their own citizens in the pursuit of profit.
Turbo was meant for software that didn't have to run in a compatibility mode IIRC, some software was dependent upon the clock rate or something to perform correctly (like timing or frame rate, I don't remember specific reason). When that was no longer a concern the turbo button got phased out.
Cheers, with the specs you listed I assume you're not hitting disk beyond loading models? Like your system isn't under any memory pressure? Or does your RAM and VRAM max out?
Windows is a bit weird with memory, in task manager performance view for memory, there's a "Committed" value vs the "In use". Unrelated to running a workflow in ComfyUI my current usage is 29GB (out of 32GB) while committed is 82GB (out of 87GB), the extra committed memory doesn't necessarily mean it's allocated memory pages AFAIK but it does reserve the total capacity (across RAM and disk) such that stuff will crash if it exceeds that (doesn't happen on Linux).
I only have 8GB VRAM, with windows shared memory allowing the GPU to offload half my RAM as extra VRAM (task manager performance GPU view reports GPU memory as 24GB), so I think on systems like mine it's possible that ComfyUI dynamic VRAM management could be getting bad heuristics, thinking there's more memory than there actually is ๐
In addition to that, my SSD is capped at 600MB/sec and the laptop 4060 GPU has way less memory bandwidth compared to the other GPUs here, so any bottlenecks will definitely be more visible on my system.
I can't try the advice atm due to current memory usage as that'd crash my system but I'm guessing the discussed regression would affect my system since yours is cruising.
Gotta love the vague PRs like that one that don't provide any real context as to the issue observed/reported somewhere that it's apparently fixing, and how/why it's considered a fix.
Especially in the days of leaning heavy into AI to do the work as a shortcut, of which the ComfyUI team have been guilty of various times in the pursuit of speed, regressions are far more likely ๐
Could anyone explain why the fix for reducing peak VRAM allocations was to clone memory?
Going to take a wild guess that the slowdown is only affecting those on systems where comfys dynamic memory management is resulting in the system shuffling disk reads or heavy / fragmented PCIe transfers thrashing between system RAM and GPU VRAM?
There is quite a lot behind the scenes that can go on there by the OS and GPU driver alone, along with differences in windows vs Linux and disk swap / pagefile config, all of which could throw off ComfyUI heuristics for pinning memory (which in itself can cause perf issues if that pinned memory adds more pressure to the system than value if the pinned memory isn't utilised effectively).
Could you add additional context to if you're using Windows or Linux and if you have swap/pagefile enabled?
If on Windows, additionally if shared memory for nvidia is enabled (it should be by default, allowing to spill over VRAM to system memory like system memory can to disk).
Going to take a wild guest that those affected are getting hit by disk I/O. Probably more of an issue with dynamic VRAM heuristics being off.
Binary data is typically already pretty well compressed? If the compression doesn't reach a threshold zram just leaves it as-is, so I would be doubtful it'd help in this case.
Anonymous memory however tends to be more friendly to compression but that depends on what's in memory, if it's just a big empty array you've allocated and only modified the first couple elements, compressing that is a win. If it's text, you can compress that well too, but a bunch of random bytes less so ๐
There has to be a heuristic involved for that system memory budget (technically for VRAM too depending on OS there is support to "expand" VRAM allocation by swapping pages to system memory, just like there is swapping of system memory to disk.
The OS manages swapping behaviour though, not an application, best it can do is use heuristics on memory usage to decide how much of a resource it can allocate, but it's not a given that the OS / driver won't page memory out if there's enough pressure.
Reading from disk also adds file backed pages, which will permit caching the disk reads into memory (depending on how the read is performed), such that it can result in pushing anonymous memory (allocated by apps) to slower backing store such as disk swap/pagefile.
Besides that you have different policies by OS for memory overcommit. Windows will require the application to reserve a chunk of memory that it can allocate into, and once your OS reaches it's commit limit (near 90GB on my 32GB system), no more memory can be requested to reserve so crashes would happen by apps that try (any existing reservations can allocate into what they have available).
On windows I can have Firefox or Chrome using about 11GB actual memory but the commit is roughly around 60GB, frustrating as it's a lot of memory that nothing else can use and if I get near the limit and the browser tries to be more greedy the whole thing crashes.
On Linux, overcommit is permitted by default, so failures only happen when there literally is no more memory/swap to allocate to.
Anyway there's a lot of subtle stuff like that going on, writes can definitely be triggered as a symptom of reads when you're dealing with such a large amount of data. That said, with awareness of these things, at least on Linux you can better tailor the system to accommodate your workload optimally.
That's not how tldr works ๐
Nvidia drivers on windows allow by default to spill over to system memory (default is 50% system memory as additional "VRAM").
It's only for specific allocations I think, I'm not too familiar with constraints as you can still get OOM when real VRAM is unable to accommodate some operations despite having the spare system memory.
What likely happened for them though was the cache spilled over to system memory or something else was swapped out of VRAM, but if you had say 8GB VRAM and used it all with 2GB system memory spill over, if whatever operation is being performed needs to keep transferring that data across the two memory boundaries, it could slow down compute quite a bit I think (similar to how it is with system memory and a swap/page file on disk for typical software).
Just because you can have extra VRAM doesn't mean it's not utilised elsewhere, so I wouldn't focus on that too much.
The NVFP4 quant is however a specialised 4-bit quant for extra inference speed and requires Blackwell or newer to benefit, which is likely where a good portion of their speed comes from (hardware specs aside), as opposed to a weights only quant that only helps speed when using less VRAM makes a difference. FP8 is accelerated on Ada, just not as fast as NVFP4 on Blackwell.
I could be mistaken, but..
If you don't have offloading to system memory explicitly, they're basically telling you that spilling over is a different way of using system memory (or worse swap/page file).
On windows for example, nvidia cuda drivers support by default using up to 50% system memory for offloading VRAM.
That is your allocations to VRAM can now be treated as a larger capacity, but whenever the driver needs to access that memory it is shuffling that around between VRAM and system memory (and AFAIK also disk if swap/paging is enabled in the OS, and this distinction may not be something the nvidia driver itself is aware of or has control of).
With offloading to system memory, you can have mmap from disk, only loading the experts that are needed into ram and then transferring that to GPU VRAM. A notable difference though is since there is actual VRAM to spare vs loading all into VRAM + spill over into shared memory, you can better utilise that VRAM for compute or caching, instead of the driver juggling that between system memory and VRAM when certain parts should stay in VRAM.
Thats my understanding of it at least.
Sorry, my other reply was quite verbose.
Summary is the OnePlus Nord 4 is not a flagship killer, it's from 2024Q3, using hardware from the previous year IIRC, but really good value at 700 nzd (presently 411 USD).
Google Pixel A, Samsung Galaxy A, Samsung Galaxy FE devices cost more than 700 NZD. I specifically remember the FE was similar in specs but was sold for 100 or so more, and I think that may have been "on-sale" from $1,100 NZD. I am aware that in countries like USA it may be available cheaper due to bulk shipments or whatever.
So by your own definition of mid-range, OnePlus Nord 4 qualifies.
For context a OnePlus 10T is a 2022 device with 16GB RAM and can be bought in 2026 for 550 NZD (320 USD).
? I bought the device in 2024 (it was released in Aug 2024), it isn't a flagship killer but it was very good value.
It isn't top-tier either, it was at least 2 steps down from the top OnePlus model at the time I think, and came in 8 or 16GB RAM variants? I paid extra for the additional RAM.
I shopped around at the time (Nov 2024?) for several weeks, and although this device was a little over my intended budget it was compelling enough and considerably better value compared to the competition at this price point.
I remember there was a Samsung device being close but had some issues (which was a model variant below S24 but was closer to that than the A series, S24+ or higher variants IIRC were much pricier and different specs wise).
I also recall actual flagships at the time were about 2-3x the price of my device. The premium OnePlus tier was quite a step up in specs too but I couldn't justify the cost value ratio and got this one instead, anything below the device I chose was making sacrifices I wasn't particularly comfortable with (considering caveats from saving a mere hundred or so, worse for larger savings) for a device I was investing in to last me quite some time (ideally 5 years).
The OnePlus Nord 4 has an amoled screen which I've had in my previous devices (Huawei Mate 10 (Pro?), Samsung S1) and I consider that rather essential quality-of-life given how long I spend in front of the screen and it's visibility in brighter environments or pitch black at night for movies / shows (helps with battery life too on dark UI)
Screen size was decent, and a big perk was the huge amount of RAM (my previous Huawei Mate 10 was only 6GB, which was lots in 2018) and the SoC was good enough to run LLMs locally (this can handle up to 12B dense models no problem) I haven't yet tried with other models but I'd like to once I have time to spare as I am a developer (long before vibe coding was a thing) and have an interest in vision tasks like pose estimation or photogrammetry / guassian splatting. Waiting on a rust library (burn) to land some features of interest first.
Another perk is the aluminum unibody instead of plastic. Camera was okay, but lower priority to me. CPU was fairly modern / capable, however I think I was more interested in certain Bluetooth capabilities like audio codec support, this device supports LDAC for example among various others (so long as the paired device does too).
To be fair I was quite happy with my Huawei Mate 10 (I think it was a "pro" variant) and that cost me 1100 NZD back in early 2018, lasted a good 6 years until the power button eventually dislodged when I was outside at night and I couldn't find it. Few months after that the screen cracked. It also had a metallic unibody if I recall but glass backing. Bigger issue with that was how short battery life had become by that age.
So uhh yeah, I previously had a device one step below flagship level and got a good 6 years out of it, I wouldn't consider this OnePlus device flagship at the time price wise, it did exceed the majority of specs of my Huawei from 2018 though.
One thing with Huawei I liked was apps that offered AI were processed locally on-device, this OnePlus device requires me to agree to remote use via a service that I'm sure would eventually get shut down or locked out from, and even basic apps that shouldn't enforce this (and I don't think did until an update) like the sound recording app for voice notes or whatever was no longer local-only, ridiculous ๐ I don't need AI for that. Samsung likewise outsourced AI remotely, so wasn't any better of a choice in that regard.
I'd have gone Huawei again if I could but my country banned them from selling here.
As for your definition of mid-range, that doesn't really line up with midrange for me which tends to be around the sweet spot for price / value ratio, like with PC/laptop or similar. You go below that and the savings give up various nice to haves when you're investing in a device you wouldn't replace for years and will be using extensively.
If you're just a light / casual user, then similar to those cheap notebooks that have 4GB RAM and 2 core CPUs (at least this was the case a while back, I think that tier finally upgraded specs to an 8GB baseline with quad core like designs?), basic apps, media playback, a couple Web browser tabs, yeah that's good enough "mid-tier".
And then there's the god awful budget tier of products where you will still have core functionality but with so many caveats to save a bit more cash on a device with shoddy build quality, support, and will likely not even last that long under comparable conditions and use... You get that if you have no choice or are fine with disposable device that could be lost (stolen? Or perhaps rather not a target for thieves), broken, etc... Or you simply just want to make calls and/or send text messages ๐คทโโ๏ธ the equivalent laptop/PC in this tier is likewise a bad choice (although that said I have made cheap mini PCs viable with a customized Linux setup, even had a 2GB RAM with an old Intel Core2Duo running off USB 2.0 stick as storage that could provide a modern / usable casual user experience).
So like you I have no need for anything better than the device I have now. I wouldn't mind more RAM for AI models, or better SoC for AI speed (I think mine is 40 TOPs of compute? Or that might have been the flagship device)
If I could have gotten my previous Huawei Mate 10 or similar for a little bit less than I paid for this device (say 500-600 NZD, which is something like 250-300 USD), then yeah I'd be happy with that too, 2018 flagship at half the price 6 years later, but that's not what was available. Just like when shopping for laptops certain components / features that my 2018 device had was still behind price gating (screen quality overall had been improving as was RAM, SoCs offered good CPU but were lacking in codec support or couldn't match WiFi or Bluetooth of a 6 year old flagship SoC).
My laptop by comparison was 3,000 NZD (purchased in 2023) and hasn't been without issues. It likewise involved a long search and has an RTX 4060 8GB + 32GB system memory. I also went for prioritising build quality, mini-led screen (cheaper than oled/amoled) and a more premium CPU (AMD Ryzen 9 7940HS with 780m iGPU, 8/16 cores/threads). Considerably more capable than my cheaper laptops (like a $700 NZD Acer in 2020), yet specs especially to a failed desktop system it replaced were closer to midrange (the CPU and display were premium tier and rarely could you get these selectively for a midrange).
My point with this device purchase was I would have been happy with something half the price, but I specifically was unwilling to compromise on a screen with poor colour accuracy and CPU IIRC, while unlike custom built desktop systems... You don't get flexibility of these components (Framework was new-ish, but to this day doesn't ship to NZ, so not an option), thus if you want a premium component you're often forced into paying for other premium components which pushes you further away from midrange devices that would otherwise be solid.
My OnePlus Nord 4 was 700 NZD if I remember right, which should be something like 300-400 USD and this was in 2024 I think?
It has 16GB ram, or 24GB with compression (not relevant here though since binary weights of quantized models will not really compress further, but it can technically help with any other background memory on the device for the OS or other apps I guess).