Taylor-mode automatic differentiation for PyTorch
Project description
Taylor Mode Autodiff in PyTorch
This library provides a PyTorch implementation of Taylor mode automatic differentiation, a generalization of forward mode to higher-order derivatives.
It is similar to JAX's Taylor mode (jax.experimental.jet).
The repository also hosts the Python functionality+experiments and LaTeX source for our NeurIPS 2025 paper "Collapsing Taylor Mode Automatic Differentiation", which allows to further accelerate Taylor mode for many practical differential operators.
🔪 Warning: expect rough edges! 🔪
This is a research prototype with various limitations (e.g. operator coverage). We highly recommend double-checking your results with PyTorch's autodiff. Please help us improve the package by providing feedback, filing issues, and opening pull requests.
Getting Started
Installation
pip install jet-for-pytorch
Examples
See the documentation.
Citing
If you find the jet package useful for your research, consider citing
@inproceedings{dangel2025collapsing,
title = {Collapsing Taylor Mode Automatic Differentiation},
author = {Felix Dangel and Tim Siebert and Marius Zeinhofer and Andrea
Walther},
year = 2025,
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jet_for_pytorch-0.0.1.tar.gz.
File metadata
- Download URL: jet_for_pytorch-0.0.1.tar.gz
- Upload date:
- Size: 4.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
757eeb184564f8f5af30b4a1a38a0cef15980599815929d5ecfd5150d162a0cf
|
|
| MD5 |
f8cb3aeb7ca6e9489a99887bca6268af
|
|
| BLAKE2b-256 |
6e6420ac9e664475a4bb4d01bf341a88d4d7cdd54e962e642b8f7ca2b93a60cf
|
File details
Details for the file jet_for_pytorch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: jet_for_pytorch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b66b1d83f7d441bf1beb87b984ac4181a3ab26addefd0582b50d83bbc2b6810
|
|
| MD5 |
258bb230293bb2b023e350f67ee4f84a
|
|
| BLAKE2b-256 |
60ae55c842c270fafbf482f1dfc282d323eb5fc5b67e1da42691bc706662fd46
|