Static Automatic Batching in TensorFlow

被引:0
|
作者
Agarwal, Ashish [1 ]
机构
[1] Google Inc, Mountain View, CA 94043 USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Dynamic neural networks are becoming increasingly common, and yet it is hard to implement them efficiently. On-the-fly operation batching for such models is sub-optimal and suffers from run time overheads, while writing manually batched versions can be hard and error-prone. To address this, we extend TensorFlow with pfor, a parallel-for loop optimized using static loop vectorization. With pfor, users can express computation using nested loops and conditional constructs, but get performance resembling that of a manually batched version. Benchmarks demonstrate speedups of one to two orders of magnitude on a range of tasks, from Jacobian computation, to auto-batching Graph Neural Networks.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] AUTOMATIC BATCHING AT CLAIROL
    CASTILLO, A
    DRUG & COSMETIC INDUSTRY, 1973, 112 (02): : 56 - &
  • [2] AUTOMATIC SYSTEM SOLVES BATCHING PROBLEMS
    不详
    FOOD ENGINEERING, 1979, 51 (09): : 191 - 191
  • [3] Automatic batching system for steel bridge manufacture
    Li, Zhiye
    Wan, Guangbin
    Xinan Jiaotong Daxue Xuebao/Journal of Southwest Jiaotong University, 1999, 34 (06): : 659 - 662
  • [4] AUTOMATIC MASS-BATCHING AND RECORDING DEVICE
    ANGELI, AI
    MEASUREMENT TECHNIQUES-USSR, 1970, (01): : 51 - &
  • [5] AUTOMATIC SYSTEM FOR WEIGHT BATCHING OF POWDERED MATERIALS
    OCHKAS, MV
    ELKE, IN
    SHEVTSOV, EK
    ZHURKOVSKII, AV
    KRAVCHENKO, VP
    SUSLOV, VF
    BIATOV, VA
    METALLURGIST, 1985, 29 (7-8) : 229 - 230
  • [6] Research of Automatic Batching System Based on Fuzzy Algorithm
    Wang, Anna
    Gao, Zhen
    Liu, Zhiyuan
    2017 29TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2017, : 1103 - 1107
  • [7] Semantic Video Search by Automatic Video Annotation using Tensorflow
    Ashangani, Kithmi
    Wickramasinghe, K. U.
    De Silva, D. W. N.
    Gamwara, V. M.
    Nugaliyadde, Anupiya
    Mallawarachchi, Yashas
    PROCEEDINGS OF THE 2016 MANUFACTURING & INDUSTRIAL ENGINEERING SYMPOSIUM (MIES): INNOVATIVE APPLICATIONS FOR INDUSTRY, 2016, : 49 - 52
  • [8] The Design of the Small Automatic Batching Machine Control System
    Sui Tao
    Li Bing
    Liu Xiuzhi
    Xu Wenshang
    MANUFACTURING SCIENCE AND TECHNOLOGY, PTS 1-8, 2012, 383-390 : 2672 - 2676
  • [9] Automatic GPU Memory Management for Large Neural Models in TensorFlow
    Le, Tung D.
    Imai, Haruki
    Negishi, Yasushi
    Kawachiya, Kiyokuni
    PROCEEDINGS OF THE 2019 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT (ISMM '19), 2019, : 1 - 13
  • [10] LeFlow: Automatic Compilation of TensorFlow Machine Learning Applications to FPGAs
    Noronha, Daniel Holanda
    Gibson, Kahlan
    Salehpour, Bahar
    Wilton, Steven J. E.
    2018 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT 2018), 2018, : 396 - 399