mne-tools / mne-connectivity

Connectivity algorithms that leverage the MNE-Python API.
https://mne.tools/mne-connectivity/dev/index.html
BSD 3-Clause "New" or "Revised" License
68 stars 34 forks source link

[State-space model; dependent on #100] Replace autograd with Jax #103

Open adam2392 opened 2 years ago

adam2392 commented 2 years ago

Autograd is not actively developed anymore and is superseded by jax. In #100, @jadrew43 will implement things first with autograd since he's comfortable w/ that already. This GH issue will track when #100 is done, to refactor the code to replace all autograd functions w/ jax.

Hey @adam2392 one of the CI errors is due to autograd: ModuleNotFoundError: No module named 'autograd'. I'd really like to move to the next step of the proposal and work to integrate jax (to replace autograd) later on in order to keep pace with the summer milestones. Is it alright if I install autograd in the dependencies for mnedev (assuming that will fix the error) for now and work to integrate jax later on?

Originally posted by @jadrew43 in https://github.com/mne-tools/mne-connectivity/issues/100#issuecomment-1192985103