Skip to content

Commit

Permalink
set limit to 65000 again
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenwagner committed Oct 16, 2023
1 parent 31fb4e0 commit 002fcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomotwin/embed_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ def run_distr(config, world_size: int):
"""
mp.set_sharing_strategy('file_system')
limit = resource.getrlimit(resource.RLIMIT_NOFILE)
if limit[0] < 50000:
if limit[0] < 65000:
print(
f"Your user limit ('ulimit -n') is too low ({limit[0]}). Please run 'ulimit -n 65000' before running tomotwin_embed.")
sys.exit(1)
Expand Down

0 comments on commit 002fcde

Please sign in to comment.