Thursday, August 29, 2019

Speeding up numpy: Cupy

   Numpy is a widely used python library. It runs on CPU mainly. Sometimes machine learning deal with a huge amount of data set. Cupy is a similar library that works on cuda GPUs. While running on GPU, it mainly speeds up the arithmetic operations on large size arrays.

Installation of Cupy:
https://cupy.chainer.org/

Comparison


Python code
https://github.com/Dragunov314/Cupy-tutorials/blob/master/tutorial.py

No comments:

Post a Comment

CSES Subtree Queries

You are given a rooted tree consisting of n nodes. The nodes are numbered 1,2,…,n, and node 1 is the root. Each node has a value. Your...