Analysis updated 2026-07-15 · repo last pushed 2014-05-29
Shrink saved Torch7 model files to save disk space by stripping out gradients and temporary data.
Reload a slimmed-down model and restore its training data to continue training.
Convert a GPU-based Torch7 model to a CPU-friendly version for running on standard machines.
Pass configuration settings to Torch7 scripts via command line flags and options.
| atcold/torch-torch7-tools | m2zmforever/atlas | cachebag/jumpy.nvim | |
|---|---|---|---|
| Stars | 10 | 12 | 14 |
| Language | Lua | Lua | Lua |
| Last pushed | 2014-05-29 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires installing Torch7, an older ML framework that can be difficult to set up on modern systems since the community has largely moved to Python.
Torch7-tools is a set of utility scripts that fill in gaps in Torch7, an older framework for building machine learning models. The author created these scripts during day-to-day work and was allowed to share them publicly. They handle practical tasks that Torch7 didn't do on its own out of the box. The main tools address four specific needs. "Network lightener" strips out unnecessary data (like gradients and temporary values) from a saved model so the file takes up less space. "Gradient repopulation" reverses that process: when you reload a slimmed-down model to continue training, it restores the internal data that was removed. The command line parser is a demonstration of how to pass configuration settings to a script via the terminal using flags and options. Finally, the Cuda-to-Float converter takes a model built for GPU-based processing and produces an equivalent version that runs on regular CPU hardware. Someone working with Torch7 models would use these scripts to save disk space, resume training sessions, or make their models runnable on machines without specialized graphics cards. For example, if you trained a model on a powerful GPU server but wanted to run it on a standard laptop, the converter would handle that transition. The README notes that the first two tools (the lightener and gradient repopulator) are deprecated because a newer, more comprehensive package called net-toolkit is being released to replace them. The collection is written in Lua, which was the primary language for Torch7 before the machine learning community largely moved to Python-based frameworks. It's a small, pragmatic set of tools rather than a polished product, essentially the author's personal utilities extracted from real work and made available for others who might face the same gaps.
A collection of Lua utility scripts for Torch7, an older machine learning framework, that handle practical tasks like shrinking saved model files, restoring training data, and converting GPU models to run on regular CPUs.
Mainly Lua. The stack also includes Lua, Torch7, CUDA.
Dormant — no commits in 2+ years (last push 2014-05-29).
The explanation does not mention a specific license, so the permissions for using this code are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.