Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Mar 26, 2021
1 parent a8bd41f commit 3f81213
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/ucx/client_initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ def main(
# initialize client
client = Client(address)

# client code here
# user code here
rs = da.random.RandomState(RandomState=cupy.random.RandomState)
x = rs.random((10000, 10000), chunks=1000)
x.sum().compute()

# shutdown client
# shutdown cluster
client.shutdown()


Expand Down
4 changes: 2 additions & 2 deletions examples/ucx/local_cuda_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ def main(
# initialize client
client = Client(cluster)

# client code here
# user code here
rs = da.random.RandomState(RandomState=cupy.random.RandomState)
x = rs.random((10000, 10000), chunks=1000)
x.sum().compute()

# shutdown client
# shutdown cluster
client.shutdown()


Expand Down

0 comments on commit 3f81213

Please sign in to comment.