cunumpy
Install from PyPI with
pip install cunumpySimple wrapper for numpy and cupy. Replace import numpy as np with import cunumpy as xp.
Example usage:
export ARRAY_BACKEND=cupyimport cunumpy as xparr = xp.array([1,2])
print(type(arr))print(xp.__version__)Links: