paper-with-me

Papers

TFLMS: Large Model Support in TensorFlow by Graph Rewriting

2018-07-05 · Tung D. Le, Haruki Imai, Yasushi Negishi, Kiyokuni Kawachiya

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.

📄 PDF Abstract BibTeX arXiv:1807.02037

Code (0)

등록된 구현이 없습니다.

Tasks

CPUImage SegmentationSemantic Segmentation

Similar Papers 제목 키워드 기반

Learning Tractable Probabilistic Models for Fault Localization

2015-07-07 · Aniruddh Nath, Pedro Domingos

In recent years, several probabilistic techniques have been applied to various debugging problems. However, most existing probabilistic debugging systems use relatively simple statistical models, and fail to generalize a…

Fault localization

TensorFlow: A system for large-scale machine learning

2016-05-27 · Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen 외

TensorFlow is a machine learning system that operates at large scale and in heterogeneous environments. TensorFlow uses dataflow graphs to represent computation, shared state, and the operations that mutate that state. I…

BIG-bench Machine LearningManagement

Graph Rewriting for Graph Neural Networks

2023-05-29 · Adam Machowczyk, Reiko Heckel

Given graphs as input, Graph Neural Networks (GNNs) support the inference of nodes, edges, attributes, or graph properties. Graph Rewriting investigates the rule-based manipulation of graphs to model complex graph transf…

Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devices

2020-03-04 · Byung Hoon Ahn, Jinwon Lee, Jamie Menjay Lin, Hsin-Pai Cheng 외

Recent advances demonstrate that irregularly wired neural networks from Neural Architecture Search (NAS) and Random Wiring can not only automate the design of deep neural networks but also emit models that outperform pre…

Neural Architecture SearchScheduling

TF-GNN: Graph Neural Networks in TensorFlow

2022-07-07 · Oleksandr Ferludin, Arno Eigenwillig, Martin Blais, Dustin Zelle 외

TensorFlow-GNN (TF-GNN) is a scalable library for Graph Neural Networks in TensorFlow. It is designed from the bottom up to support the kinds of rich heterogeneous graph data that occurs in today's information ecosystems…

Graph LearningGraph Sampling