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)

  • 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

Install primitiv without CUDA and OpenCL:

pip3 install primitiv

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

Resources

Metadata

Release files for primitiv 0.3.1.dev123

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.3.1.dev123
File Size Uploaded
primitiv-0.3.1.dev123.tar.gz 154.7 kB Details

Release files / primitiv-0.3.1.dev123.tar.gz

Download URL primitiv-0.3.1.dev123.tar.gz
Size 154.7 kB
Tags Source
SHA-256 checksum
How to use checksums
830e10d3b4241dcd3365517b205405d19f0d147e97499e7bef2f32f726d95812
BLAKE2b-256 checksum
How to use checksums
6ea0ddda2a6cb0127054b0d156ac67a92272776103265d7e89ea22f2983d14dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1.dev123 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