-
Notifications
You must be signed in to change notification settings - Fork 169
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
jax jitted functions cloudpickled work but include some error messages #537
Comments
update: the methods change and a hash equality check fails, despite similar functionality before and after. anybody know a good way to get this equality check passing? elif isinstance(value1, PjitFunction):
if not isinstance(value2, PjitFunction):
decision = False
else:
v1_hash = value1.__hash__
v2_hash = value2.__hash__
rprint(f"{type(value1)=}", dir(value1))
rprint(f"{type(value2)=}", dir(value2))
if v1_hash != v2_hash:
decision = False |
I don't understand the intents of the snippet above: |
Cloud you please provide a full reproducing snippet for the code used in #537 (comment)? |
problems
cloudpickle works for jax.jit functions but a visual inspection of the cloudpickle contents shows there's a lurking error message
challenges
not sure if this belongs in cloudpickle or jax
is this my bad? I was hopeful we could just use the string jaxpr in utf8, it's more human readable, but I don't know how to regenerate a PjitFunction from a jaxpr
opportunities
a fix could reduce the size of cloudpickled jax.jit functions
Could
JAX_TRACEBACK_FILTERING=
be greppable ?thank you for making cloudpickle
The text was updated successfully, but these errors were encountered: