Patrick Kidger
banner
patrickkidger.bsky.social
Patrick Kidger
@patrickkidger.bsky.social
I do SciML + open source!
🧪 ML+proteins @ http://Cradle.bio
📚 Neural ODEs: http://arxiv.org/abs/2202.02435
🤖 JAX ecosystem: http://github.com/patrick-kidger
🧑‍💻 Prev. Google, Oxford
📍 Zürich, Switzerland
This would run a tick of our event loop each time the asyncio loop gives control to it.

2/2
July 22, 2025 at 9:01 PM
Thanks! I was also particularly happy landing on the list syntax.

Indeed it doesn't work with asyncio atm, but... I reckon doing so might just be as simple as adding an `await asyncio.sleep(0)` inside our `run` function (right before it calls `self._step`).

1/2
July 22, 2025 at 9:01 PM
Also I really needer error propagation to/from threads running sync code, which trio doesn't support. I could have added it with a custom to_thread.run_sync wrapper but it was another reason to try my hand at my own minimal thing.
July 22, 2025 at 12:04 PM
Yup, trio is excellent. I even recommend it in the README! 😄 For anything big and serious that is definitely the way to go.

This is one part hobby project to learn something, and one part building the simplest possible thing to support the use case I had in mind.

1/2
July 22, 2025 at 12:04 PM
...like `pdb`, but with a snappier interface, fewer commands overall, with a focus on a clean REPL/TUI experience to navigate the stack.

Now used by me... and adopted by a host of my coworkers at Cradle! 3/3
June 4, 2025 at 1:13 PM
This library brought to you originally by my need to debug re-raised exceptions in some of the libraries I'm using. Then in my usual fashion I kept adding features, and now we have a whole library 😄

If like me your debugging experience has been a lot of `pdb`, then this library is for you... 2/3
June 4, 2025 at 1:13 PM
Me please! :) I work on bioML. Google scholar mostly reflecting past work in broader sciML:

scholar.google.co.uk/citations?us...
scholar.google.co.uk
May 23, 2025 at 1:55 PM
Agreed! I have no idea how that works. Is it a thing I submit to or a thing they pick up?
May 22, 2025 at 7:19 PM
Hehe! I originally intended to include the rest of bioML and was then like 'this post is becoming way too long' 😄
May 21, 2025 at 5:59 AM
A huge thanks to Owl, Johanna Haffner, and Jonathan Ziegler for their feedback on the article! I think we ended up with something great. (If a little intimidating.)

Also as timing would have it, also check out @ncfrey.bsky.social's post from yesterday!

ncfrey.substack.com/p/getting-st...

2/2
x.com
May 20, 2025 at 1:42 PM
And merged! 😃
May 9, 2025 at 4:56 PM
Shall we add this to the Eqx ecosystem page? I really like it.

docs.kidger.site/equinox/awes...
Awesome list - Equinox
The documentation for the Equinox software library.
docs.kidger.site
May 9, 2025 at 6:49 AM