-
# How to optimize a QML model using JAX and Optax | PennyLane Demos
Learn how to train a quantum machine learning model using PennyLane, JAX, and Optax.
[https://pennylane.ai/qml/demos/tutorial_How_…
-
Hi,
I spotted ocp.tree.serialize_tree but it seems the serialization logic won't work if you have empty leaves within a sequence. This happens quite frequently with optax where you'll end up with opt…
-
"I have jax 0.4.23. What happens is that when I install optax with the command `pip install optax`, I get an error message saying 'An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxl…
-
Hello everyone,
I've encountered a problem while implementing an A2C (Advantage Actor-Critic) network involving Flax and Optax. My network includes _policy_network_ and _value_network_, each containi…
-
All `update` methods can receive a `params` argument. It is `None` by default.
Most `update` methods can receive a `value` argument, but not all:
```python3
import optax
from jax import numpy …
-
I am adapting the docstring example of `optax.lbfgs()` to use complex-valued parameters instead of real-valued ones. The output function to optimize is still real-valued. But this raises a `TypeError:…
-
The test in `tests/test_simulations.py::test_simulation_with_relaxed_rigid_contacts` is failing with the following error:
```python
pytest -vv tests/test_simulations.py::test_simulation_with_relaxed…
-
Its docstring is extremely poor: https://optax.readthedocs.io/en/latest/api/transformations.html#optax.centralize
* Explain what centralize means
* Add a usage example
* Put reference in co…
-
[jaxopt is being merged with optax](https://github.com/google/jaxopt?tab=readme-ov-file#jaxopt). All [the features we use](https://github.com/talmolab/stac-mjx/blob/main/stac_mjx/stac_base.py#L231-L23…
-
Optax has a function [`multi_transform`](https://optax.readthedocs.io/en/latest/api/combining_optimizers.html#optax.multi_transform), which is nice for using multiple optimizers. [See here](https://co…