Latest version of fastai (2.3.0) is not compatible with latest PyTorch version (1.8.1)

It seems that fastai 2.3.1 requires PyTorch version <1.8, which is unfortunate since I need to use some utility functions that are only available in torchvision 0.9.1. Anyone know what the release cycle is like or when the latest version would be compatible?

3 Likes

Hi Kareemamr

This gives you a working system albeit with lots of messages.

Regards Conwyn

%matplotlib inline

%reload_ext autoreload

!pip install torchtext==0.8.1

!pip install -Uqq fastbook

import fastbook

fastbook.setup_book()

from fastai import *

2 Likes