Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
b418595
1
Parent(s):
c83b63d
fix ownership
Browse files- entry_with_update.py +1 -0
- modules/launch_util.py +1 -0
entry_with_update.py
CHANGED
@@ -9,6 +9,7 @@ os.chdir(root)
|
|
9 |
|
10 |
try:
|
11 |
import pygit2
|
|
|
12 |
|
13 |
repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))
|
14 |
|
|
|
9 |
|
10 |
try:
|
11 |
import pygit2
|
12 |
+
pygit2.option(pygit2.GIT_OPT_SET_OWNER_VALIDATION, 0)
|
13 |
|
14 |
repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))
|
15 |
|
modules/launch_util.py
CHANGED
@@ -7,6 +7,7 @@ import sys
|
|
7 |
import re
|
8 |
import logging
|
9 |
import pygit2
|
|
|
10 |
|
11 |
|
12 |
logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR) # sshh...
|
|
|
7 |
import re
|
8 |
import logging
|
9 |
import pygit2
|
10 |
+
pygit2.option(pygit2.GIT_OPT_SET_OWNER_VALIDATION, 0)
|
11 |
|
12 |
|
13 |
logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR) # sshh...
|