
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e73ae8d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 901.61152, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 1.0019042234420776, | |
"mean": 0.0065483936172684816, | |
"stdev": 0.00021078546764251505, | |
"p50": 0.00653004789352417, | |
"p90": 0.006841548919677734, | |
"p95": 0.006993919849395752, | |
"p99": 0.007201833095550537, | |
"values": [ | |
0.00724070405960083, | |
0.006979584217071533, | |
0.006989823818206787, | |
0.006988800048828125, | |
0.007031807899475098, | |
0.007014400005340577, | |
0.006980607986450196, | |
0.007000063896179199, | |
0.006242303848266601, | |
0.006278143882751465, | |
0.0062228479385375976, | |
0.006264832019805908, | |
0.006198272228240966, | |
0.006243328094482422, | |
0.0062382397651672365, | |
0.006248447895050049, | |
0.006220799922943115, | |
0.006245312213897705, | |
0.006295551776885986, | |
0.006218751907348633, | |
0.006242303848266601, | |
0.006838272094726563, | |
0.006744063854217529, | |
0.00673689603805542, | |
0.007107583999633789, | |
0.007088128089904785, | |
0.006609920024871826, | |
0.006620160102844238, | |
0.006592512130737305, | |
0.00657097578048706, | |
0.006603775978088379, | |
0.0065454401969909665, | |
0.0066304001808166506, | |
0.0065443840026855465, | |
0.006582208156585693, | |
0.00657203197479248, | |
0.00658022403717041, | |
0.006527999877929688, | |
0.006542335987091064, | |
0.006595583915710449, | |
0.006595583915710449, | |
0.006575104236602783, | |
0.006554624080657959, | |
0.006552576065063476, | |
0.006580192089080811, | |
0.006568960189819336, | |
0.006564864158630371, | |
0.006595583915710449, | |
0.006568960189819336, | |
0.006545407772064209, | |
0.006569983959197998, | |
0.006549503803253174, | |
0.006563839912414551, | |
0.006660096168518067, | |
0.006963168144226074, | |
0.006842368125915528, | |
0.006915071964263916, | |
0.00748960018157959, | |
0.006696959972381592, | |
0.006855679988861084, | |
0.006657023906707763, | |
0.006614016056060791, | |
0.006628352165222168, | |
0.006642687797546387, | |
0.00658735990524292, | |
0.006652927875518798, | |
0.006618112087249756, | |
0.006567935943603515, | |
0.006561855792999268, | |
0.00657919979095459, | |
0.006645760059356689, | |
0.0065342397689819335, | |
0.006598656177520752, | |
0.006552576065063476, | |
0.0066078720092773435, | |
0.006556672096252441, | |
0.006556672096252441, | |
0.006551551818847656, | |
0.006535168170928955, | |
0.006512671947479248, | |
0.006590496063232422, | |
0.006557695865631104, | |
0.006666240215301514, | |
0.006585343837738037, | |
0.006518784046173095, | |
0.006609920024871826, | |
0.006617087841033936, | |
0.006246399879455566, | |
0.006268928050994873, | |
0.006235136032104492, | |
0.006398975849151611, | |
0.00653004789352417, | |
0.006482944011688232, | |
0.006518784046173095, | |
0.006524928092956543, | |
0.006494207859039307, | |
0.006537248134613037, | |
0.006491136074066162, | |
0.006502399921417237, | |
0.006532095909118653, | |
0.006524928092956543, | |
0.006495200157165528, | |
0.00659660816192627, | |
0.006567935943603515, | |
0.006501376152038574, | |
0.006502399921417237, | |
0.006457344055175781, | |
0.006509568214416504, | |
0.0064767999649047855, | |
0.006460415840148926, | |
0.006436863899230957, | |
0.0063610877990722655, | |
0.006419456005096436, | |
0.006415359973907471, | |
0.006364160060882569, | |
0.006376448154449463, | |
0.0063836159706115725, | |
0.006368256092071533, | |
0.006363135814666748, | |
0.006330368041992188, | |
0.006377471923828125, | |
0.006364160060882569, | |
0.006366208076477051, | |
0.00638156795501709, | |
0.006344704151153564, | |
0.0064542717933654785, | |
0.006436863899230957, | |
0.0064471039772033695, | |
0.006470655918121338, | |
0.006421504020690918, | |
0.006468575954437256, | |
0.006453248023986816, | |
0.006437888145446777, | |
0.006486015796661377, | |
0.006469632148742676, | |
0.006468607902526856, | |
0.006461440086364746, | |
0.006468607902526856, | |
0.0064839677810668945, | |
0.007165952205657959, | |
0.006492159843444824, | |
0.006490111827850342, | |
0.006496255874633789, | |
0.006513728141784668, | |
0.0064778242111206055, | |
0.006453279972076416, | |
0.0064430079460144046, | |
0.0064767999649047855, | |
0.006428671836853027, | |
0.006436863899230957, | |
0.006426559925079346, | |
0.006479872226715088, | |
0.006453248023986816 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.70920754716758 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.668148339008345e-08, | |
"ram": 4.1918809835014173e-08, | |
"gpu": 1.3327788439999923e-07, | |
"total": 2.518781776250968e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3970173.237827814 | |
} | |
} | |
} | |
} |