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

Uploaded Source

Built Distribution

jaxopt-0.1-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxopt-0.1.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for jaxopt-0.1.tar.gz
Algorithm Hash digest
SHA256 8a7c5031f0b9b0e0b82633a1b27652496f8dbf5068d6aea1b2e94378610dea5b
MD5 9ae4bb941023f1e2ca51f50cf1c6b138
BLAKE2b-256 49dcc110f0a5829038e2b7d2717205fdeb19ab970f10ed90c0a3f44fcf3337a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxopt-0.1-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for jaxopt-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70fb2ce11ca77c4f12fdc235f0500f99246c53b53ef60288524333178d506973
MD5 d77f825c7111e481acbbeb36587daa33
BLAKE2b-256 88fab580f92ecdd6f6ec480ad64a875dff49f7a7003ee5a8393f9993ca61bd06

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