Getting error "'torch.dtype' object has no attribute 'data_ptr'" for converting Pytorch model to Safetensors

#3
by rajivmandal - opened

I am using Huggingface Spaces to convert the Pytorch .bin model to Safetensors. I am getting this error "'torch.dtype' object has no attribute 'data_ptr'". Any pointers what might be causing this error and this error can be resolved.

Sign up or log in to comment