Program Hangs When Using `donate_argnums`
See original GitHub issueAs the title suggests, my program will hang when I try to donate self
in a method of a @struct.dataclass
.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Program hangs after using pipe, fork and exec - Stack Overflow
I am specifically using ls | grep to test it. It works, the data gets copied over to grep, grep searches for matches...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also had the problem (https://github.com/google/jax/issues/12627). Check if there are same leaves in pytree?
BTW by “twice” I mean “if you pass the same argument to the same call to a jitted function more than once”.
It’s hard to say without a reproduction we can run, though!