You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix wait_for_ready() dying early for slow-starting kernels
KernelClient.is_alive() checks heartbeat responsiveness,
so it be False early on if the kernel process is slow to start.
This can cause `wait_for_ready` to falsely claim the Kernel died before it has finished starting up.
The fix is two-fold:
1. Use KernelManager.is_alive when Manager is available (most of the time).
This isn't sensitive to slow startup.
2. When Manager isn't available, wait for `is_alive()` to become True at least once before entering the wait for the ready-reply.
0 commit comments