Fastai v2 chat

Did you restart the runtime when you installed the previous version?

yes re-run runtime

I just checked that too be sure. Same thing here.

For Jeremy and Sylvain, fastai2 version is 2.0.1, tried 0.1.20, 21, and 19 for fastprogress. I donā€™t see any recent commits that should have broken this functionality in the main library or in fastprogress so Iā€™m unsure to what could be happening yet.

1 Like

worked just fine last night

@amritv what version of ipywidgets is being used?

7.5.1, same version as that being used with v1 and no issues

ipy

1 Like

IPython is the same version too?

yes 5.5.0

1 Like

@amritv Sylvain suggests installing it via:

!pip install git+https://github.com/fastai/fastprogress ā€”upgrade

If you have time can you check this? Otherwise Iā€™ll try later today when I have access to a computer.

1 Like

I tried this, still getting the error =/

Opps, my bad. I first had to uninstall the previous version. Now it works =)

1 Like

Awesome!!! Glad to hear it! :slight_smile: thanks for checking for us :slight_smile: Iā€™ve updated the Colab install directions in the v2 wiki to include this

1 Like

Didā€™nt work even with restart but worked with the following - YAY!

!pip install git+https://github.com/fastai/fastprogress --upgrade

2 Likes

Weā€™ll be doing a new fastprogress release today to fix this BTW.

2 Likes

Release has been done and requirements in fastai v2 updated, so this should be solved now.

3 Likes

The effort to package separately the functionality we use to develop in notebooks is almost finished in the nbdev repo. One of the tests was to check if it worked well with the current fastai v2. It does, but starting from this commit, youā€™ll need that module to use show_doc or the exporting functionality.

Weā€™ll now work on packaging so that the install is easy but if you want to work on master right now, you need to clone the repo and do pip install -e . inside (or install it from github).

(Edited with the latest installation instructions for nbdev)

4 Likes

Hi. Anyone has trouble importing fastai2? It was just yesterday that everythings worked fine for me, but today:


Iā€™m running on Colab notebooks

2 Likes

I replied in your issue but cross-posting here. We moved things around yesterday and there was a stage where nothing was working. If the problem persists today, you need to remove any old install you add before re-installing (for me I had to go as far as removing the fastai2-egg file in my site-package directory).

Things are more stable now, the main change you will see is that fastai2 now uses nbdev to be built (thanks to Jeremy you can now pip install nbdev) and is named everywhere fastai2 (there is no more a local module for the notebooks).

1 Like

I donā€™t quite understand. Even starting a new colab notebook with no previously installed fastai2 at all (which ensures thereā€™s no files that starts with ā€˜fastai2-eggā€™, right?), Iā€™m still facing the problem with pip install git+https://github.com/fastai/fastai_dev.

So can you please provide the clear steps to install fastai2? I had a look at readme but havenā€™t seen a change so far. Thank you.

Wait a sec, weā€™re changing repo for fastai2 anyway. Will update everything soon.

2 Likes