/fastai_dev

development of the next version of fastai

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

fastai_dev

This repo is used for fastai development. fastai v2 is being developed in the dev folder. Docs are at http://dev.fast.ai . To install fastai v2, either use environment.yml to create a conda env, or:

conda install -c fastai -c pytorch jupyter "pytorch>=1.2.0" torchvision matplotlib pandas requests pyyaml fastprogress pillow scipy
pip install typeguard jupyter_nbextensions_configurator

Tests

To run the tests in parallel, do something like this:

for i in {0,1,2}*.ipynb; do sleep 1; python run_notebook.py --fn $i & done

Contributing

After you clone this repository, please run tools/run-after-git-clone in your terminal. This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.

There are various .py scripts in the dev directory which you should look at (and we should document!)