You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way it is currently implemented, DictLikeDiskAccesswrites to disk on all ranks. This is clearly inefficient. Instead we should try and use something like the compilation_comm (created here) and only write on one of the ranks that share a filesystem.
My idea for how to approach this is to modify DictLikeDiskAccess with a dummy: bool kwarg s.t. access on particular ranks can be masked. For example:
def__setitem__(self, key, value):
ifself.dummy:
passelse:
# actually set the value
The way it is currently implemented,
DictLikeDiskAccess
writes to disk on all ranks. This is clearly inefficient. Instead we should try and use something like thecompilation_comm
(created here) and only write on one of the ranks that share a filesystem.My idea for how to approach this is to modify
DictLikeDiskAccess
with adummy: bool
kwarg s.t. access on particular ranks can be masked. For example:This attribute could be set doing something like:
The text was updated successfully, but these errors were encountered: