bert obtained different results on mac and linux
I ran same code locally on my mac and remotely on linux through JupyterNotebook, and got different result.
Code is as follows:

from transformers import BertTokenizer, BertModel
tokenizer = BertTokenizer.from_pretrained('bert-base-chinese')
inputs = tokenizer('回复新浪网友对博文【国家文物局限制鉴宝节目现场估价转】的评论：;;查看原文：', return_tensors="pt")
model = BertModel.from_pretrained('bert-base-chinese')
model.eval()
outputs_trans = model(**inputs)

I compared model on mac and model on linux, they have same state dict, the inputs are the same, but I got different outputs_trans.

transformers: 4.11.3