Error while importing fastai.vision.all in vast.ai

I am facing the following error when running fastai code in vast.ai platform.

AttributeError: 'Function' object attribute '__doc__' is read-only

The code works fine in Google Colab, but this error occurs only in vast.ai instance. I have changed many pytorch based templates, but I am still facing this same issue. This error appears on the following statement.

from fastai.vision.all import *

This code was working fine till last week, but now it is giving this error.