This release is a pre-release and may not be stable for production use.
Features
Dynamic and incremental graph construction
On-demand memory allocation
Automatic minibatch broadcasting
Mostly device-independent
Simple usage
Install
Prerequisites:
Python 3 (3.5 or later)
NumPy (1.11.0 or later)
Cython (0.27 or later)
scikit-build (0.6.1 or later, only for building)
(optional) CUDA (7.5 or later)
(optional) OpenCL (1.2 or later) and OpenCL C++ binding v2
Install dependencies:
pip3 install numpy cython scikit-build
Build and install primitiv without CUDA and OpenCL:
pip3 install primitiv
Build and install primitiv with CUDA and/or OpenCL support:
# Enable only CUDA pip3 install primitiv --global-option --enable-cuda # Enable both CUDA and OpenCL pip3 install primitiv --global-option --enable-cuda --global-option --enable-opencl
Notes
According to the manylinux1 policy described in PEP 513, binary packages are required to depend only on an extremely limited set of external shared libraries. Most users may install primitiv with CUDA and/or OpenCL backends that are not supported in the manylinux1 policy. For now, we provide only a source pacakge.
Resources
Metadata
Release files for primitiv 0.3.1.dev128
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| primitiv-0.3.1.dev128.tar.gz | 155.0 kB | Details |
Release files / primitiv-0.3.1.dev128.tar.gz
| Download URL | primitiv-0.3.1.dev128.tar.gz |
|---|---|
| Size | 155.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a68d7a27553ab36a5839b394ae75bd8eca14b1b349dc40960b0876555808c73
|
|
BLAKE2b-256 checksum How to use checksums |
788c0d1064d2ef36ac72739a99fc7e5ec2c5453e06a7c07bbd6f124e63f22a37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |