IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d033a28 verified
raw
history blame
9.75 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": "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": {},
"hub_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,
"latency": true,
"memory": 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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"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.2.1",
"optimum_benchmark_commit": "f85421c91b2a2b1bc0a30ceba32f9580499bf023",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1010.774016,
"max_global_vram": 938.913792,
"max_process_vram": 209761.554432,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 121,
"total": 0.9646518220901489,
"mean": 0.007972329108183048,
"stdev": 0.0006073287985508732,
"p50": 0.00790861177444458,
"p90": 0.007967493057250977,
"p95": 0.007995172023773194,
"p99": 0.010836505699157709,
"values": [
0.008910368919372559,
0.011318039894104005,
0.007816933155059814,
0.007568772792816162,
0.007475334167480469,
0.0075762939453125,
0.013443312644958495,
0.007681733131408692,
0.007834372043609619,
0.007880453109741212,
0.007868132114410401,
0.007918052196502686,
0.007958372116088868,
0.0079129319190979,
0.007930053234100341,
0.007877411842346192,
0.007970372200012206,
0.007929411888122559,
0.007931972026824951,
0.007995172023773194,
0.00792301321029663,
0.007935651779174805,
0.007937572002410888,
0.007923491954803467,
0.007928612232208252,
0.007920932769775391,
0.007931811809539795,
0.007928612232208252,
0.007937091827392578,
0.007957411766052245,
0.0079214129447937,
0.007941253185272217,
0.007943972110748291,
0.007911812782287598,
0.007930851936340333,
0.007938531875610352,
0.007918851852416992,
0.007918211936950683,
0.007910373210906983,
0.007907172203063965,
0.00793293285369873,
0.00788237190246582,
0.007927173137664795,
0.00790861177444458,
0.007897572994232178,
0.007919651985168457,
0.007949253082275391,
0.007907331943511963,
0.00790781307220459,
0.007884292125701905,
0.007885093212127686,
0.007897731781005859,
0.00790397310256958,
0.007877252101898193,
0.007917572021484375,
0.007891972064971924,
0.007931811809539795,
0.007927172183990479,
0.007935492992401124,
0.007943332195281982,
0.007954852104187012,
0.007941892147064209,
0.007913732051849365,
0.007980452060699464,
0.00793645191192627,
0.007926852226257323,
0.007908291816711426,
0.007876451969146728,
0.007973412036895751,
0.00793037223815918,
0.007949892044067383,
0.00793261194229126,
0.007990531921386719,
0.007932452201843262,
0.007938211917877197,
0.00792557191848755,
0.007973252773284912,
0.007960931777954101,
0.007996771812438965,
0.007895492076873779,
0.007817253112792969,
0.007611972808837891,
0.007926531791687012,
0.008077571868896485,
0.0077783727645874025,
0.007807651996612549,
0.00886828899383545,
0.007967493057250977,
0.007824933052062989,
0.0078034930229187015,
0.0078012518882751465,
0.007814853191375733,
0.007832452774047852,
0.007817252159118653,
0.007812452793121338,
0.007850213050842285,
0.00782397222518921,
0.007825253009796142,
0.007830533027648925,
0.007861251831054688,
0.007832293033599853,
0.00782125186920166,
0.007863812923431397,
0.007831491947174073,
0.007848453044891358,
0.007815971851348876,
0.007850852966308594,
0.007819333076477052,
0.00786477279663086,
0.0078079719543457035,
0.007840773105621339,
0.007793252944946289,
0.00784909200668335,
0.007816933155059814,
0.007835492134094239,
0.007827332973480225,
0.007854211807250976,
0.007839972972869874,
0.007873570919036866,
0.007752452850341797,
0.007828453063964843
]
},
"throughput": {
"unit": "samples/s",
"value": 125.4338583405405
},
"energy": null,
"efficiency": null
}
}
}