Skip to content

Variable caching location and April-2025 notebook#63

Merged
kreczko merged 35 commits intomainfrom
se_dev
Mar 17, 2025
Merged

Variable caching location and April-2025 notebook#63
kreczko merged 35 commits intomainfrom
se_dev

Conversation

@seriksen
Copy link
Collaborator

@seriksen seriksen commented Feb 6, 2025

Feature added:

  • DiracClient can be used to set a cache_location. Supported options are local:/path/to/cache and dirac:/path/to/cache

Usage example

from dask_dirac import DiracClient
from dask.distributed import LocalCluster

cluster = LocalCluster(n_workers=2)
client = DiracClient(cluster, cache_location="local:/tmp/dask-cache_05022025")

Example notebook added;

  • April2025_workshop to highlight two features;
    1. DiracClient: local caching
    2. LZ analysis for using @numba.njit and @numba.cuda.jit

@seriksen seriksen marked this pull request as draft February 11, 2025 13:02
@seriksen seriksen changed the title Draft: Variable caching location Variable caching location and April-2025 notebook Feb 11, 2025
@seriksen seriksen marked this pull request as ready for review March 14, 2025 18:19
@kreczko kreczko merged commit f8163d0 into main Mar 17, 2025
15 of 17 checks passed
@seriksen seriksen deleted the se_dev branch March 20, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments