onnxruntime
975d3dff - Update bert benchmark: replace deprecated API (#22611)

Commit
1 year ago
Update bert benchmark: replace deprecated API (#22611) ### Description (1) tokenizer.max_model_input_sizes was deprecated. Use tokenizer.model_max_length to replace it. (2) onnx opset updated to 16 instead of 11/12 for models. (3) Update a few comments related to torch installation. (4) Test gpu instead of cpu in dev_benchmark.cmd. ### Motivation and Context Update bert benchmark script so that it can run with latest huggingface transformers package.
Author
Parents
Loading