Device-independent library for NumPy programs
Project description
OrchesPy: Device-independent library for NumPy program on heterogeneous system
OrchesPy is a library for NumPy programs to execute part of the program on accelerators by decorating functions.
Prerequisites
Using OrchesPy requires the following packages.
- Python 3: tested with Python 3.8.
- NumPy 1.20: since CuPy and NLCPy require numpy>=1.17 and NLCPy requires numpy<1.21.
- To run programs on VE, install NLCPy >= 2.0.1 and its dependencies such as veoffload.
- To run programs on CUDA GPU, install CuPy and its dependencies such as CUDA toolkit working with your GPU.
To build OrchesPy, see also the section "Install from source".
Installation
You can install OrchesPy from PyPI or from source.
Install from PyPI
Execute the following command.
$ pip install orchespy
Install from source
To build OrchesPy, install CUDA toolkit and veoffload (VEO) for CuPy and NLCPy. Download the source tree from GitHub.
$ git clone https://github.com/SX-Aurora/orchespy.git
Execute the following command.
$ cd orchespy
$ pip install .
PIP will install dependencies automatically, and build and install OrchesPy on your environment.
Documentation
License
The BSD-3-Clause license (see LICENSE
file).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for orchespy-0.1.0b1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ee2b9852c3810b2e0b4d158a0eb24eda997b5a436d501775be4fb2fe6466c7 |
|
MD5 | 35e9e7eadb7f8fd144dcac365de0c70d |
|
BLAKE2b-256 | d9ef77d7fe02ade72c4b24bcd4a60e9a4f01c9f9c31e723257816a1527fc865e |