IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3a3b104
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "4", | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1388.187648, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.6849912109375, | |
"mean": 7.6849912109375, | |
"stdev": 0.0, | |
"p50": 7.6849912109375, | |
"p90": 7.6849912109375, | |
"p95": 7.6849912109375, | |
"p99": 7.6849912109375, | |
"values": [ | |
7.6849912109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1513.746432, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.0039385957717897, | |
"mean": 0.008162102404648696, | |
"stdev": 0.0008713202392293168, | |
"p50": 0.008063015937805175, | |
"p90": 0.008541542625427246, | |
"p95": 0.009019396209716795, | |
"p99": 0.00912661241531372, | |
"values": [ | |
0.009099172592163087, | |
0.008588454246520997, | |
0.00855725383758545, | |
0.008785253524780273, | |
0.008543654441833496, | |
0.008506855010986329, | |
0.008434853553771972, | |
0.008410055160522461, | |
0.008233415603637695, | |
0.008184295654296875, | |
0.008128135681152344, | |
0.008145256042480469, | |
0.00814189624786377, | |
0.008057415008544922, | |
0.00805677604675293, | |
0.008029576301574706, | |
0.008074536323547363, | |
0.008097576141357423, | |
0.008068135261535644, | |
0.008115015983581542, | |
0.008063015937805175, | |
0.008054535865783691, | |
0.008061415672302246, | |
0.008057895660400391, | |
0.008043496131896973, | |
0.008070216178894044, | |
0.008098695755004883, | |
0.008045255661010742, | |
0.008058055877685547, | |
0.008064776420593263, | |
0.008072296142578124, | |
0.00809709644317627, | |
0.008045576095581054, | |
0.008079336166381837, | |
0.008055015563964844, | |
0.00808893585205078, | |
0.008109254837036133, | |
0.008100456237792968, | |
0.00811021614074707, | |
0.008098376274108888, | |
0.008063015937805175, | |
0.008071975708007812, | |
0.008073736190795898, | |
0.008093095779418946, | |
0.008058215141296387, | |
0.008072135925292968, | |
0.008060456275939942, | |
0.008082856178283691, | |
0.008050855636596679, | |
0.008084614753723145, | |
0.008021096229553222, | |
0.008051176071166993, | |
0.008092776298522949, | |
0.008032615661621095, | |
0.008024935722351073, | |
0.008089095115661622, | |
0.008025416374206543, | |
0.008064935684204102, | |
0.008097895622253418, | |
0.015296753883361816, | |
0.0024537529945373535, | |
0.007170698165893555, | |
0.008040936470031738, | |
0.008019656181335448, | |
0.008212935447692872, | |
0.008028136253356934, | |
0.008022055625915528, | |
0.008025575637817382, | |
0.008009096145629883, | |
0.008063336372375489, | |
0.00804909610748291, | |
0.008045415878295898, | |
0.00804813575744629, | |
0.008065095901489258, | |
0.008027655601501465, | |
0.008069735527038574, | |
0.008068455696105956, | |
0.007983176231384278, | |
0.00795741605758667, | |
0.008182854652404785, | |
0.00833757495880127, | |
0.008429095268249512, | |
0.00840477466583252, | |
0.008440613746643066, | |
0.008368454933166503, | |
0.007956615924835205, | |
0.007965577125549317, | |
0.007949576854705811, | |
0.007943175792694091, | |
0.007945735931396485, | |
0.00794269609451294, | |
0.007953735828399658, | |
0.007973576068878174, | |
0.008609575271606445, | |
0.008003815650939942, | |
0.007971336841583252, | |
0.007977256774902344, | |
0.007961417198181152, | |
0.007971335887908935, | |
0.00799117612838745, | |
0.007976136207580566, | |
0.007980135917663575, | |
0.00798477602005005, | |
0.007979015827178955, | |
0.007996615886688232, | |
0.008000935554504394, | |
0.00796829605102539, | |
0.007994855880737305, | |
0.007979015827178955, | |
0.007976776123046874, | |
0.00796621608734131, | |
0.007991015911102295, | |
0.008014056205749511, | |
0.00801917552947998, | |
0.008159496307373048, | |
0.009117252349853515, | |
0.009060453414916993, | |
0.008629573822021484, | |
0.008533095359802246, | |
0.008480454444885254, | |
0.009045412063598633, | |
0.00907709312438965, | |
0.009129252433776856 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.51745327655453 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |