Software:Comparison of deep learning software

From HandWiki
Short description: Tabular comparison of deep learning software


The following tables compare notable software frameworks, libraries, and computer programs for deep learning applications.

Deep learning software by name

Software Creator Initial release Software license[lower-alpha 1] Script error: No such module "Vertical header". Platform Written in Interface OpenMP support OpenCL support CUDA support Script error: No such module "Vertical header". Automatic differentiation[1] Has pretrained models Script error: No such module "Vertical header". Script error: No such module "Vertical header". Script error: No such module "Vertical header". Script error: No such module "Vertical header". Script error: No such module "Vertical header".
BigDL Jason Dai (Intel) 2016 Apache 2.0 Yes Apache Spark Scala Scala, Python No No Yes Yes Yes Yes
Caffe Berkeley Vision and Learning Center 2013 BSD Yes Linux, macOS, Windows[2] C++ Python, MATLAB, C++ Yes Under development[3] Yes No Yes Yes[4] Yes Yes No ? No[5]
Chainer Preferred Networks 2015 BSD Yes Linux, macOS Python Python No No Yes No Yes Yes Yes Yes No Yes No[6]
Deeplearning4j Skymind engineering team; Deeplearning4j community; originally Adam Gibson 2014 Apache 2.0 Yes Linux, macOS, Windows, Android (Cross-platform) C++, Java Java, Scala, Clojure, Python (Keras), Kotlin Yes No[7] Yes[8][9] No Computational Graph Yes[10] Yes Yes Yes Yes[11] Yes
DeepSpeed Microsoft 2019 Apache 2.0 Yes Linux, macOS, Windows Python, C++, CUDA Python No No Yes No Yes Yes Yes Yes No Yes Yes
Dlib Davis King 2002 Boost Software License Yes Cross-platform C++ C++, Python Yes No Yes No Yes Yes No Yes Yes Yes Yes
Fastai fast.ai 2018 Apache 2.0 Yes Linux, macOS, Windows Python, CUDA Python No No Yes No Yes Yes Yes Yes No Yes Yes
Flux Mike Innes 2017 MIT Yes Linux, macOS, Windows (Cross-platform) Julia Julia Yes No Yes Yes[12] Yes Yes No Yes Yes
Horovod Uber Technologies 2017 Apache 2.0 Yes Linux, macOS, Windows Python, C++, CUDA Python No No Yes No Yes Yes Yes Yes No Yes Yes
Intel Data Analytics Acceleration Library Intel 2015 Apache 2.0 Yes Linux, macOS, Windows on Intel CPU[13] C++, Python, Java C++, Python, Java[13] Yes No No No Yes No Yes Yes Yes
Intel Math Kernel Library 2017 [14] and later Intel 2017 Proprietary No Linux, macOS, Windows on Intel CPU[15] C/C++, DPC++, Fortran C[16] Yes[17] No No No Yes No Yes[18] Yes[18] No Yes
Google JAX Google 2018 Apache 2.0 Yes Linux, macOS, Windows Python Python Only on Linux No Yes No Yes Yes
Keras François Chollet 2015 MIT Yes Linux, macOS, Windows Python Python, R Only if using Theano as backend Can use Theano, Tensorflow or PlaidML as backends Yes No Yes Yes[19] Yes Yes No[20] Yes[21] Yes
MATLAB + Deep Learning Toolbox (formerly Neural Network Toolbox) MathWorks 1992 Proprietary No Linux, macOS, Windows C, C++, Java, MATLAB MATLAB No No Train with Parallel Computing Toolbox and generate CUDA code with GPU Coder[22] No Yes[23] Yes[24][25] Yes[24] Yes[24] Yes With Parallel Computing Toolbox[26] Yes
Microsoft Cognitive Toolkit (CNTK) Microsoft Research 2016 MIT[27] Yes Windows, Linux[28] (macOS via Docker on roadmap) C++ Python (Keras), C++, Command line,[29] BrainScript[30] (.NET on roadmap[31]) Yes[32] No Yes No Yes Yes[33] Yes[34] Yes[34] No[35] Yes[36] No[37]
MindSpore Huawei 2020 Apache 2.0 Yes Linux, Windows, macOS, EulerOS, openEuler, OpenHarmony, Oniro OS, HarmonyOS, Android C++, Rust, Julia, Python, ArkTS, Cangjie, Java (Lite)
ML.NET Microsoft 2018 MIT Yes Windows, Linux, macOS C#, C++ C#, F# Yes
Apache MXNet Apache Software Foundation 2015 Apache 2.0 Yes Linux, macOS, Windows,[38][39] AWS, Android,[40] iOS, JavaScript[41] Small C++ core library C++, Python, Julia, MATLAB, JavaScript, Go, R, Scala, Perl, Clojure Yes No Yes No Yes[42] Yes[43] Yes Yes Yes Yes[44] No
Neural Designer Artelnics 2014 Proprietary No Linux, macOS, Windows C++ Graphical user interface Yes No Yes No Analytical differentiation No No No No Yes Yes
OpenNN Artelnics 2003 GNU LGPL Yes Cross-platform C++ C++ Yes No Yes No ? Yes[45] No No No ? Yes
PlaidML Vertex.AI, Intel 2017 Apache 2.0 Yes Linux, macOS, Windows Python, C++, OpenCL Python, C++ ? Some OpenCL ICDs are not recognized No No Yes Yes Yes Yes Yes Yes
PyTorch Meta AI 2016 BSD Yes Linux, macOS, Windows, Android[46] Python, C, C++, CUDA Python, C++, Julia, R[47] Yes Via separately maintained package[48][49][50] Yes Yes Yes Yes Yes Yes Yes[51] Yes Yes
PyTorch Lightning Lightning-AI (originally William Falcon)[52] 2019 Apache 2.0 Yes Linux, macOS, Windows Python Python Yes Via PyTorch Yes Yes Yes Yes Yes Yes Yes Yes[53] Yes
Apache SINGA Apache Software Foundation 2015 Apache 2.0 Yes Linux, macOS, Windows C++ Python, C++, Java No Supported in V1.0 Yes No ? Yes Yes Yes Yes Yes Yes
TensorFlow Google Brain 2015 Apache 2.0 Yes Linux, macOS, Windows,[54][55] Android C++, Python, CUDA Python (Keras), C/C++, Java, Go, JavaScript, R,[56] Julia, Swift No On roadmap[57] but already with SYCL[58] support Yes Yes Yes[59] Yes[60] Yes Yes Yes Yes Yes
Theano Université de Montréal 2007 BSD Yes Cross-platform Python Python (Keras) Yes Under development[61] Yes No Yes[62][63] Through Lasagne's model zoo[64] Yes Yes Yes Yes[65] No
Torch Ronan Collobert, Koray Kavukcuoglu, Clement Farabet 2002 BSD Yes Linux, macOS, Windows,[66] Android,[67] iOS C, Lua Lua, LuaJIT,[68] C, utility library for C++/OpenCL[69] Yes Third party implementations[70][71] Yes[72][73] No Through Twitter's Autograd[74] Yes[75] Yes Yes Yes Yes[66] No
RANT (Real-time Artificial Neural Tool)[76] Douglas Santry 2023 BSD Yes Linux, macOS, Windows C++, Python C++, Python No No No No No Yes No Yes No No Yes
Wolfram Mathematica 10[77] and later Wolfram Research 2014 Proprietary No Windows, macOS, Linux, Cloud computing C++, Wolfram Language, CUDA Wolfram Language Yes No Yes No Yes Yes[78] Yes Yes Yes Yes[79] Yes
Software Creator Initial release Software license[lower-alpha 1] Script error: No such module "Vertical header". Platform Written in Interface OpenMP support OpenCL support CUDA support Script error: No such module "Vertical header". Automatic differentiation[1] Has pretrained models Script error: No such module "Vertical header". Script error: No such module "Vertical header". Script error: No such module "Vertical header". Script error: No such module "Vertical header". Script error: No such module "Vertical header".
  1. 1.0 1.1 Licenses here are a summary, and are not taken to be complete statements of the licenses. Some libraries may use other libraries internally under different licenses

Comparison of machine learning model compatibility

Format name Design goal Compatible with other formats Self-contained DNN Model Pre-processing and Post-processing Run-time configuration for tuning & calibration DNN model interconnect Common platform
TensorFlow, Keras, Caffe, Torch Algorithm training No No / Separate files in most formats No No No Yes
ONNX Algorithm training Yes No / Separate files in most formats No No No Yes

See also

References

  1. 1.0 1.1 Atilim Gunes Baydin; Barak A. Pearlmutter; Alexey Andreyevich Radul; Jeffrey Mark Siskind (20 February 2015). "Automatic differentiation in machine learning: a survey". arXiv:1502.05767 [cs.LG].
  2. "Microsoft/caffe". 30 October 2021. https://github.com/Microsoft/caffe. 
  3. "Caffe: a fast open framework for deep learning.". July 19, 2019. https://github.com/BVLC/caffe. 
  4. "Caffe | Model Zoo". http://caffe.berkeleyvision.org/model_zoo.html. 
  5. GitHub - BVLC/caffe: Caffe: a fast open framework for deep learning., Berkeley Vision and Learning Center, 2019-09-25, https://github.com/BVLC/caffe, retrieved 2019-09-25 
  6. Preferred Networks Migrates its Deep Learning Research Platform to PyTorch, 2019-12-05, https://preferred.jp/en/news/pr20191205/, retrieved 2019-12-27 
  7. "Support for Open CL: Issue #27: deeplearning4j/nd4j". https://github.com/deeplearning4j/nd4j/issues/27. 
  8. "N-Dimensional Scientific Computing for Java". http://nd4j.org/gpu_native_backends.html. 
  9. "Comparing Top Deep Learning Frameworks". Deeplearning4j. https://deeplearning4j.org/compare-dl4j-tensorflow-pytorch. 
  10. "Deeplearning4j Models". http://deeplearning4j.org/model-zoo. 
  11. Deeplearning4j. "Deeplearning4j on Spark". Deeplearning4j. http://deeplearning4j.org/spark. 
  12. "Metalhead". FluxML. 29 October 2021. http://github.com/FluxML/Metalhead.jl. 
  13. 13.0 13.1 "Intel® Data Analytics Acceleration Library (Intel® DAAL)". November 20, 2018. https://software.intel.com/en-us/intel-daal. 
  14. "Intel® Math Kernel Library Release Notes and New Features". https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-math-kernel-library-release-notes-and-new-features.html. 
  15. "Intel® Math Kernel Library (Intel® MKL)". September 11, 2018. https://software.intel.com/en-us/mkl. 
  16. "Deep Neural Network Functions". May 24, 2019. https://software.intel.com/en-us/mkl-developer-reference-c-deep-neural-network-functions. 
  17. "Using Intel® MKL with Threaded Applications". June 1, 2017. https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-using-intel-mkl-with-threaded-applications. 
  18. 18.0 18.1 "Intel® Xeon Phi™ Delivers Competitive Performance For Deep Learning—And Getting Better Fast". March 21, 2019. https://software.intel.com/en-us/articles/intel-xeon-phi-delivers-competitive-performance-for-deep-learning-and-getting-better-fast. 
  19. "Applications - Keras Documentation". https://keras.io/applications/. 
  20. "Is there RBM in Keras?: Issue #461: keras-team/keras". https://github.com/keras-team/keras/issues/461. 
  21. "Does Keras support using multiple GPUs?: Issue #2436: keras-team/keras". https://github.com/keras-team/keras/issues/2436. 
  22. "GPU Coder - MATLAB & Simulink". https://www.mathworks.com/products/gpu-coder.html. Retrieved 13 November 2017. 
  23. "Automatic Differentiation Background - MATLAB & Simulink". September 3, 2019. https://www.mathworks.com/help/deeplearning/ug/deep-learning-with-automatic-differentiation-in-matlab.html. 
  24. 24.0 24.1 24.2 "Neural Network Toolbox - MATLAB". https://www.mathworks.com/products/neural-network.html. Retrieved 13 November 2017. 
  25. "Deep Learning Models - MATLAB & Simulink". https://www.mathworks.com/solutions/deep-learning/models.html. Retrieved 13 November 2017. 
  26. "Parallel Computing Toolbox - MATLAB". https://www.mathworks.com/products/parallel-computing.html. Retrieved 13 November 2017. 
  27. "CNTK/LICENSE.md at master: Microsoft/CNTK". https://github.com/Microsoft/CNTK/blob/master/LICENSE.md. 
  28. "Setup CNTK on your machine". https://github.com/Microsoft/CNTK/wiki/Setup-CNTK-on-your-machine. 
  29. "CNTK usage overview". https://github.com/Microsoft/CNTK/wiki/CNTK-usage-overview. 
  30. "BrainScript Network Builder". https://github.com/Microsoft/CNTK/wiki/BrainScript-Network-Builder. 
  31. ".NET Support: Issue #960: Microsoft/CNTK". https://github.com/Microsoft/CNTK/issues/960. 
  32. "How to train a model using multiple machines?: Issue #59: Microsoft/CNTK". https://github.com/Microsoft/CNTK/issues/59#issuecomment-178104505. 
  33. "Prebuilt models for image classification: Issue #140: microsoft/CNTK". https://github.com/microsoft/CNTK/issues/140. 
  34. 34.0 34.1 "CNTK - Computational Network Toolkit". Microsoft Corporation. http://www.cntk.ai/. 
  35. "Restricted Boltzmann Machine with CNTK #534". GitHub, Inc.. 27 May 2016. https://github.com/Microsoft/CNTK/issues/534. 
  36. "Multiple GPUs and machines". Microsoft Corporation. https://github.com/Microsoft/CNTK/wiki/Multiple-GPUs-and-machines. 
  37. "Disclaimer". CNTK TEAM. 6 November 2021. https://github.com/Microsoft/CNTK#disclaimer. 
  38. "Releases: dmlc/mxnet". https://github.com/dmlc/mxnet/releases. 
  39. "Installation Guide — mxnet documentation". Readthdocs. https://mxnet.readthedocs.io/en/latest/how_to/build.html#building-on-windows. 
  40. "MXNet Smart Device". ReadTheDocs. https://mxnet.readthedocs.io/en/latest/how_to/smart_device.html. 
  41. "MXNet.js". 28 October 2021. https://github.com/dmlc/mxnet.js. 
  42. "— Redirecting to mxnet.io". https://mxnet.readthedocs.io/en/latest/. 
  43. "Model Gallery". 29 October 2022. https://github.com/dmlc/mxnet-model-gallery. 
  44. "Run MXNet on Multiple CPU/GPUs with Data Parallel". https://mxnet.readthedocs.io/en/latest/how_to/multi_devices.html. 
  45. "Model Types". 31 August 2023. https://www.neuraldesigner.com/learning/tutorials/neural-networks-applications/#Forecasting. 
  46. "PyTorch". Dec 17, 2021. https://pytorch.org/mobile/android/. 
  47. "Falbel D, Luraschi J (2023). torch: Tensors and Neural Networks with 'GPU' Acceleration." (in en-us). https://torch.mlverse.org/. 
  48. "OpenCL build of pytorch: (in-progress, not useable) - hughperkins/pytorch-coriander". July 14, 2019. https://github.com/hughperkins/pytorch-coriander. 
  49. "DLPrimitives/OpenCL out of tree backend for pytorch - artyom-beilis/pytorch_dlprim". Jan 21, 2022. https://github.com/artyom-beilis/pytorch_dlprim. 
  50. "OpenCL Support: Issue #488: pytorch/pytorch". https://github.com/pytorch/pytorch/issues/488. 
  51. "Restricted Boltzmann Machines (RBMs) in PyTorch". 14 November 2022. https://github.com/GabrielBianconi/pytorch-rbm/blob/master/rbm.py. 
  52. https://github.com/williamFalcon
  53. https://lightning.ai/docs/litserve/how-tos/parallelism-types
  54. "Install TensorFlow with pip". https://www.tensorflow.org/install/pip. 
  55. "TensorFlow 0.12 adds support for Windows". https://developers.googleblog.com/2016/11/tensorflow-0-12-adds-support-for-windows.html. 
  56. "tensorflow: R Interface to 'TensorFlow'". The Comprehensive R Archive Network. 28 September 2023. https://cran.r-project.org/web/packages/tensorflow/. 
  57. "tensorflow/roadmap.md at master". January 23, 2017. https://github.com/tensorflow/tensorflow/blob/master/tensorflow/docs_src/about/roadmap.md. 
  58. "OpenCL support". https://github.com/tensorflow/tensorflow/issues/22. 
  59. "TensorFlow". https://www.tensorflow.org/. 
  60. "Models and examples built with TensorFlow". July 19, 2019. https://github.com/tensorflow/models. 
  61. "Using the GPU: Theano 0.8.2 documentation". http://deeplearning.net/software/theano/tutorial/using_gpu.html. 
  62. "gradient – Symbolic Differentiation — Theano 1.0.0 documentation". http://deeplearning.net/software/theano/library/gradient.html. 
  63. "Automatic vs. Symbolic differentiation". https://groups.google.com/d/msg/theano-users/mln5g2IuBSU/gespG36Lf_QJ. 
  64. "Recipes/modelzoo at master: Lasagne/Recipes". https://github.com/Lasagne/Recipes/tree/master/modelzoo. 
  65. "Using multiple GPUs — Theano 1.0.0 documentation". http://deeplearning.net/software/theano/tutorial/using_multi_gpu.html. 
  66. 66.0 66.1 "torch/torch7". July 18, 2019. https://github.com/torch/torch7. 
  67. "GitHub - soumith/torch-android: Torch-7 for Android". 13 October 2021. https://github.com/soumith/torch-android. 
  68. "Torch7: A MATLAB-like Environment for Machine Learning". http://ronan.collobert.com/pub/matos/2011_torch7_nipsw.pdf. 
  69. "GitHub - jonathantompson/jtorch: An OpenCL Torch Utility Library". 18 November 2020. https://github.com/jonathantompson/jtorch. 
  70. "Cheatsheet". https://github.com/torch/torch7/wiki/Cheatsheet#opencl. 
  71. "cltorch". https://github.com/hughperkins/distro-cl. 
  72. "Torch CUDA backend". https://github.com/torch/cutorch. 
  73. "Torch CUDA backend for nn". https://github.com/torch/cunn. 
  74. "Autograd automatically differentiates native Torch code: twitter/torch-autograd". July 9, 2019. https://github.com/twitter/torch-autograd. 
  75. "ModelZoo". https://github.com/torch/torch7/wiki/ModelZoo. 
  76. "RANT". https://github.com/nom-de-guerre/RANT. 
  77. "Launching Mathematica 10". https://blog.wolfram.com/2014/07/09/launching-mathematica-10-with-700-new-functions-and-a-crazy-amount-of-rd. 
  78. "Wolfram Neural Net Repository of Neural Network Models". http://resources.wolframcloud.com/NeuralNetRepository. 
  79. "Parallel Computing—Wolfram Language Documentation". https://reference.wolfram.com/language/guide/ParallelComputing.html.en.