21st-may-banner design

What’s New in the Latest TensorFlow 2.14

Update include an installation method for Linux that installs necessary Nvidia CUDA libraries

Share

Listen to this story

Google has released the latest version of its popular open-source software library, TensorFlow 2.14. The launch comes two months after the introduction of TensorFlow 2.13. For 2023, we already have the third update with the earlier one being released in July. 

Check out the GitHub repository to learn more about the update. 

Some of the major improvements include a new optional installation method in the TF pip package for Linux that installs necessary Nvidia CUDA libraries. As long as the Nvidia driver is installed on a system, users can now run pip install tensorflow[and-cuda] to install CUDA library dependencies in the Python environment. Aside from the Nvidia driver, no other pre-existing Nvidia CUDA packages are necessary. 

Additionally, the team has introduced an API called “strict_mode.” This API serves the purpose of transforming all deprecation warnings into actual runtime errors, complete with clear guidance on transitioning to the suggested replacements. Furthermore, a fresh API, “dtensor.relayout_like,” has been incorporated, to reorganize a tensor according to the layout of another specified tensor.Changes have been made to the functions “tf.ones,” “tf.zeros,” “tf.fill,” “tf.ones_like,” and “tf.zeros_like,” as they now accept an extra “Layout” parameter, for users to control the output layout of the results produced by these functions.

The release also includes support for C++ Run-Time Type Information (RTTI) on mobile and Android platforms. To activate this feature, users should use the following flag when building TensorFlow with Bazel: “–define=tf_force_rtti=true.” This step may become necessary when incorporating TensorFlow into programs that utilize RTTI, as the combination of RTTI and non-RTTI code can potentially lead to compatibility problems at the Application Binary Interface (ABI) level.

TF Lite, Keras and Next Release

For TF lite, users can now add experimental support conversion of models that may be larger than 2GB before buffer deduplication.

The update for Keras, is that model.compile now supports steps_per_execution=’auto’ as a parameter, allowing automatic tuning of steps per execution during Model fit, Model.predict, and Model.evaluate for a significant performance boost.

The updated version will not be henceforth supporting Python 3.8 but TF 2.13.1 patch release will still have the support. After the update, the class hierarchy for tf.Tensor has changed, and there are now explicit EagerTensor and SymbolicTensor classes for eager and tf.function respectively.

Users who relied on the exact type of Tensor will need to update the code to use isinstance(t, tf.Tensor). The tf.is_symbolic_tensor helper added in 2.13 may be used when it is necessary to determine if a value is specifically a symbolic tensor.TensorFlow Debugger CLI: ncurses-based CLI for tfdbg v1 has also been removed. 

In the next release, tf.compat.v1.Session.partial_run, tf.compat.v1.Session.partial_run_setup and tf.estimator API will be removed. Users make a note, TF Estimator Python package will no longer be released.

Share
Picture of Tasmia Ansari

Tasmia Ansari

Tasmia is a tech journalist at AIM, looking to bring a fresh perspective to emerging technologies and trends in data science, analytics, and artificial intelligence.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe

Subscribe to our Youtube channel and see how AI ecosystem works.

There must be a reason why +150K people have chosen to follow us on Linkedin. 😉

Stay in the know with our Linkedin page. Follow us and never miss an update on AI!