This commit is contained in:
Ethan Weber committed 2022-04-21 20:29:43 +00:00
1 parent 17d837babf
commit b6f878f227
4 files changed
+30 -19

No files matched your search

+3
View File
@@ -21,6 +21,9 @@ logging.basicConfig(format="[%(filename)s:%(lineno)d] %(message)s", level=loggin
DEFAULT_TIMEOUT = timedelta(minutes=30)
# speedup for when input size to model doesn't change (much)
torch.backends.cudnn.benchmark = True
def _find_free_port() -> str:
"""Find free port on open socket"""