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

Uploaded Source

Built Distribution

jaxopt-0.1.1-py3-none-any.whl (76.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxopt-0.1.1.tar.gz
  • Upload date:
  • Size: 46.4 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.3 CPython/3.9.7

File hashes

Hashes for jaxopt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 94dbfb899cd65751e27859aa55fb7205d41fc9d780820878fb57d252a162c71f
MD5 a3a05654d25360f63455e5b99d044623
BLAKE2b-256 ac62f5c8dad9f690c63872a90f7f7de8fd68843d354751e42dd33470d72b29a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxopt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 76.4 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.3 CPython/3.9.7

File hashes

Hashes for jaxopt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6480311ccdddcf32cb107ba157eccacdd7c4591059a73875f86e59f954ad034
MD5 edaca443fdaf6a490443c4063dad74cf
BLAKE2b-256 54b555b1a224b73d2c68e1358f5be3f9adc2635013af5862e2e6df38a7051fef

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