pytorch
backend significantly slower than tensorflow
#844
Answered
by
lululxvi
ma-sadeghi
asked this question in
Q&A
-
I ran the "Poisson equation over L-shaped domain" example on an RTX 8000 once using tensorflow
----------
"adam" training ~ 90 seconds
"L-BFGS" training ~ 400 seconds
pytorch
-------
"adam" training ~ 1040 seconds
"L-BFGS" training ~ 530 seconds which is ~ 10x slower for "adam" training. Is this expected? (and why) Thank you so much! |
Beta Was this translation helpful? Give feedback.
Answered by
lululxvi
Aug 18, 2022
Replies: 1 comment 4 replies
-
Tensorflow is accelerated by XLA by default. https://deepxde.readthedocs.io/en/latest/modules/deepxde.html#deepxde.config.disable_xla_jit |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ma-sadeghi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tensorflow is accelerated by XLA by default. https://deepxde.readthedocs.io/en/latest/modules/deepxde.html#deepxde.config.disable_xla_jit