mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix ownership
This commit is contained in:
@@ -9,6 +9,7 @@ os.chdir(root)
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import pygit2
|
import pygit2
|
||||||
|
pygit2.option(pygit2.GIT_OPT_SET_OWNER_VALIDATION, 0)
|
||||||
|
|
||||||
repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))
|
repo = pygit2.Repository(os.path.abspath(os.path.dirname(__file__)))
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import sys
|
|||||||
import re
|
import re
|
||||||
import logging
|
import logging
|
||||||
import pygit2
|
import pygit2
|
||||||
|
pygit2.option(pygit2.GIT_OPT_SET_OWNER_VALIDATION, 0)
|
||||||
|
|
||||||
|
|
||||||
logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR) # sshh...
|
logging.getLogger("torch.distributed.nn").setLevel(logging.ERROR) # sshh...
|
||||||
|
|||||||
Reference in New Issue
Block a user