prevent loading tokenizer on import (#1432)

also adds sentencepiece dep for exe
moved vicuna imports to after an if statement
in general we should avoid importing files that load whole models as
global variables
This commit is contained in:
Daniel Garvey
2023-05-12 21:11:45 -05:00
committed by GitHub
parent 4c07e47e8c
commit 4731c1a835
5 changed files with 27 additions and 20 deletions

View File

@@ -28,6 +28,7 @@ scikit-image
pytorch_lightning # for runwayml models
tk
pywebview
sentencepiece
# Keep PyInstaller at the end. Sometimes Windows Defender flags it but most folks can continue even if it errors
pefile