jakirkham
jakirkham

Reputation: 715

Restricting tasks within block to specific worker(s)

Currently have a problem where I would like to constrain all calls to compute, persist, etc. within a block of code to run on worker(s) with specific resources. Unfortunately don't have access to the calls to compute myself. Is it possible to apply this constraint using dask.config.set using the context manager syntax or some other equally effective mechanism?

Upvotes: 2

Views: 30

Answers (1)

MRocklin
MRocklin

Reputation: 57301

As of 2018-07-02 no, this is not supported. It does seem like a reasonable request though.

Upvotes: 1

Related Questions