Skip to content

Commit

Permalink
Internal Cache manager: log message
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTemaki committed Dec 21, 2023
1 parent c7ba8da commit e4eedc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions returnn/util/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2457,6 +2457,7 @@ def cf(filename):

temp_file = os.path.join(tmp_root, real_filename[1:]) # join without root slash
os.makedirs(os.path.dirname(temp_file), exist_ok=True)
print(f"internal cache manager, copy:\n{real_filename} to \n{temp_file}", file=log.v3)
shutil.copy(real_filename, temp_file)
_tempdir_cache[filename] = temp_file

Expand Down

0 comments on commit e4eedc3

Please sign in to comment.