Facebook, AWS Join Forces for TorchServe upgrade on PyTorch 1.5

  • More than 80% of cloud machine learning projects with PyTorch happen on AWS, Amazon engineers said in a blog post today.

  • A Kubernetes integration for TorchElastic on AWS means Kubernetes users no longer have to manually manage services associated with model training in order to use TorchElastic.

  • PyTorch 1.5 has upgrades for staple torchvision, torchtext, and torchaudio libraries, as well as TorchElastic and TorchServe, a model-serving library made in collaboration with AWS.


Facebook’s PyTorch has grown to become one of the most popular deep learning frameworks in the world, and today it’s getting new libraries and big upgrades, including stable C++ frontend API support and library upgrades like TorchServe, a model-serving library developed in collaboration with Amazon Web Services.
 

The TorchServe library comes with support for both Python and TorchScript models; it provides the ability to run multiple versions of a model at the same time or even roll back to previous versions in a model archive. More than 80% of cloud machine learning projects with PyTorch happen on AWS, Amazon engineers said in a blog post today.
 

PyTorch 1.5 also includes TorchElastic, a library developed to allow AI practitioners to scale up or down cloud training resources based on needs or if things go wrong.
 

An AWS integration with Kubernetes for TorchElastic enables container orchestration and fault tolerance. A Kubernetes integration for TorchElastic on AWS means Kubernetes users no longer have to manually manage services associated with model training in order to use TorchElastic.

TorchElastic is meant for use in large, distributed machine learning projects. PyTorch product manager Joe Spisak told VentureBeat TorchElastic is used for large-scale NLP and computer vision projects at Facebook and is now being built into public cloud environments.
 

Read More: FACEBOOK’S RIDE ENCOURAGES AI AGENTS TO EXPLORE THEIR ENVIRONMENTS
 

What TorchElastic does is it basically allows you to vary your training over a number of nodes without the training job actually failing; it will just continue gracefully, and once those nodes come back online, it can basically restart the training and start calculating variants on those nodes as they come up.
 

We saw that [elastic fault tolerance] as a chance to partner again with Amazon, and we also have some pull requests in there from Microsoft that we’ve merged. So we expect basically practically all three major cloud providers to support that natively for users to do elastic fault tolerance in Kubernetes on their clouds.

-Joseph Spisak


Work between AWS and Facebook on libraries began in mid 2019, Spisak said. Also new today: A stable release of the C++ frontend API for PyTorch can now translate models from a Python API to a C++ API.

 

The big deal here is that with the upgrade to C++, with this release, we’re at full parity now with Python. So basically you can use all the packages that you can use in Python, all the modules, optim, etc. All those are now available in C++; it’s full-parity documentations of parity. And this is something that researchers have been wanting and frankly production users have been wanting, and it gives basically everyone the ability to basically move between Python and C++.

-Joseph Spisak


An experimental version of custom C++ classes was also introduced today. C++ implementations of PyTorch have been particularly important for the makers of reinforcement learning models, Spisak said.

PyTorch 1.5 has upgrades for staple torchvision, torchtext, and torchaudio libraries, as well as TorchElastic and TorchServe, a model-serving library made in collaboration with AWS.
 

Version 1.5 also includes updates for the torch_xla package for using PyTorch with Google Cloud TPUs or TPU Pods. Work on an xla compiler dates back to talks between employees at the two companies that started in late 2017.
 

The release of PyTorch 1.5 today follows the release of 1.4 in January, which included Java support and mobile customization options. Facebook first introduced Google Cloud TPU support and quantization and PyTorch Mobile at an annual PyTorch developer conference held in San Francisco in October 2019. PyTorch 1.5 only supports versions of Python 3 and no longer supports versions of Python 2.
 

Read More: AS GOOGLE ENTERS AI CODING AUTOCOMPLETE RACE, KITE FOR PYTHON LANGUAGE GETS SMARTER

Spotlight

Other News
AI Tech

AI and Big Data Expo North America announces leading Speaker Lineup

