mirror of
https://github.com/jasonppy/VoiceCraft.git
synced 2026-04-08 12:18:38 +02:00
Add start-jupyter.bat for windows and fixup dependencies.
Thanks to [jay-c88](https://github.com/jasonppy/VoiceCraft/pull/25#issuecomment-2027980511) for the windows batch file! This does the thing to actually install the jupyter notebook kernel and instructs the user to refresh their browser to pickup the changes in the notebook.
This commit is contained in:
21
start-jupyter.bat
Normal file
21
start-jupyter.bat
Normal file
@@ -0,0 +1,21 @@
|
||||
:: Windows Docker Context Batch File
|
||||
:: No need to install nvidia toolkit as Windows driver supports docker GPUs
|
||||
:: Credit to github/jay-c88 for this
|
||||
:: https://github.com/jasonppy/VoiceCraft/pull/25#issuecomment-2028053878
|
||||
@echo off
|
||||
|
||||
docker start jupyter > nul 2> nul || ^
|
||||
docker run -it ^
|
||||
-d ^
|
||||
--gpus all ^
|
||||
-p 8888:8888 ^
|
||||
--name jupyter ^
|
||||
--user root ^
|
||||
-e NB_USER="%username%" ^
|
||||
-e CHOWN_HOME=yes ^
|
||||
-e GRANT_SUDO=yes ^
|
||||
-w "/home/%username%" ^
|
||||
-v %cd%:"/home/%username%/work" ^
|
||||
jupyter/base-notebook
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user