Closed ran337287 closed 1 year ago
It looks like you might have an issue in your own environment configuration (as in, your pytorch installation might be corrupted). Here's our recommendation:
torch
to the latest versiontransformers
to the latest versionLet us know if that helps!
It looks like you might have an issue in your own environment configuration (as in, your pytorch installation might be corrupted). Here's our recommendation:
- upgrade
torch
to the latest version- upgrade
transformers
to the latest version- run the new codebase which we recently pushed to this repo
Let us know if that helps!
It works for me to upgrade torch
When I run the following code, it came to the error "y = model(x) return torch._C._nn.gelu(input, approximate) TypeError: gelu(): argument 'approximate' (position 2) must be bool, not str"