This repository was archived by the owner on Jun 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ bitsandbytes-windows /
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ git clone https://github.com/JarodMica/bitsandbytes-windows.git .\modules\bitsan
44xcopy .\modules\bitsandbytes-windows\bin\* .\venv\Lib\site-packages\bitsandbytes\. /Y
55xcopy .\modules\bitsandbytes-windows\bin\cuda_setup\* .\venv\Lib\site-packages\bitsandbytes\cuda_setup\. /Y
66xcopy .\modules\bitsandbytes-windows\bin\nn\* .\venv\Lib\site-packages\bitsandbytes\nn\. /Y
7+
8+ pause
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ python -m pip install -e .\modules\tortoise-tts\
1010python -m pip install -r .\modules\dlas\requirements.txt
1111python -m pip install -e .\modules\dlas\
1212python -m pip install -r .\requirements.txt
13+ python -m pip install deepspeed-0.8.3+6eca037c-cp39-cp39-win_amd64.whl
1314
1415# setup BnB
1516.\setup-cuda-bnb.bat
Original file line number Diff line number Diff line change @@ -3724,8 +3724,12 @@ def unload_tts():
37243724 do_gc ()
37253725
37263726def reload_tts ():
3727- unload_tts ()
3728- load_tts ()
3727+ subprocess .Popen (["start.bat" ])
3728+ with open ("reload_flag.txt" , "w" ) as f :
3729+ f .write ("reload" )
3730+ os .kill (os .getpid (), signal .SIGTERM ) # Or signal.SIGKILL for an even harder kill
3731+ # unload_tts()
3732+ # load_tts()
37293733
37303734def get_current_voice ():
37313735 global current_voice
You can’t perform that action at this time.
0 commit comments