How to upgrade fastai to latest version?

Hi,

I was expecting paperspace notbook instance to use latest version of fastai and pytorch. However notebook instance uses the old version- 2.1.5 of fastai. What is recommended way to upgrade the fastai to latest version, which is currently 2.4.1.

I run the command “conda update fastai -c fastai -c pytorch -c conda-forge” but it did not ugprade the fastai library to latest version.

Thank you for the help.

Hi there, I was able to upgrade the version as follows:

  1. Open a Terminal using Jupyter or the Gradient IDE.
  2. Run git clone https://github.com/fastai/fastai
  3. Then execute pip install -e "fastai[dev]"

After that, make sure to stop the Jupyter kernel or restart the notebook and check the FastAi version with:
import fastai
fastai.__version__