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.8.3.tar.gz (121.2 kB view details)

Uploaded Source

Built Distribution

jaxopt-0.8.3-py3-none-any.whl (172.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxopt-0.8.3.tar.gz
  • Upload date:
  • Size: 121.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for jaxopt-0.8.3.tar.gz
Algorithm Hash digest
SHA256 4b06dfa6f915a4f3291699606245af6069371a48dc5c92d4c507840d62990646
MD5 bf96d071a1c223e6840ac0c38de2d947
BLAKE2b-256 f9af73f7514ea14d6aba0a851e03afbdd532a7af896577c708c6ce405917ce80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxopt-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 172.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for jaxopt-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4be2f82798393682529c9ca5046e5397ac6c8657b8acb6bf275e773b28df15b6
MD5 ce4811cf914052a78ed55479ffd0e146
BLAKE2b-256 64a4fc292a90a9c51d1b633cdffe2df30c702e1e0b3e0b568c7b81004cac0a06

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