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

Uploaded Source

Built Distribution

jaxopt-0.2-py3-none-any.whl (98.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxopt-0.2.tar.gz
  • Upload date:
  • Size: 64.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for jaxopt-0.2.tar.gz
Algorithm Hash digest
SHA256 3b4cc474cf910541bdedca1e1606bdec4ccbf67d4cf625e42f0abc365f485a90
MD5 7e257541a2fdaa401a2f7ce75b84cfe2
BLAKE2b-256 50037b3fe65629162a84118114489dcabd1d49988df3d8af952db99e218e4ec9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxopt-0.2-py3-none-any.whl
  • Upload date:
  • Size: 98.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for jaxopt-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b79881539552d519adb3ff4be8c230e42c9fa6475ab8f795ec71d779dea148
MD5 6fcb6ba8de4ec47ff96ff5c8a042f05f
BLAKE2b-256 fe61810252b4d88d598c4f73a93dfe8f9da819fb0091325386577da341aa19ef

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