
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e67e22f
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.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"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": 801.067008, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.4369814453125, | |
"mean": 8.4369814453125, | |
"stdev": 0.0, | |
"p50": 8.4369814453125, | |
"p90": 8.4369814453125, | |
"p95": 8.4369814453125, | |
"p99": 8.4369814453125, | |
"values": [ | |
8.4369814453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.5545266986108733e-06, | |
"ram": 1.380375110342877e-06, | |
"gpu": 3.4388916400002537e-06, | |
"total": 7.3737934489540034e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1086.050304, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 161, | |
"total": 0.9956332788467406, | |
"mean": 0.006184057632588452, | |
"stdev": 0.000277361069453193, | |
"p50": 0.006220799922943115, | |
"p90": 0.006448128223419189, | |
"p95": 0.0066979842185974124, | |
"p99": 0.007026278400421144, | |
"values": [ | |
0.0065669121742248536, | |
0.006490111827850342, | |
0.006516799926757812, | |
0.00657203197479248, | |
0.006560768127441406, | |
0.006441984176635742, | |
0.006448128223419189, | |
0.00637337589263916, | |
0.0063907837867736815, | |
0.006318079948425293, | |
0.006304768085479737, | |
0.006387712001800537, | |
0.0062044157981872555, | |
0.0063211522102355954, | |
0.0064174079895019534, | |
0.0063201279640197755, | |
0.006343679904937744, | |
0.006268928050994873, | |
0.006165503978729248, | |
0.006218783855438233, | |
0.007169023990631103, | |
0.0065443840026855465, | |
0.006308864116668702, | |
0.00638976001739502, | |
0.0065136637687683106, | |
0.006251520156860352, | |
0.006358016014099121, | |
0.006309887886047363, | |
0.006276095867156982, | |
0.006328320026397705, | |
0.006319104194641113, | |
0.006293504238128662, | |
0.006302720069885254, | |
0.006305791854858398, | |
0.006252543926239014, | |
0.006190080165863037, | |
0.006238143920898437, | |
0.0063610877990722655, | |
0.006243328094482422, | |
0.0062156801223754886, | |
0.006264768123626709, | |
0.0062269439697265625, | |
0.006138879776000977, | |
0.0062269439697265625, | |
0.006154240131378174, | |
0.006306816101074219, | |
0.006149119853973388, | |
0.006223872184753418, | |
0.006210559844970703, | |
0.00621779203414917, | |
0.006190080165863037, | |
0.006177792072296143, | |
0.006294528007507324, | |
0.0063498239517211915, | |
0.006318079948425293, | |
0.006261760234832763, | |
0.0062740797996521, | |
0.00628223991394043, | |
0.006220799922943115, | |
0.0062197761535644535, | |
0.0066979842185974124, | |
0.006359007835388184, | |
0.006351871967315674, | |
0.00622489595413208, | |
0.006213696002960205, | |
0.006220799922943115, | |
0.006252543926239014, | |
0.006135807991027832, | |
0.006106112003326416, | |
0.006138879776000977, | |
0.0062863359451293946, | |
0.0062904319763183595, | |
0.006326272010803223, | |
0.006334464073181153, | |
0.006281216144561768, | |
0.006248447895050049, | |
0.006181888103485108, | |
0.006246399879455566, | |
0.006165503978729248, | |
0.006165503978729248, | |
0.006227968215942382, | |
0.0061972479820251464, | |
0.006213632106781006, | |
0.006295551776885986, | |
0.006351871967315674, | |
0.006289408206939697, | |
0.006220799922943115, | |
0.0062791681289672855, | |
0.0062740478515625, | |
0.006270976066589356, | |
0.006313983917236328, | |
0.006309887886047363, | |
0.006280191898345947, | |
0.006176767826080322, | |
0.006095871925354004, | |
0.006328320026397705, | |
0.006222879886627198, | |
0.0060590081214904785, | |
0.00608358383178711, | |
0.006002751827239991, | |
0.005929984092712402, | |
0.006146048069000244, | |
0.006073344230651856, | |
0.00587775993347168, | |
0.005774335861206055, | |
0.005958655834197998, | |
0.005904384136199951, | |
0.00612556791305542, | |
0.006108160018920898, | |
0.006165503978729248, | |
0.006729728221893311, | |
0.006281184196472168, | |
0.006242303848266601, | |
0.006847487926483154, | |
0.007139328002929687, | |
0.00695091199874878, | |
0.006858751773834228, | |
0.0068986878395080565, | |
0.0067358717918396, | |
0.00586956787109375, | |
0.006053887844085694, | |
0.005889023780822754, | |
0.005976064205169678, | |
0.005807104110717773, | |
0.005833727836608887, | |
0.0057784318923950195, | |
0.005822463989257813, | |
0.005789696216583252, | |
0.005805056095123291, | |
0.005816319942474365, | |
0.0058726401329040525, | |
0.005859360218048095, | |
0.006085631847381592, | |
0.005854207992553711, | |
0.0058009600639343266, | |
0.005829631805419922, | |
0.005808127880096436, | |
0.00582144021987915, | |
0.005763072013854981, | |
0.005831679821014404, | |
0.005747712135314941, | |
0.0058429441452026365, | |
0.005738495826721191, | |
0.005808127880096436, | |
0.005767168045043946, | |
0.005766143798828125, | |
0.005798912048339844, | |
0.005756927967071533, | |
0.005786623954772949, | |
0.005858304023742676, | |
0.005907455921173096, | |
0.005870528221130371, | |
0.0059064321517944334, | |
0.005789696216583252, | |
0.0057784318923950195, | |
0.00568832015991211, | |
0.006093823909759521, | |
0.00613478422164917, | |
0.0059985918998718265, | |
0.005793791770935058, | |
0.005850111961364746 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 161.70612555909048 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.846723775289106e-08, | |
"ram": 3.7412866176479635e-08, | |
"gpu": 1.3471430173410146e-07, | |
"total": 2.405944056634721e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4156372.619065529 | |
} | |
} | |
} | |
} |