-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce incompatible-types and enables spilling of CuPy arrays (#856)
This PR replaces `ignore_types` introduced in #568 with `incompatible_types`, which is a list of types that `ProxifyHostFile` will unproxify on retrieval. This makes it possible to spill types we previously ignored completely such as `cupy.ndarray`. To mark a type incompatible, add it to the comma separated config value `"jit-unspill-incompatible"` or environment variable `DASK_JIT_UNSPILL_INCOMPATIBLE`. The default value is: `DASK_JIT_UNSPILL_INCOMPATIBLE="cupy.ndarray"` Closes #855 Notice, I have marked the PR `breaking` because the `DASK_JIT_UNSPILL_IGNORE` option has been removed. cc. @VibhuJawa Authors: - Mads R. B. Kristensen (https://github.com/madsbk) - Ashwin Srinath (https://github.com/shwina) Approvers: - Peter Andreas Entschev (https://github.com/pentschev) URL: #856
- Loading branch information
Showing
4 changed files
with
80 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters