IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
339c37a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": {}, | |
"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.1", | |
"optimum_benchmark_commit": "bc46022225a5818a4648ee2abeffdd38c4a9b291", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 1014.054912, | |
"max_global_vram": 897.142784, | |
"max_process_vram": 215511.031808, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9977440142631528, | |
"mean": 0.006977230868973098, | |
"stdev": 0.0004668850916590059, | |
"p50": 0.006791042804718018, | |
"p90": 0.007618148136138916, | |
"p95": 0.007831555843353271, | |
"p99": 0.008049408988952638, | |
"values": [ | |
0.007918724060058594, | |
0.007835683822631835, | |
0.007627523899078369, | |
0.007640803813934326, | |
0.008003844261169433, | |
0.007857923984527587, | |
0.008082404136657714, | |
0.007794404029846191, | |
0.00763968276977539, | |
0.007678563117980957, | |
0.007948803901672363, | |
0.0075024042129516605, | |
0.007558884143829346, | |
0.007890404224395752, | |
0.007513603210449219, | |
0.007324324131011963, | |
0.007170244216918946, | |
0.0069379229545593266, | |
0.006973604202270508, | |
0.006974402904510498, | |
0.006962883949279785, | |
0.006944323062896728, | |
0.006923363208770752, | |
0.006954402923583985, | |
0.006925922870635986, | |
0.006909604072570801, | |
0.006936323165893554, | |
0.007004164218902588, | |
0.010845765113830567, | |
0.007221124172210693, | |
0.0071307229995727535, | |
0.006910563945770264, | |
0.006928002834320069, | |
0.007105924129486084, | |
0.007039843082427978, | |
0.006972484111785889, | |
0.0071374430656433105, | |
0.007160644054412842, | |
0.007034402847290039, | |
0.007055684089660645, | |
0.007112003803253174, | |
0.00707200288772583, | |
0.007093284130096435, | |
0.0068083229064941405, | |
0.006727202892303467, | |
0.00671968412399292, | |
0.006735363006591797, | |
0.0067344031333923336, | |
0.006779364109039307, | |
0.006726562976837158, | |
0.006757763862609864, | |
0.006762242794036865, | |
0.00673792314529419, | |
0.006721603870391846, | |
0.006761443138122558, | |
0.0067392029762268066, | |
0.0067470440864562985, | |
0.006734242916107178, | |
0.006759842872619629, | |
0.0067659239768981935, | |
0.006745283126831055, | |
0.006808164119720459, | |
0.006748642921447754, | |
0.0067440028190612795, | |
0.006755363941192627, | |
0.006746243000030518, | |
0.006746243000030518, | |
0.006745604038238526, | |
0.006744802951812744, | |
0.006721282958984375, | |
0.006769763946533203, | |
0.006732643127441406, | |
0.0067318429946899416, | |
0.006732643127441406, | |
0.00675920295715332, | |
0.006730723857879639, | |
0.006726882934570313, | |
0.006706882953643798, | |
0.0067604842185974125, | |
0.006726723194122314, | |
0.006749282836914063, | |
0.00693696403503418, | |
0.006745762825012207, | |
0.006738083839416504, | |
0.0067299227714538576, | |
0.006706882953643798, | |
0.006722884178161621, | |
0.006723042964935303, | |
0.0067411231994628906, | |
0.0067464041709899905, | |
0.006753122806549073, | |
0.006735363006591797, | |
0.006720324039459228, | |
0.006712802886962891, | |
0.006759842872619629, | |
0.0067158441543579105, | |
0.006725762844085693, | |
0.006727202892303467, | |
0.006710723876953125, | |
0.006724002838134765, | |
0.0067542438507080076, | |
0.006737283229827881, | |
0.006726562976837158, | |
0.0067659239768981935, | |
0.006733603000640869, | |
0.006726882934570313, | |
0.006714724063873291, | |
0.006705122947692871, | |
0.006697923183441162, | |
0.007290083885192871, | |
0.007620004177093506, | |
0.007610723972320556, | |
0.007628962993621826, | |
0.0071897640228271486, | |
0.007034883975982666, | |
0.007143523216247559, | |
0.007144804000854492, | |
0.006960163116455078, | |
0.006747363090515136, | |
0.006794243812561035, | |
0.006802402973175049, | |
0.006782244205474854, | |
0.006779202938079834, | |
0.006815523147583008, | |
0.006801283836364746, | |
0.006746882915496826, | |
0.006796803951263428, | |
0.006786562919616699, | |
0.0067796831130981445, | |
0.006738883972167969, | |
0.006803362846374512, | |
0.0067936029434204105, | |
0.006797443866729736, | |
0.006791042804718018, | |
0.006840323925018311, | |
0.006813282966613769, | |
0.006804963111877441, | |
0.006820484161376953, | |
0.006804482936859131, | |
0.006783683776855468, | |
0.0068174428939819336, | |
0.006819683074951172, | |
0.00681600284576416 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.3233354004207 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |