Skip to content

Commit

Permalink
Fix formatting with black
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Apr 20, 2020
1 parent 78ba385 commit 258bdca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions distributed/comm/ucx.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ async def read(self, deserializers=("cuda", "dask", "pickle", "error")):
else:
# Recv frames
frames = [
device_array(each_size)
if is_cuda
else host_array(each_size)
device_array(each_size) if is_cuda else host_array(each_size)
for is_cuda, each_size in zip(cuda_frames, sizes)
]
recv_frames = [
Expand Down

0 comments on commit 258bdca

Please sign in to comment.