training-hot-swap
github.com · Open source · Quiet
Change PyTorch training code without unloading the model from VRAM
- Developer tools
- Open source
- Python
- Day-7 check
- Day-30 check
- Stars
- 127
- Forks
- 6
- Open issues
- 1
- Last commit
- Found
- 19 months ago
GitHub figures as of . They are context, not a ranking.
training-hot-swap lets you edit a PyTorch training script while the model stays loaded in GPU memory. It suits machine learning developers who iterate on code and want to skip reloading large models.
Repository description on GitHub: “Pytorch script hot swap: Change code without unloading your LLM from VRAM”
What it does
- Keeps PyTorch model weights in GPU memory between script runs
- Background process runs edited training code using eval()
- Can run the model server on a remote machine over a VPN
- Supports IntelliJ debugging in the client-server setup
Good for
- Iterate on a PyTorch training script without reloading a large model
- Run training code on a remote GPU machine from a local IDE
Suits: ML developers iterating on training code with large models in VRAM.
Worth knowing: Presented by its author as a barebones example rather than a finished tool
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw training-hot-swap on , when valine posted it to Show HN. GitHub listed no published releases for valine/training-hot-swap when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 77 points, 7 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 77 points, 7 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: valine/training-hot-swap
- Found: valine posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was training-hot-swap released?
- No dated release record is available. Kip found it on Show HN on 21 Apr 2025.
- Is training-hot-swap open source?
- Its source is public on GitHub at valine/training-hot-swap; check the repository for licence terms.
- Is training-hot-swap free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is training-hot-swap still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | valine/training-hot-swap REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-43747560. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.