* chore: add react developer tools to electron * feat: add small convert modal * feat: separate modals and add hugging face extension * feat: fully implement hugging face converter * fix: forgot to uncomment this... * fix: typo * feat: try hf-to-gguf script first and then use convert.py HF-to-GGUF has support for some unusual models maybe using convert.py first would be better but we can change the usage order later * fix: pre-install directory changed * fix: sometimes exit code is undefined * chore: download additional files for qwen * fix: event handling changed * chore: add one more necessary package * feat: download gguf-py from llama.cpp * fix: cannot interpret wildcards on GNU tar Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com> --------- Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
15 lines
346 B
Python
15 lines
346 B
Python
import subprocess
|
|
import sys
|
|
|
|
deps = [
|
|
'numpy~=1.24.4',
|
|
'sentencepiece~=0.1.98',
|
|
'transformers>=4.35.2,<5.0.0',
|
|
'gguf>=0.1.0',
|
|
'protobuf>=4.21.0,<5.0.0',
|
|
'torch~=2.1.1',
|
|
'packaging>=20.0',
|
|
'tiktoken~=0.5.0'
|
|
]
|
|
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--upgrade', '--force-reinstall', *deps])
|