enable debug by default and optimize startup

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-12-30 19:54:28 -05:00
parent c341d5ad60
commit 86ac38d94f
8 changed files with 55 additions and 52 deletions
-1
View File
@@ -93,7 +93,6 @@ elif os.environ.get("HF_HUB", None) is not None:
else:
hfcache_dir = os.path.join(os.path.expanduser('~'), '.cache', 'huggingface', 'hub')
os.environ["HF_HUB_CACHE"] = hfcache_dir
log.debug(f'Huggingface cache: folder="{hfcache_dir}"')
class Backend(Enum):