When running the pretrained esm2_t30_150M_UR50D module on torch mps backend getting a RuntimError.
results = model(batch_tokens, repr_layers=[30], return_contacts=True)
On torch.backends.mps backend
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
When running the pretrained esm2_t30_150M_UR50D module on torch mps backend getting a RuntimError.
results = model(batch_tokens, repr_layers=[30], return_contacts=True) On torch.backends.mps backend
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.