This is a meta issue for conversion of code to JAX. The target is lectures that are currently accelerated by Numba and could alternatively be accelerated by JAX.
One example is https://python.quantecon.org/wealth_dynamics.html
This could be shifted to JAX (as a model for this, see the solution to the last exercise in https://python-programming.quantecon.org/jax_intro.html)
@thomassargent30 suggests that, at least for now, we keep the Numba code and add the JAX code as a separate implementation, so that we can compare the speed. I suggest that we put the JAX code first in each case.
Also, for each lecture, we should only add the JAX code if it's actually faster.
As a workflow, I suggest that we
- create a separate issue for each lecture to be converted
- close that issue via PR
- close this meta issue
@Smit-create and @HumphreyYang , I would like you to lead this project, if you are willing. I will supervise. We can discuss this via zoom before you get started, or during, if it's helpful. Just request by email and we'll set it up.
This is a meta issue for conversion of code to JAX. The target is lectures that are currently accelerated by Numba and could alternatively be accelerated by JAX.
One example is https://python.quantecon.org/wealth_dynamics.html
This could be shifted to JAX (as a model for this, see the solution to the last exercise in https://python-programming.quantecon.org/jax_intro.html)
@thomassargent30 suggests that, at least for now, we keep the Numba code and add the JAX code as a separate implementation, so that we can compare the speed. I suggest that we put the JAX code first in each case.
Also, for each lecture, we should only add the JAX code if it's actually faster.
As a workflow, I suggest that we
@Smit-create and @HumphreyYang , I would like you to lead this project, if you are willing. I will supervise. We can discuss this via zoom before you get started, or during, if it's helpful. Just request by email and we'll set it up.