Pith. sign in

REVIEW 1 cited by

TFLMS: Large Model Support in TensorFlow by Graph Rewriting

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1807.02037 v2 pith:JC5GTXBG submitted 2018-07-05 cs.LG cs.AIstat.ML

classification cs.LGcs.AIstat.ML
keywords graphtflmstensorflowimagesmemoryableacceleratorsapproach
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

While accelerators such as GPUs have limited memory, deep neural networks are becoming larger and will not fit with the memory limitation of accelerators for training. We propose an approach to tackle this problem by rewriting the computational graph of a neural network, in which swap-out and swap-in operations are inserted to temporarily store intermediate results on CPU memory. In particular, we first revise the concept of a computational graph by defining a concrete semantics for variables in a graph. We then formally show how to derive swap-out and swap-in operations from an existing graph and present rules to optimize the graph. To realize our approach, we developed a module in TensorFlow, named TFLMS. TFLMS is published as a pull request in the TensorFlow repository for contributing to the TensorFlow community. With TFLMS, we were able to train ResNet-50 and 3DUnet with 4.7x and 2x larger batch size, respectively. In particular, we were able to train 3DUNet using images of size of $192^3$ for image segmentation, which, without TFLMS, had been done only by dividing the images to smaller images, which affects the accuracy.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storage

    cs.DC 2025-06 conditional novelty 6.0 of 10

    TERAIO speeds up LLM training by offloading inactive tensors to SSDs with a lifetime-aware, GPUDirect Storage based migration plan, reaching 1.47x over ZeRO-Offload/Infinity and 80.7% of ideal.

Pith tools