Skip to main content

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


Download files

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

Source Distribution

jaxopt-0.4.1.tar.gz (78.0 kB view details)

Uploaded Source

Built Distribution

jaxopt-0.4.1-py3-none-any.whl (119.7 kB view details)

Uploaded Python 3

File details

Details for the file jaxopt-0.4.1.tar.gz.

File metadata

  • Download URL: jaxopt-0.4.1.tar.gz
  • Upload date:
  • Size: 78.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for jaxopt-0.4.1.tar.gz
Algorithm Hash digest
SHA256 075496604746f59fbe0dbd4f162cc4e7f880653dd972e2b8452e7279ad3c1720
MD5 768f7b2158892da18414b98adf9da5bb
BLAKE2b-256 361ba5a6c1e32ccee38897051e9d87ceff7d4e79d7034f32ad1e33d4696dacb9

See more details on using hashes here.

File details

Details for the file jaxopt-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: jaxopt-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 119.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for jaxopt-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c2677308def2fc0ead330dcb8a294d2f0634c0ba4404fc6324909d6afcb2137
MD5 85c4276f3ce667013a7c143ff87c5ed6
BLAKE2b-256 9596c6622647ef32595036176c2f68fe35a59efdf8f7143ab1441d8d490ef15e

See more details on using hashes here.

Supported by

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