Skip to main content

A tensor-valued autograd engine for Python

Project description

cudagrad

CUDA C++ strided float tensor automatic differentiation engine with Python bindings

Install

Available on PyPI:

pip install cudagrad

Distributed as:

  • A source distribution, requiring the cmake command, and optionally the nvcc command, to be available at installation time.
  • A binary distribution, targeting the Kaggle Python docker images:

Examples

The following examples were written purely in Python using only cudagrad.Tensor for learning:

OR

0.52 seconds (59.5% faster than torch)

/benchmarks/_cudagrad/or.py

XOR

4.5 seconds (39.2% faster than torch)

/benchmarks/_cudagrad/xor.py

MOONS

14.25 seconds (5.8% slower than torch)

/benchmarks/_cudagrad/moons.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cudagrad-0.2.8-cp310-cp310-manylinux2014_x86_64.whl (682.3 kB view details)

Uploaded CPython 3.10

File details

Details for the file cudagrad-0.2.8-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cudagrad-0.2.8-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 697169524fbfd8d1791a5a9fc2643cfffeae99eb8732b8974196682316d20abf
MD5 0ef943a8e432277b2ec8471e9889ae23
BLAKE2b-256 1b4d5fd13253e9746e1c00bd601864f18793fa60f7515ea29260766d582bbb65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page