Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
edyounis committed Aug 27, 2024
1 parent dc5152e commit 7246e37
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bqskit/runtime/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,11 @@ def _handle_cancel(self, addr: RuntimeAddress) -> None:
if not t.is_descendant_of(addr)
]

def _handle_communicate(self, addrs: list[RuntimeAddress], msg: Any) -> None:
def _handle_communicate(
self,
addrs: list[RuntimeAddress],
msg: Any,
) -> None:
for task_addr in addrs:
if task_addr not in self._tasks:
continue
Expand Down Expand Up @@ -763,7 +767,7 @@ def start_worker(
set_blas_thread_counts(num_blas_threads)

# Enforce no default logging
logging.lastResort = logging.NullHandler() # type: ignore # typeshed#11770
logging.lastResort = logging.NullHandler()
logging.getLogger().handlers.clear()

# Pin worker to cpu
Expand Down

0 comments on commit 7246e37

Please sign in to comment.