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
xmap appears to turn static arguments into traced shapearrays. This can cause problems when one needs an argument to be static for a test.
The following code demonstrate the issue, first using vmap (no problem) then replacing it with xmap which fails (Abstract tracer value encountered where concrete value is expected) when testing the value of cond at the very beginning of the func function:
xmap
appears to turn static arguments into traced shapearrays. This can cause problems when one needs an argument to be static for a test.The following code demonstrate the issue, first using
vmap
(no problem) then replacing it withxmap
which fails (Abstract tracer value encountered where concrete value is expected
) when testing the value ofcond
at the very beginning of thefunc
function:This happens with the very last version of Jax (0.3.13).
The text was updated successfully, but these errors were encountered: