mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Update Bert Perf Script (#5339)
Co-authored-by: Sherlock Huang <bahuang@OrtTrainingDev3.af05slrtruoetgaxwwjv5nsq5e.px.internal.cloudapp.net>
This commit is contained in:
parent
8d4740b39c
commit
37445d1198
1 changed files with 4 additions and 4 deletions
|
|
@ -26,10 +26,10 @@ def main():
|
|||
|
||||
Config = namedtuple('Config', ['use_mixed_precision', 'max_seq_length', 'batch_size', 'max_predictions_per_seq'])
|
||||
configs = [
|
||||
Config(True, 128, 64, 20),
|
||||
Config(True, 512, 10, 80),
|
||||
Config(False, 128, 33, 20),
|
||||
Config(False, 512, 5, 80)
|
||||
Config(True, 128, 76, 20),
|
||||
Config(True, 512, 11, 80),
|
||||
Config(False, 128, 39, 20),
|
||||
Config(False, 512, 6, 80)
|
||||
]
|
||||
|
||||
# run BERT training
|
||||
|
|
|
|||
Loading…
Reference in a new issue