fdtd icon indicating copy to clipboard operation
fdtd copied to clipboard

deprecate pytorch backend in favor of JAX

Open flaport opened this issue 3 years ago • 2 comments

JAX might potentially offer considerable speedups and offers better overlap with the numpy api.

flaport avatar Apr 15 '21 17:04 flaport

Just stumbled on this, you can have both fairly easily with https://github.com/jcmgray/autoray :)

Also allows for a numpy-like API , see e.g. here https://github.com/FHof/torchquad/blob/develop/torchquad/integration/trapezoid.py

gomezzz avatar Feb 21 '22 11:02 gomezzz

Thanks @gomezzz ,

This looks pretty cool indeed! I'll look into it 🙂

flaport avatar Feb 21 '22 14:02 flaport