Should I be concerned about "UserWarning: TypedStorage is deprecated. " when using the model with python 3.11?

#97
by poohlio - opened

When using the model as it is, doing an inference, with python 3.11 I am seeing the following warning (not seeing it with 3.8):
Is this sth I should be concerned about?

UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
return self.fget.get(instance, owner)()

Sentence Transformers org

Hello!

I believe this problem should go away if you use a newer version of transformers. There's some discussion on it here: https://github.com/UKPLab/sentence-transformers/issues/2450

  • Tom Aarsen

Sign up or log in to comment