
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1ec8432
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": "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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": "1.22.0", | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.664448, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.372544 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
8.284556640625 | |
], | |
"count": 1, | |
"total": 8.284556640625, | |
"mean": 8.284556640625, | |
"p50": 8.284556640625, | |
"p90": 8.284556640625, | |
"p95": 8.284556640625, | |
"p99": 8.284556640625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.669212069445462e-07, | |
"ram": 5.096672224524834e-07, | |
"gpu": 1.758890296000258e-06, | |
"total": 3.2354787253972877e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1099.149312, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008017919540405273, | |
0.007650303840637207, | |
0.00871628761291504, | |
0.008523776054382324, | |
0.008045568466186523, | |
0.007975935935974121, | |
0.007979008197784423, | |
0.008152064323425292, | |
0.008046624183654785, | |
0.007964672088623047, | |
0.00789299201965332, | |
0.007872447967529297, | |
0.007887904167175292, | |
0.007906303882598878, | |
0.007926815986633301, | |
0.007931903839111328, | |
0.007940095901489258, | |
0.007946239948272706, | |
0.007980031967163086, | |
0.008050687789916992, | |
0.00800767993927002, | |
0.007981056213378907, | |
0.007929855823516846, | |
0.00793497610092163, | |
0.007889920234680176, | |
0.008086527824401855, | |
0.008011775970458984, | |
0.00795136022567749, | |
0.007985184192657471, | |
0.007950335979461669, | |
0.0078919677734375, | |
0.007872511863708496, | |
0.007875552177429199, | |
0.007914495944976807, | |
0.007967743873596191, | |
0.008003583908081055, | |
0.008004608154296875, | |
0.007963647842407226, | |
0.007923711776733398, | |
0.007910399913787843, | |
0.007925759792327881, | |
0.007913472175598145, | |
0.007939072132110595, | |
0.008013855934143067, | |
0.00804758358001709, | |
0.00800153636932373, | |
0.008352736473083495, | |
0.008002559661865234, | |
0.007928832054138184, | |
0.007946239948272706, | |
0.00791756820678711, | |
0.007839744091033935, | |
0.007942143917083741, | |
0.007854080200195313, | |
0.007939072132110595, | |
0.007759871959686279, | |
0.007748608112335205, | |
0.007880703926086426, | |
0.007766016006469726, | |
0.007548927783966064, | |
0.007659520149230957, | |
0.007650303840637207, | |
0.00774348783493042, | |
0.00775270414352417, | |
0.007781375885009765, | |
0.007821311950683594, | |
0.008070143699645996, | |
0.00783564805984497, | |
0.0076308479309082035, | |
0.0076943359375, | |
0.007717887878417969, | |
0.00765337610244751, | |
0.007649280071258545, | |
0.007621632099151611, | |
0.007554048061370849, | |
0.007514111995697022, | |
0.007507967948913574, | |
0.00753766393661499, | |
0.007528448104858398, | |
0.007622655868530274, | |
0.007528448104858398, | |
0.007543807983398438, | |
0.007546879768371582, | |
0.007520256042480469, | |
0.007524352073669433, | |
0.007508992195129394, | |
0.007525375843048096, | |
0.007527423858642578, | |
0.007552000045776367, | |
0.007539743900299072, | |
0.007541759967803955, | |
0.00757862377166748, | |
0.007571455955505371, | |
0.007526400089263916, | |
0.0075458879470825194, | |
0.007542784214019775, | |
0.0075345921516418455, | |
0.007527423858642578, | |
0.007535615921020508, | |
0.007557119846343994, | |
0.007633952140808106, | |
0.007534656047821045, | |
0.0075632638931274416, | |
0.007565311908721924, | |
0.007540800094604492, | |
0.007522304058074952, | |
0.007543807983398438, | |
0.007520256042480469, | |
0.007524352073669433, | |
0.007527423858642578, | |
0.007573503971099854, | |
0.00758784008026123, | |
0.007525375843048096, | |
0.007502848148345947, | |
0.007566336154937744, | |
0.007544832229614258, | |
0.00754585599899292, | |
0.00753766393661499, | |
0.007589888095855713, | |
0.007555071830749512, | |
0.007572480201721191, | |
0.007532544136047363, | |
0.007549952030181885, | |
0.007525375843048096, | |
0.007542784214019775, | |
0.007541759967803955, | |
0.007517216205596924, | |
0.007524352073669433, | |
0.007527423858642578 | |
], | |
"count": 129, | |
"total": 1.000897791862488, | |
"mean": 0.0077588976113371145, | |
"p50": 0.007717887878417969, | |
"p90": 0.008008499145507813, | |
"p95": 0.008049446105957031, | |
"p99": 0.008475884971618651, | |
"stdev": 0.00023118743989478617, | |
"stdev_": 2.979642875515984 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.88428873437175 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.838778820998743e-08, | |
"ram": 4.829775838299096e-08, | |
"gpu": 1.7256232710448453e-07, | |
"total": 3.0924787369746287e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3233651.982934246 | |
} | |
} | |
} | |
} |