Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

primitiv: A Neural Network Toolkit. (Python frontend)

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

--enable-eigen flag that enables Eigen backend is added by default in the package contained in PyPI. To disable the Eigen backend, use --disable-eigen flag. Note that Eigen is bundled with the package contained in PyPI.

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.dev231

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.dev231
File Size Uploaded
primitiv-0.4.0.dev231.tar.gz 1.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for primitiv 0.4.0.dev231
File Interpreter ABI Platform
primitiv-0.4.0.dev231-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
primitiv-0.4.0.dev231-cp35-cp35m-manylinux2010_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64 Details

Total release size: 10.9 MB

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

Download URL primitiv-0.4.0.dev231.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
c241da618fbd26d07f5deae0662b5a51ca298d0d5c37442c9ef4b3fa9b4b4e28
BLAKE2b-256 checksum
How to use checksums
fb9eed97681aa3c06f19bfa2a33602f195595dd5dfab8ed93f59ee40c560105b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

Release files / primitiv-0.4.0.dev231-cp36-cp36m-manylinux2010_x86_64.whl

Download URL primitiv-0.4.0.dev231-cp36-cp36m-manylinux2010_x86_64.whl
Size 4.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
bbf714936fccd69106bae74600c40869f66a62309cbfb396c5418fefe93f92df
BLAKE2b-256 checksum
How to use checksums
c98879eeb762e79f6ee8490536f07ee63759d78ca6e020de4cbd0d4f85d9eb46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

Release files / primitiv-0.4.0.dev231-cp35-cp35m-manylinux2010_x86_64.whl

Download URL primitiv-0.4.0.dev231-cp35-cp35m-manylinux2010_x86_64.whl
Size 4.9 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
df4c2964124f7bd88c8167a4e3fc85192d0817209b8df4d8d7b02c6497a34b67
BLAKE2b-256 checksum
How to use checksums
b68105d2a0bb8aafb85014f3dbb73912ba2675dd12fa31a0e5c571301b2aa2b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.4.0.dev231 This release

3 release files

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