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.6-cp310-cp310-manylinux2014_x86_64.whl (766.6 kB view details)

Uploaded CPython 3.10

File details

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

File metadata

File hashes

Hashes for cudagrad-0.2.6-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82573bd46b52f5760081ee3c01af68c57cb0a693bcc1af09388ff6ec9ccdc9f4
MD5 0d9e8b99ea3f10941f91912d86b6167a
BLAKE2b-256 d0483414e7f8dd15188efc9b8cefd09e0bb06d080ce8f674aace0724e5e3fa3c

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