Thursday, November 9, 2023
HomeBig DataPandas on GPU Runs 150x Sooner, Nvidia Says

Pandas on GPU Runs 150x Sooner, Nvidia Says


Knowledge scientists and others who work in pandas could also be to listen to a few new launch of Nvidia’s RAPIDS cuDF framework that it says ends in a 150x efficiency increase for pandas operating atop a GPU.

Pandas is a well-liked Python-based dataframe library that’s used for knowledge manipulation and evaluation. Developed and launched as open supply by Wes McKinney, a 2018 Datanami Particular person to Watch, Pandas is utilized by an estimated 9.5 million builders world wide.

That quantity might enhance following at the moment’s replace to RAPIDS from Nvidia. One of many parts of RAPIDS is cuDF, a Python GPU dataframe library constructed on Apache Arrow (co-developed by McKinney) that supplied a pandas-like API for loading, filtering, and manipulating knowledge. With at the moment’s launch of RAPIDS model 23.10, cuDF has been up to date to allow pandas code to run unchanged in a GPU-accelerated surroundings.

The brand new pandas accelerator mode permits the unchanged pandas code to run in a unified CPU/GPU surroundings and obtain efficiency beneficial properties of as much as 150x in comparison with a CPU-only surroundings, Nvidia Product Advertising and marketing Supervisor Jay Rodge, Senior Technical Product Supervisor Nick Becker, and Senior Software program Engineer Ashwin Srinath wrote in a weblog publish at the moment.

“cuDF has all the time offered customers with prime DataFrame library efficiency utilizing a pandas-like API,” they wrote. “Nevertheless, adopting cuDF has typically required workarounds.”

As an illustration, pandas performance that had not been carried out or supported in cuDF couldn’t profit from the GPU-accelerated computing, they wrote. One other dealbreaker was designing separate code paths for GPU and CPU execution, as was manually switching between cuDF and pandas when interacting with different PyData libraries, they mentioned.

Nvidia’s benchamrk reveals Pandas on GPUs runs 150x sooner (Picture supply: Nvidia)

“This function was constructed for knowledge scientists who wish to proceed utilizing pandas as knowledge sizes develop into the gigabytes and pandas efficiency slows,” the engineers wrote. “In cuDF’s pandas accelerator mode, operations execute on the GPU the place doable and on the CPU (utilizing pandas) in any other case, synchronizing underneath the hood as wanted. This allows a unified CPU/GPU expertise that brings best-in-class efficiency to your pandas workflows.”

Nvidia mentioned it benchmarked the efficiency enhance with DuckDB’s new model of H2O.ai’s Database-like Ops Benchmark. The benchmark was carried out on a 5GB knowledge set, and contained a be part of and a sophisticated group-by. Pandas operating on CPU took a median of about 5 minutes and seven seconds to carry out the 2 duties, whereas it took a median of about 1.5 seconds to carry out the 2 duties on pandas accelerated with RAPIDS cuDF, in response to the corporate’s chart.

GPU-accelerated pandas is offered now as a beta in open supply RAPIDS model 23.10. It will likely be added to Nvidia AI Enterprise quickly, the corporate says.

Associated Gadgets:

Inside Pandata, the New Open-Supply Analytics Stack Backed by Anaconda

Spark 3.0 to Get Native GPU Acceleration

Starburst Brings Dataframes Into Trino Platform



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments