We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8548c6f commit c18704dCopy full SHA for c18704d
src/utils/caching.jl
@@ -66,10 +66,10 @@ function enable_disk_caching!(
66
processes::Vector{Int}=procs(),
67
)
68
results = [
69
- remotecall(id) do
70
- !isdefined(Main, :Dagger) && Main.eval(:(using Dagger))
71
- Dagger.MemPool.setup_global_device!(
72
- Dagger.MemPool.DiskCacheConfig(;
+ # N.B. We pass the Dagger module to help serialization find it remotely
+ remotecall(id, Dagger) do _Dagger
+ _Dagger.MemPool.setup_global_device!(
+ _Dagger.MemPool.DiskCacheConfig(;
73
toggle=true, membound=mem_limits[id], diskbound=disk_limit_mb * 2^20
74
),
75
0 commit comments