remove unused codes

This commit is contained in:
lllyasviel 2023-10-24 11:38:03 -07:00
parent 4d4ba87e9d
commit 5d32c208b2

View File

@ -1,16 +1,12 @@
import os
import importlib
import importlib.util
import shutil
import subprocess
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...
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())