OK, solved.
It was torchtext
. Downgrade it to the previous version with pip
.
Source (for example): Google Colab-AttributeError: module 'torch' has no attribute 'float32'
It was torchtext
. Downgrade it to the previous version with pip
.
Source (for example): Google Colab-AttributeError: module 'torch' has no attribute 'float32'