Skip to content

Commit 833db95

Browse files
committed
Create cache directory only during dump()
1 parent f75a2f4 commit 833db95

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • executorlib/task_scheduler/interactive

executorlib/task_scheduler/interactive/shared.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ def _execute_task_with_cache(
160160
resource_dict=task_dict.get("resource_dict", {}),
161161
cache_key=cache_key,
162162
)
163-
os.makedirs(cache_directory, exist_ok=True)
164163
file_name = os.path.abspath(os.path.join(cache_directory, task_key + "_o.h5"))
165164
if file_name not in get_cache_files(cache_directory=cache_directory):
166165
f = task_dict.pop("future")

0 commit comments

Comments
 (0)