Easiest Fastai installation for windows

Akash Shastri
1 min readOct 4, 2020

--

The easiest installation of windows I have found is with Anaconda. Anaconda is a Package manager that helps you install and maintain the correct versions of packages, and also allows you to make virtual environments.

Steps to install Fastai

  1. Install Anaconda
  2. Install Cudatoolkit

conda install -c anaconda cudatoolkit

3. Install pytorch, you can find instructions at https://pytorch.org/. Make sure to select the newest version of CUDA, and select CONDA as your package.

4. Install fastai with the git clone + pip install method.

git clone https://github.com/fastai/fastai
pip install -e "fastai[dev]"

Note: As of now, num_workers has to be 0 for fastai. So whenever you’re making a dataloader, make sure to set num_workers =0.

--

--

Akash Shastri
Akash Shastri

Written by Akash Shastri

I love anything that makes me think. Check out my github here: https://github.com/akash-shastri. Get in touch with me on LinkedIn at https://www.linkedin.com/in

No responses yet