Skip to content

Commit

Permalink
Fix UCX scrub config logging (#4850)
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev authored May 26, 2021
1 parent e55301b commit b03fd81
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions distributed/comm/ucx.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,9 @@ def _scrub_ucx_config():
options["NET_DEVICES"] = net_devices

# ANY UCX options defined in config will overwrite high level dask.ucx flags
valid_ucx_keys = list(get_config().keys())
for k, v in dask.config.get("ucx").items():
if k in valid_ucx_keys:
options[k] = v
else:
valid_ucx_vars = list(get_config().keys())
for k, v in options.items():
if k not in valid_ucx_vars:
logger.debug(
"Key: %s with value: %s not a valid UCX configuration option" % (k, v)
)
Expand Down

0 comments on commit b03fd81

Please sign in to comment.