Closed SeanLee97 closed 1 month ago
When loading some BERT-based models with AutoModel, NaN values are produced if torch_dtype is specified to 'auto'. Remove torch_dtype here to fix this bug.
When loading some BERT-based models with AutoModel, NaN values are produced if torch_dtype is specified to 'auto'. Remove torch_dtype here to fix this bug.