Oldpan/Pytorch-Memory-Utils
pytorch memory track code observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3008
- days_rel: n/a
- days_push: 1947
- n_releases_24m: 0
Adoption not part of the score
1012 stars · 152 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small set of Python scripts for tracking GPU memory usage in PyTorch, including per-line tensor allocation reports and model parameter/intermediate-variable size estimation. It is a lightweight copy-in utility rather than an installable package.
Use cases
- track gpu memory usage during pytorch training
- find which lines of code allocate the most gpu memory
- estimate the memory footprint of a pytorch model
- debug cuda out of memory errors
- measure intermediate variable memory with and without backward pass
When to choose
- you need a quick, dependency-free script to profile pytorch gpu memory
- you want line-by-line tensor allocation reports during training
- you need to estimate model parameter and activation memory before training
When to avoid
- you need a maintained installable profiler with active updates
- you use frameworks other than pytorch
- you need cpu memory profiling or multi-gpu aggregation
Facets
library · maturity maintenance
monitoring developer-tools deep-learning developer-tools performance python pytorch gpu-memory memory-profiling debugging gpu
1 source
- readme: https://github.com/Oldpan/Pytorch-Memory-Utils · fetched 2026-08-28 · 611337fa9c45
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Oldpan/Pytorch-Memory-Utils | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="Oldpan/Pytorch-Memory-Utils")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem