Check out the on-demand sessions from the Low-Code/No-Code Summit to learn how to successfully innovate and achieve efficiency by upskilling and scaling citizen developers. Watch now.
Facebook released PyTorch 1.4 today with upgrades to audio, vision, and text libraries; customization to the mobile version of its deep learning framework; and limited support of the Java programming language. PyTorch is one of the most popular machine learning frameworks used by researchers and developers today.
In the latest version, developers can use fine-grain customization of build scripts with PyTorch Mobile. This is a way to optimize library sizes and greatly reduce the on-device footprint, and in early tests was able to generate a version of MobileNetV2 edge model up to 50% smaller.
PyTorch 1.4 also includes a framework for distributed model parallel training and Java support for PyTorch inference based on the PyTorch Mobile for Android interface, but at launch the experimental feature is only available for Linux and for inference. PyTorch currently supports Python and C++.
PyTorch Mobile for iOS and Android devices first became available last fall as part of the release of PyTorch 1.3, with speed gains coming from quantization, Google TPU support, and a JIT compiler upgrade. Tools like Captum for explainable machine learning and CryptTen, a tool for encrypted machine learning, were also released last fall at the annual PyTorch developer conference.
Intelligent Security Summit
Learn the critical role of AI & ML in cybersecurity and industry specific case studies on December 8. Register for your free pass today.
With 1.4, domain libraries are also getting an upgrade, such as torchvision, which is getting ONNX support for all models, and torchscriptable support for all models to make them easier to use in non-Python environments.
The torchaudio library upgrade comes with a number of new filters and an interactive speech recognition in experimentation, while the torchtext library will gain access to the enwik9 unsupervised learning data set.
Additional PyTorch features were introduced last month, such as the image and video classification framework PyTorch Elastic.
VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Discover our Briefings.