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)

  • 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.dev120

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.dev120
File Size Uploaded Provenance Actions
primitiv-0.3.1.dev120.tar.gz 154.8 kB Without provenance Details for primitiv-0.3.1.dev120.tar.gz

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

Download URL primitiv-0.3.1.dev120.tar.gz
Size 154.8 kB
Tags Source
SHA-256 checksum
How to use checksums
385c9edc1e7bc72a7bebd54072d95f1483afa284605f923fd6c3973ec1b45195
BLAKE2b-256 checksum
How to use checksums
b6ae113fcbe896d97c20b7c5433d5f6c0e01c4dc0171dab636c7d6a5383442e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for primitiv 0.3.1.dev120

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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