WarmSwap
Move a running LLM generation from one GPU to another without losing it.
When you drain a GPU worker, every in-flight session dies with it. The KV cache — everything the model has read so far — is gone, and the user waits through a prompt they already paid for. WarmSwap moves the cache instead: the session continues on the next GPU at the next token, and the client streaming it sees no gap.
Measured on 2× RTX 3090 with vLLM 0.11.0 and Qwen2.5-7B-Instruct, a resumed session is bitwise identical to one that never moved — zero differing KV positions, maximum logit delta 0.0 across 80 concurrent probes.
This package
This release reserves the name. It installs no product code.
WarmSwap is source-available and distributed under licence, not from this index: production use requires a written licence and a certificate for the specific deployment being run, because a migration is only exact when both GPUs run the same execution plan. See the licence and the quickstart.
Installing it is not how you get WarmSwap. Read the quickstart and get in touch.
Release files for warmswap 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| warmswap-0.0.1.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| warmswap-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / warmswap-0.0.1.tar.gz
| Download URL | warmswap-0.0.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d09710fb0823bf02e93c20d95fecc5293b813ccfee528e3f0c89c51969f19c4
|
|
BLAKE2b-256 checksum How to use checksums |
e71ace089fab6e85b656d47f818eb2d8e7d194b0aa6855900180fd2c87767ae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / warmswap-0.0.1-py3-none-any.whl
| Download URL | warmswap-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcd694680c5e86b336b152c1e91d3cd33b1eeb02f3610e53f4859a5b35d42e6c
|
|
BLAKE2b-256 checksum How to use checksums |
ef446e928a8da4e9f68b2710d9f68a74114170a1dc52be0f5af0a0b5bd3a11d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|