Hardware accelerated, batchable and differentiable optimizers in JAX.
Project description
JAXopt
Installation | Documentation | Examples | Cite us
Hardware accelerated, batchable and differentiable optimizers in JAX.
- Hardware accelerated: our implementations run on GPU and TPU, in addition to CPU.
- Batchable: multiple instances of the same optimization problem can be automatically vectorized using JAX's vmap.
- Differentiable: optimization problem solutions can be differentiated with respect to their inputs either implicitly or via autodiff of unrolled algorithm iterations.
Installation
To install the latest release of JAXopt, use the following command:
$ pip install jaxopt
To install the development version, use the following command instead:
$ pip install git+https://github.com/google/jaxopt
Alternatively, it can be installed from sources with the following command:
$ python setup.py install
Cite us
Our implicit differentiation framework is described in this paper. To cite it:
@article{jaxopt_implicit_diff,
title={Efficient and Modular Implicit Differentiation},
author={Blondel, Mathieu and Berthet, Quentin and Cuturi, Marco and Frostig, Roy
and Hoyer, Stephan and Llinares-L{\'o}pez, Felipe and Pedregosa, Fabian
and Vert, Jean-Philippe},
journal={arXiv preprint arXiv:2105.15183},
year={2021}
}
Disclaimer
JAXopt is an open source project maintained by a dedicated team in Google Research, but is not an official Google product.
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
File details
Details for the file jaxopt-0.7.tar.gz
.
File metadata
- Download URL: jaxopt-0.7.tar.gz
- Upload date:
- Size: 103.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6784a1b53bca8ebe95db36f8f5969d229fa0351b0aeceb0d9debe810fbc60890 |
|
MD5 | 3fd167184106cfa2a6857c4cb1e5d912 |
|
BLAKE2b-256 | abc33f4db9296478727c68b25dc4089266fbd5d24ecb335aeb7c008918e0cdcb |
File details
Details for the file jaxopt-0.7-py3-none-any.whl
.
File metadata
- Download URL: jaxopt-0.7-py3-none-any.whl
- Upload date:
- Size: 151.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847ee7b81ebeb8a867d8ee9edc5294022c9cca049a3a785092cdb189b92bfafa |
|
MD5 | dfa5b3d2b7dfd151080b9ed8d7fc2c00 |
|
BLAKE2b-256 | 25d6cbc3d3c0a7a029ad5652f899a8f673b760ce7b22142593487014fb2f9612 |