fix ownership

This commit is contained in:
lvmin 2023-08-17 16:25:56 -07:00
parent 8f708e116c
commit 07307faab3
2 changed files with 2 additions and 0 deletions

View File

@ -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__)))

View File

@ -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...