question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Program Hangs When Using `donate_argnums`

See original GitHub issue

As the title suggests, my program will hang when I try to donate self in a method of a @struct.dataclass.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
imoneoicommented, Oct 4, 2022

I also had the problem (https://github.com/google/jax/issues/12627). Check if there are same leaves in pytree?

1reaction
hawkinspcommented, May 18, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found