-
Hi Jaxley community, I was using the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I haven't been able to run this line of code actually because my jupyter notebook's kernel keeps crashing when running. Has anyone encountered the issue and know the answer? Thank you! |
Beta Was this translation helpful? Give feedback.
-
There are a few ODE solving algorithms that different simulators use. For NEURON, they used "thomas". Different algorithms have different performance under different conditions: thomas is slightly faster on CPU, stone is faster on GPU and works best when there are long branches with many compartments (see Jaxley's doc for detailed explaination). For the current cell I am working with, "sparse" provides a short runtime. The lesson learned is to change the solvers/algorithms. The syntax is jx.integrate(…, voltage_solver=“jax.sparse”) |
Beta Was this translation helpful? Give feedback.
There are a few ODE solving algorithms that different simulators use. For NEURON, they used "thomas". Different algorithms have different performance under different conditions: thomas is slightly faster on CPU, stone is faster on GPU and works best when there are long branches with many compartments (see Jaxley's doc for detailed explaination). For the current cell I am working with, "sparse" provides a short runtime. The lesson learned is to change the solvers/algorithms.
The syntax is jx.integrate(…, voltage_solver=“jax.sparse”)