IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
568284f verified
raw
history blame
9.67 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.3.0",
"optimum_benchmark_commit": "748abd0c7ac21cfb1798768cad39007b466ce8e8",
"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.163712,
"max_global_vram": 939.114496,
"max_process_vram": 216967.180288,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 119,
"total": 0.9481227660179137,
"mean": 0.007967418201831208,
"stdev": 0.0007492901719034667,
"p50": 0.007806363105773925,
"p90": 0.007993114852905273,
"p95": 0.008800279235839842,
"p99": 0.010186924743652336,
"values": [
0.009130037307739258,
0.009325076103210449,
0.008210041046142579,
0.00786780309677124,
0.007898842811584473,
0.00791036319732666,
0.007795643806457519,
0.009181556701660156,
0.009236757278442382,
0.00792460298538208,
0.007699004173278809,
0.007823644161224365,
0.007968923091888428,
0.010376111030578613,
0.008525079727172851,
0.00806300163269043,
0.015100410461425781,
0.00812972068786621,
0.007900124073028564,
0.00813884162902832,
0.00786508321762085,
0.007829243183135987,
0.00782524299621582,
0.007834362983703613,
0.007831963062286377,
0.007822683811187744,
0.007815323829650878,
0.007841564178466797,
0.007819324016571046,
0.007880282878875733,
0.00786300277709961,
0.007842843055725097,
0.007828123092651367,
0.00780668306350708,
0.007797083854675293,
0.007796443939208984,
0.007798523902893067,
0.007798523902893067,
0.007770843029022216,
0.007799162864685059,
0.007796923160552979,
0.007796763896942139,
0.007798523902893067,
0.007780603885650635,
0.007796604156494141,
0.007798683166503906,
0.007833882808685303,
0.007782203197479248,
0.007804283142089844,
0.007787322998046875,
0.007762204170227051,
0.007789403915405274,
0.007795963764190674,
0.007822843074798583,
0.00783452320098877,
0.007790524005889893,
0.00783292293548584,
0.007871004104614257,
0.007813084125518798,
0.007865882873535157,
0.007975643157958984,
0.007917082786560059,
0.007817243099212647,
0.007944921970367431,
0.007858842849731444,
0.00785212278366089,
0.007799643039703369,
0.007822843074798583,
0.007816123008728028,
0.007810362815856934,
0.007834202766418457,
0.007778522968292237,
0.007784442901611328,
0.007771644115447998,
0.007806844234466552,
0.007776443958282471,
0.007802204132080078,
0.007776763916015625,
0.0077826828956604,
0.00780284309387207,
0.00781868314743042,
0.0077876439094543455,
0.007782844066619873,
0.007804763793945312,
0.007803964138031006,
0.007812603950500489,
0.008763639450073243,
0.007810523986816406,
0.007799804210662842,
0.007803964138031006,
0.007794204235076904,
0.0077780442237854,
0.007757883071899414,
0.007749884128570556,
0.0077594838142395015,
0.007817243099212647,
0.007810203075408936,
0.0078012428283691405,
0.00777180290222168,
0.007764924049377442,
0.007779644012451172,
0.007782043933868409,
0.0078062028884887695,
0.007779003143310547,
0.007770204067230225,
0.0077798042297363285,
0.007760283946990967,
0.007779003143310547,
0.007806363105773925,
0.007782362937927246,
0.007803964138031006,
0.007759324073791504,
0.007760923862457275,
0.007795322895050049,
0.007765082836151123,
0.007817724227905273,
0.007786843776702881,
0.007818684101104737,
0.007839163780212403
]
},
"throughput": {
"unit": "samples/s",
"value": 125.51117246113212
},
"energy": null,
"efficiency": null
}
}
}