taichi-dev / taichi

Productive, portable, and performant GPU programming in Python.
https://taichi-lang.org
Apache License 2.0
25.05k stars 2.26k forks source link

AutoDiff and AoT #8515

Open ko-work opened 2 months ago

ko-work commented 2 months ago

Hi, is it possible to use autodiff from c++? I have found this comment: https://github.com/taichi-dev/taichi/issues/5639#issuecomment-1216139214 , so I am curious if it is possible to save kernels or cgraph from python than later use in c++ with tape and have the grad values.