For the well know reason, Jupyter Notebook doesn't support python multiprocessing. Some functions, like pytorch dataloader, will trigger some issues in Notebook on Windows. The goal of gemini is to help users can run Jupyter Notebook on Windows as well as on Linux.
The WSL and one Linux distribution should be be installed in your windows 10 machine.
Fast.ai is fully built on Jupyter notebooks. Let's use fastai as the example.
- cd d:\git, git clone https://github.com/fastai/fastai
- download gemini.ps1 and installdeps.ps1
- powershell gemini.ps1 -name fastai -dependps installdeps.ps1
- try fastai/nbs/08_vision.data.ipynb
-d installdeps.ps1
is optional, it is only used when you want to run some additional commands, such as install packages.
Only WSL2 supports GPU and only Geforce Cards are supported.
pytorch/pytorch#51344
https://github.com/mszhanyi/pymultiprocessdemo
microsoft/WSL#5546