Skip to content

Commit

Permalink
minor fixes (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr authored Sep 4, 2023
1 parent 8fcadb6 commit 9ef8145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
# even when we are not invoking the main (e.g. when spawning subprocesses).
torch.set_num_threads(1)
torch.set_num_interop_threads(1)
torch.multiprocessing.set_sharing_strategy("file_system")


def compute_fbank_wenetspeech_dev_test():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# even when we are not invoking the main (e.g. when spawning subprocesses).
torch.set_num_threads(1)
torch.set_num_interop_threads(1)
torch.multiprocessing.set_sharing_strategy("file_system")


def get_parser():
Expand Down

0 comments on commit 9ef8145

Please sign in to comment.