Skip to content

Commit

Permalink
Add UCX-Py connect timeout patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Jan 21, 2025
1 parent 29af6cc commit 35a3aa6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rapids_dask_dependency/patches/distributed/ucx_connect_timeout.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import distributed.comm.ucx

init_once_original = distributed.comm.ucx.init_once

def init_once_patched():
print("PATCHED!", flush=True)
init_once_original()

print("Patching...", flush=True)
distributed.comm.ucx.init_once = init_once_patched

0 comments on commit 35a3aa6

Please sign in to comment.