Skip to main content
Pre-release

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)

  • CMake (3.1.0 or later)

  • scikit-build (0.6.1 or later)

  • (optional) CUDA (7.5 or later)

  • (optional) OpenCL (1.2 or later) and OpenCL C++ binding v2

Install required packages:

pip3 install numpy cython cmake 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

We are providing only a source pacakge for now, and pip command downloads the source package and builds it before installing. This is mainly because of keeping compatibility with the manylinux1 standard described in PEP 513 while maintaining supports of non-standard backends such as CUDA/OpenCL.

Resources

Metadata

Release files for primitiv 0.4.0.dev159

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for primitiv 0.4.0.dev159
File Size Uploaded
primitiv-0.4.0.dev159.tar.gz 185.4 kB Details

Release files / primitiv-0.4.0.dev159.tar.gz

Download URL primitiv-0.4.0.dev159.tar.gz
Size 185.4 kB
Tags Source
SHA-256 checksum
How to use checksums
be65a1b8bfba35ac47811d0301d043a023667cb4f148dd70550bb43394cb29d9
BLAKE2b-256 checksum
How to use checksums
9faea8f5bacddc1d459bda33c5a4301907254b0f1e1e86ddf1166c04d80b4f1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0.dev159 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page