~/talk

A heuristic algorithm for periodic memory allocation with little fragmentation to train(…)

Talkat ISMM 2024 · on Tuesday, 2024-06-25· [machine-learning]
links:none on file
name:Zijian Xu
links:none on file
slides:none on file

Claims an offline simulated-annealing heuristic that reorders allocation topological ordering to cut PyTorch caching fragmentation from 29.5% wasted by PyTorch caching allocator down to 0.4% fragmentation (first-fit gives 5.3%), evaluates candidates in O(logN) amortized time, traces one training iteration then applies the plan, handles 2k–9k allocations from vision and language training and random tests, and reports near-zero fragmentation with preserved training throughput.

AI-written summary · about

  1. 0:00Memory fragmentation in training
  2. 1:02PyTorch allocator fragmentation
  3. 2:50Recomputation impact on memory
  4. 4:58Why fragmentation matters
  5. 5:18Offline memory planning
  6. 7:07Dynamic storage allocation
  7. 9:19Simulated annealing basics
  8. 11:55Optimizing simulated annealing
  9. 15:56Experimental results
  10. 18:05Training throughput comparison
  11. 19:10Conclusion and future
  12. 19:35Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.