xiaoshiyi:

Is there any way to modify the code to save the trained model?


It absolutely can be done. It would just take some work  But we would be more than happy to see improvements here, so please feel free to send PRs! See this issue we have open 12.



 xiaoshiyi:

I found nearly all AI compiler focused on inference other than training. Why? Is it too hard to support training? Or nobody need AI compiler for training?


One reason AI compilers might not support training is that inference is just an easier place to start. That doesn’t mean training is too hard, though. We would like to eventually expand our training support.



 xiaoshiyi:

If I wanna make glow to be a backend for a AI framework such as Tensorflow, is it possible?


Yes, as long as you can get it into a format Glow can import, such as ONNX proto. See this post 28.