Replies: 2 comments
-
Really odd this bug isn’t discussed anywhere at all, even by the flax maintainers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @zhengzl18 and @jolyda, Sorry for the delay. I believe we re-enabled the mechanism that tries to prevent tracer leakage in this version. In general you should not pass mutable Flax objects as a capture. Its a bit hard to tell what is wrong without a reproducer. The only thing I notice is that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. My code worked fine under 0.10.4, but after updating to 0.10.5, I got an
TraceContextError
. My code structure was like:And the error occured in
model.get_feature(data.obs)
:I tried to not jit
get_feature
, but again an error occured in the dropout module:I guess it's because trace-level detection was added back in #4527? I currently downgrade back to 0.10.4, but I'm worrying about whether this indicates that something's wrong in my codes?
Beta Was this translation helpful? Give feedback.
All reactions