Error while loading my image datablock

/opt/conda/lib/python3.10/site-packages/fastai/ UserWarning: ‘has_mps’ is deprecated, please use ‘torch.backends.mps.is_built()’
return getattr(torch, ‘has_mps’, False)

hi can you share the datablock you have created

I’m getting this warning as well. I’m working through the exercise in Chapter 8 currently, but I’m pretty sure I got in when working another exercise earlier in the course.

Chapter 8’s exercise is the movie recommendation system. This is the first line that throws the error:
dls = CollabDataLoaders.from_df(ratings, item_name=‘title’, bs=64)

Later in the exercise when first training the learner the error is thrown a plethora of times.