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.
This looks like a compatibility issue between fastai, fastcore, and PyTorch on your Vast.ai instance. Since the code works fine in Google Colab but suddenly stopped working on Vast.ai, I would recommend checking whether any packages were recently updated. You can compare the installed versions of fastai, fastcore, and PyTorch in both environments to identify differences. Sometimes, downgrading to a previously working version or reinstalling compatible packages can resolve this error. It may also help to check the Python version and review recent changes to the Vast.ai template. Hopefully, comparing the environments will help you find the cause without having to change templates repeatedly. PikePass