-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter_pmap traces function twice #932
Comments
So this is expected, as Line 372 in 36f8116
in order to resolve the output axes correctly. I can see the interaction with |
Yeah I realize pmap is the old way, but I have a use case where I'm not convinced jit with sharding is able to do what I want (or at least I haven't been able to figure out how to do it yet). |
Would it be worth updating the docs of |
It's pretty edge-case, unless this comes up a few times then I think just the existence of this issue is probably enough :) |
RuntimeError: <function f at 0x107a1a840> can only be traced 1 times. However, it is has now been traced 2 times. Could not determine argument was responsible for re-tracing.
Not sure if this is WAI, but I was adding pmap to some code and was surprised to see it and it doesn't seem to be documented. Happy to contribute a fix or update docs if you can give me any pointers.
The text was updated successfully, but these errors were encountered: