Skip to content

Is there a way to define a Worker Resource as infinite? #5010

Answered by aa1371
aa1371 asked this question in Q&A
Discussion options

You must be logged in to vote
$ dask-worker <address> --resources="TAG1=inf"

Works as expected since float('inf') is a valid float, and respects all the behavior I'd expect in the worker resources code, e.g. inf - 1 == inf, inf > 0, etc.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@aa1371
Comment options

@aa1371
Comment options

Comment options

You must be logged in to vote
3 replies
@aa1371
Comment options

@aa1371
Comment options

@aa1371
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by aa1371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants