What version of fast.ai is Colab running on

Hi all,

when we run a Colab juypter notebook , there’s this command in which we need to run:

!curl -s https://course.fast.ai/setup/colab | bash

How do I check which fast.ai version is installed and running on this Colab instance?
Is there any commands?

Thanks!

Just run

!pip freeze

It lists all the installed packages in an environment with the version.
I checked the Colab today, it shows

fastai==1.0.46

3 Likes

The script colab runs pip install fastai --upgrade.

A quick check on pypi reveals that it’s currently version 1.0.47.

You can import the library and check __version__:

from fastai import __version__
print(__version__)
4 Likes

This worked great for me. Thank you!