You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
I have a question regarding compilation using the jax backend. In my particular use-case, I have a tensor network that I connect differently for every contraction. I have noticed that this makes runtime slower with the jax backend than with the numpy backend. Using the snakeviz profiler, I can see that the library compiles with every new step which makes me think that you are jit compiling the contraction of a specific network. The result is that even when I jit compile the entire sequence of different network connectivities and contractions on a higher level, the resulting performance is only on par with the numpy backend. Is there a way to turn off the native compilation, or do you have an idea how I can still leverage it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello TensorNetwork Team and community 👋
I have a question regarding compilation using the
jaxbackend. In my particular use-case, I have a tensor network that I connect differently for every contraction. I have noticed that this makes runtime slower with thejaxbackend than with thenumpybackend. Using thesnakevizprofiler, I can see that the library compiles with every new step which makes me think that you arejitcompiling the contraction of a specific network. The result is that even when Ijitcompile the entire sequence of different network connectivities and contractions on a higher level, the resulting performance is only on par with thenumpybackend. Is there a way to turn off the native compilation, or do you have an idea how I can still leverage it?Manuel
Beta Was this translation helpful? Give feedback.
All reactions