TechEx Events | March 07, 2024

AI and Big Data Expo North America announces new speakers! SANTA CLARA, CALIFORNIA, UNITED STATES, February 26, 2024 /EINPresswire.com/ -- TheAI and Big Expo North America, the leading event for Enterprise AI, Machine Learning, Security, Ethical AI, Deep Learning, Data Ecosystems, and NLP, has announced a fresh cohort of distinguishedspeakersfor its upcoming conference at the Santa Clara Convention Center on June 5-6, 2024. Some of the top industry speakers set to take the stage are: - Sam Hamilton - Head of Data & AI – Visa - Dr Astha Purohit - Director - Product (Tech) Ops – Walmart - Noorddin Taj - Head of Architecture and Design of Intelligent Operations - BP - Temi Odesanya - Director - AI Governance Automation - Thomson Reuters - Katie Sanders - Assistant Vice President – Tech - Union Pacific Railroad - Prasanth Nandanuru – SVP - Wells Fargo - Rodney Brooks - Professor Emeritus - MIT These esteemed speakers bring a wealth of knowledge and expertise to an already impressive lineup, promising attendees a truly enlightening experience. In addition to the speakers, theAI and Big Data Expo North Americawill feature a series of presentations covering a diverse range of topics in AI and Big Data exploring the latest innovations, implementations and strategies across a range of industries. Attendees can expect to gain valuable insights and practical strategies from presentations such as: How Gen AI Positively Augments Workforce Capabilities Trends in Computer Vision: Applications, Datasets, and Models Getting to Production-Ready: Challenges and Best Practices for Deploying AI Ensuring Your AI is Responsible and Ethical Mitigating Bias and Promoting Fairness in AI Systems Security Challenges in the Era of Gen AI and Data Science AI for Good: Social Impact and Ethics Selling Data Democratization to Executives Spreading Data Insights across the Business Barriers to Overcome: People, Processes, and Technology Optimizing the Customer Experience with AI Using AI to Drive Growth in a Regulated Industry Building an MLOps Foundation for AI at Scale The Expo offers a platform for exploration and discovery, showcasing how cutting-edge technologies are reshaping a myriad of industries, including manufacturing, transport, supply chain, government, legal sectors, financial services, energy, utilities, insurance, healthcare, retail, and more. Attendees will have the chance to witness firsthand the transformative power of AI and Big Data across various sectors, gaining insights that are crucial for staying ahead in today's rapidly evolving technological landscape. Anticipating a turnout of over 7000 attendees and featuring 200 speakers across various tracks, AI and Big Data Expo North America offers a unique opportunity for CTO’s, CDO’s, CIO’s , Heads of IOT, AI /ML, IT Directors and tech enthusiasts to stay abreast of the latest trends and innovations in AI, Big Data and related technologies. Organized by TechEx Events, the conference will also feature six co-located events, including the IoT Tech Expo, Intelligent Automation Conference, Cyber Security & Cloud Congress, Digital Transformation Week, and Edge Computing Expo, ensuring a comprehensive exploration of the technological landscape. Attendees can choose from various ticket options, providing access to engaging sessions, the bustling expo floor, premium tracks featuring industry leaders, a VIP networking party, and a sophisticated networking app facilitating connections ahead of the event. Secure your ticket with a 25% discount on tickets, available until March 31st, 2024. Save up to $300 on your ticket and be part of the conversation shaping the future of AI and Big Data technologies. For more information and to secure your place at AI and Big Data Expo North America, please visit https://www.ai-expo.net/northamerica/. About AI and Big Data Expo North America: The AI and Big Data Expo North America is a leading event in the AI and Big Data landscape, serving as a nexus for professionals, industry experts, and enthusiasts to explore and navigate the ever-evolving technological frontier. Through its focus on education, networking, and collaboration, the Expo continues to be a beacon for those eager to stay at the forefront of technological innovation. “AI and Big Data Expo North Americais a part ofTechEx. For more information regardingTechExplease see onlinehere.”

Read More