From 07307faab39c82fc1b282b047b693a7376a8163f Mon Sep 17 00:00:00 2001 From: lvmin Date: Thu, 17 Aug 2023 16:25:56 -0700 Subject: [PATCH] fix ownership --- entry_with_update.py | 1 + modules/launch_util.py | 1 + 2 files changed, 2 insertions(+) diff --git a/entry_with_update.py b/entry_with_update.py index c5198808..5c027863 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 2ee58d5a..16cf48e2 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...