IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1d164bb verified
raw
history blame
10.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.469888,
"max_global_vram": 1149.60384,
"max_process_vram": 41143.222272,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.767865234375,
"mean": 6.767865234375,
"stdev": 0.0,
"p50": 6.767865234375,
"p90": 6.767865234375,
"p95": 6.767865234375,
"p99": 6.767865234375,
"values": [
6.767865234375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.216448,
"max_global_vram": 1212.530688,
"max_process_vram": 213748.412416,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 127,
"total": 1.003379571437836,
"mean": 0.007900626546754611,
"stdev": 0.007920637854617909,
"p50": 0.006861947059631348,
"p90": 0.0070483480453491214,
"p95": 0.007373294019699094,
"p99": 0.04617191864013647,
"values": [
0.0069638690948486326,
0.006906907081604004,
0.05888151931762695,
0.0074389100074768065,
0.0067971482276916505,
0.007604189872741699,
0.006633787155151367,
0.006652186870574952,
0.00669922685623169,
0.006748187065124512,
0.006865148067474365,
0.006873308181762695,
0.00686834716796875,
0.006722587108612061,
0.006658266067504883,
0.006673306941986084,
0.006664347171783447,
0.007963071823120118,
0.009740679740905762,
0.006924828052520752,
0.006747386932373047,
0.006677627086639404,
0.006667547225952149,
0.006713787078857422,
0.006712827205657959,
0.006653787136077881,
0.006663866996765137,
0.00999843978881836,
0.007220190048217773,
0.006873307228088379,
0.00683378791809082,
0.007015708923339844,
0.006963068008422851,
0.0066952271461486815,
0.006936828136444092,
0.007007068157196045,
0.00696418809890747,
0.006997787952423095,
0.006906268119812012,
0.007023068904876709,
0.006979388236999512,
0.006984667778015137,
0.006985308170318604,
0.08018256378173828,
0.006848347187042236,
0.00672370719909668,
0.006656987190246582,
0.006719226837158203,
0.006707067966461182,
0.0067214670181274415,
0.006677786827087403,
0.006739546775817871,
0.006758427143096924,
0.006783866882324218,
0.006696348190307617,
0.006742106914520264,
0.0068248271942138675,
0.007039069175720215,
0.00695282793045044,
0.006785467147827149,
0.007036348819732666,
0.007041307926177978,
0.00695058822631836,
0.006677627086639404,
0.006701467037200928,
0.006753467082977295,
0.006723386764526367,
0.006738108158111572,
0.0066902670860290525,
0.006698747158050537,
0.006702746868133545,
0.0067789068222045895,
0.006658426761627197,
0.006761147022247315,
0.006784187793731689,
0.006989468097686768,
0.007054748058319092,
0.007117309093475342,
0.007118268966674805,
0.007046107769012451,
0.007018428802490234,
0.007048828125,
0.006982587814331055,
0.007007068157196045,
0.007004828929901123,
0.007036188125610352,
0.006932507991790771,
0.006958908081054688,
0.006894268035888672,
0.006944667816162109,
0.0069374680519104,
0.00690034818649292,
0.0069321880340576176,
0.00695282793045044,
0.006817626953125,
0.006792667865753174,
0.00699586820602417,
0.006861947059631348,
0.006718107223510742,
0.0069321880340576176,
0.006848987102508545,
0.006912508010864258,
0.006991707801818848,
0.0070542688369750976,
0.007048027992248535,
0.007024828910827637,
0.00701442813873291,
0.00698386812210083,
0.006960507869720459,
0.006986427783966065,
0.0069632291793823246,
0.006948187828063965,
0.006835866928100586,
0.006736667156219483,
0.006693467140197754,
0.006743388175964355,
0.006724027156829834,
0.006724667072296142,
0.006716826915740967,
0.006745787143707276,
0.006746747016906738,
0.006720667839050293,
0.006747546195983886,
0.006686266899108887,
0.006646906852722168,
0.006726747035980225,
0.006694266796112061
]
},
"throughput": {
"unit": "samples/s",
"value": 126.57224007262768
},
"energy": null,
"efficiency": null
}
}
}