diff --git a/entry_with_update.py b/entry_with_update.py index c519880..5c02786 100644 --- a/entry_with_update.py +++ b/entry_with_update.py @@ -9,6 +9,7 @@ os.chdir(root) try: import pygit2 + pygit2.option(pygit2.GIT_OPT_SET_OWNER_VALIDATION, 0) repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__))) diff --git a/modules/launch_util.py b/modules/launch_util.py index 2ee58d5..16cf48e 100644 --- a/modules/launch_util.py +++ b/modules/launch_util.py @@ -7,6 +7,7 @@ import sys import re import logging import pygit2 +pygit2.option(pygit2.GIT_OPT_SET_OWNER_VALIDATION, 0) logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR) # sshh...