Skip to main content

alt text

Nabla is a scientific computing library in Python, featuring:

  • Multidimensional array computation with strong GPU acceleration
  • JAX-like composable function transformations: grad, vmap, jit, and other automatic differentiation tools
  • Deep integration with the MAX compiler and custom Mojo 🔥 kernels

For tutorials and API reference, visit: nablaml.com

Installation

pip install nabla-ml

Quick Start

import nabla as nb

# Example function using Nabla's array operations
def foo(input):
    return nb.sum(input * input, axes=-1)

# Differentiate, vectorize, accelerate
foo_grads = nb.jit(nb.vmap(nb.grad(foo)))
gradients = foo_grads(nb.randn((10, 5)).to(nb.accelerator()))

For Developers

  1. Clone the repository
  2. Create a virtual environment (recommended)
  3. Install dependencies
git clone https://github.com/nabla-ml/nabla.git
cd nabla

python3 -m venv venv
source venv/bin/activate

pip install -r requirements-dev.txt
pip install -e ".[dev]"

Repository Structure

nabla/
├── nabla/                     # Core Python library
│   ├── core/                  # Array class and MAX compiler integration
│   ├── nn/                    # Neural network modules and models
│   ├── ops/                   # Mathematical operations (binary, unary, linalg, etc.)
│   ├── transforms/            # Function transformations (vmap, grad, jit, etc.)
│   └── utils/                 # Utilities (formatting, types, MAX-interop, etc.)
├── tests/                     # Comprehensive test suite
├── tutorials/                 # Notebooks on Nabla usage for ML tasks
└── examples/                  # Example scripts for common use cases

Contributing

Contributions welcome! Discuss significant changes in Issues first. Submit PRs for bugs, docs, and smaller features.

License

Nabla is licensed under the Apache-2.0 license.


Thank you for checking out Nabla!

Development Status PyPI version Python 3.12+ License: Apache 2.0

Metadata

Release files for nabla-ml 25.8081506

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nabla-ml 25.8081506
File Size Uploaded Provenance Actions
nabla_ml-25.8081506.tar.gz 96.4 kB Without provenance Details for nabla_ml-25.8081506.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nabla-ml 25.8081506
File Interpreter ABI Platform Actions
nabla_ml-25.8081506-py3-none-any.whl Python 3 none any Details for nabla_ml-25.8081506-py3-none-any.whl

Total release size: 225.8 kB

Release files / nabla_ml-25.8081506.tar.gz

Download URL nabla_ml-25.8081506.tar.gz
Size 96.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d3220e90db1fc81dab6aad85fc7c9270a49ec1560e8722b39e2be357cb5cae1c
BLAKE2b-256 checksum
How to use checksums
bea3dfe9ccef3ee77c2d0c75a9e58180dd280c0c49d857012848519d7cb9c514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / nabla_ml-25.8081506-py3-none-any.whl

Download URL nabla_ml-25.8081506-py3-none-any.whl
Size 129.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be1d6987711ef9e6bda7c6baed6baa1a8f90b2423f523ffc7db832529346b942
BLAKE2b-256 checksum
How to use checksums
7a2cec9dbc9a11d8d598be0f8bff6d205fbac08108890468fbf7c30a9504bda1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for nabla-ml 25.8081506

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.

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