exp run: Add --copy-paths arg.

List of paths to copy inside the temp directory. Only used if `--temp` or `--queue` is specified.

Closes #5800
This commit is contained in:
David de la Iglesia Castro
2023-04-05 23:17:07 +02:00
parent 32bebc0246
commit 3312a90949
15 changed files with 156 additions and 22 deletions
+3 -1
View File
@@ -252,7 +252,9 @@ class BaseStashQueue(ABC):
"""Iterate over items which been failed."""
@abstractmethod
def reproduce(self) -> Mapping[str, Mapping[str, str]]:
def reproduce(
self, copy_paths: Optional[List[str]] = None
) -> Mapping[str, Mapping[str, str]]:
"""Reproduce queued experiments sequentially."""
@abstractmethod