Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/692db884-c2d8-800c-a357-aa2a0e684fbe
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Compression sounds like extra work, but here’s why it can help speed overall: ==== * Less data shoved around A huge amount of time on GPUs goes into: - Moving data from VRAM → SMs (cores) - Moving data between buffers, caches, layers If the hook is storing compressed representations: - There are simply fewer bytes to move for many operations. - IO-bound parts of the workload can get faster. * Decode is massively parallel The decompression logic runs in a way that: - Exploits the GPU’s parallelism. - Turns “extra work” into something the hardware is very good at. So even though you “add” work (decode), you often subtract more work in reduced memory traffic. * Less offload thrash If you needed CPU/NVMe offload before: - You were paying PCIe latency and disk/DRAM bandwidth costs. - The hook lets more of the working set live in VRAM, so: - Fewer device ↔ host transfers - Less paging, fewer stalls Overall effect on speed: * For memory-bound or IO-heavy workloads: 👉 Often faster and/or can handle more tokens per second. * For purely compute-bound workloads (where VRAM wasn’t a limit): 👉 Usually neutral or a small overhead, since the benefit is mostly about capacity and IO, not raw flops. So it’s like this: :
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)