
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1a1ba87
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.223-211.872.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 788.045824, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4028740234375, | |
"mean": 7.4028740234375, | |
"stdev": 0.0, | |
"p50": 7.4028740234375, | |
"p90": 7.4028740234375, | |
"p95": 7.4028740234375, | |
"p99": 7.4028740234375, | |
"values": [ | |
7.4028740234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.754071493051186e-07, | |
"ram": 4.6418881683928357e-07, | |
"gpu": 0.0, | |
"total": 1.3395959661444022e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1083.92448, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 1.0009774088859567, | |
"mean": 0.008007819271087648, | |
"stdev": 0.0005102332164813777, | |
"p50": 0.007983104228973388, | |
"p90": 0.00823685131072998, | |
"p95": 0.008728985786437988, | |
"p99": 0.010495713043212894, | |
"values": [ | |
0.010901503562927246, | |
0.010636287689208984, | |
0.010050559997558594, | |
0.008357888221740722, | |
0.008255488395690918, | |
0.008146944046020508, | |
0.008263680458068847, | |
0.008159232139587403, | |
0.00820633602142334, | |
0.008169471740722656, | |
0.008141887664794923, | |
0.00805577564239502, | |
0.008073216438293456, | |
0.008166399955749512, | |
0.00810905647277832, | |
0.008173567771911621, | |
0.008148991584777832, | |
0.008134655952453614, | |
0.008077312469482421, | |
0.008065024375915527, | |
0.008166399955749512, | |
0.008124383926391601, | |
0.008170495986938477, | |
0.008118271827697754, | |
0.008181759834289551, | |
0.008126496315002441, | |
0.008129535675048828, | |
0.008155167579650879, | |
0.008152000427246094, | |
0.008054783821105957, | |
0.007985151767730713, | |
0.008069120407104492, | |
0.008067071914672852, | |
0.008141823768615723, | |
0.008120320320129394, | |
0.00810700798034668, | |
0.008235008239746093, | |
0.008238080024719239, | |
0.008226816177368163, | |
0.008307680130004883, | |
0.008256511688232422, | |
0.008079392433166504, | |
0.008164352416992187, | |
0.008175616264343261, | |
0.008123456001281738, | |
0.008114175796508789, | |
0.008138751983642578, | |
0.008028160095214844, | |
0.008068096160888672, | |
0.008026111602783203, | |
0.008096768379211425, | |
0.008166399955749512, | |
0.008034303665161132, | |
0.008042495727539062, | |
0.008065024375915527, | |
0.007717887878417969, | |
0.007724031925201416, | |
0.007702527999877929, | |
0.007746560096740723, | |
0.007838719844818116, | |
0.007898111820220948, | |
0.007861248016357422, | |
0.007821280002593994, | |
0.007739391803741455, | |
0.007748608112335205, | |
0.007740416049957275, | |
0.007672832012176513, | |
0.007789567947387695, | |
0.007713791847229004, | |
0.0076943359375, | |
0.007590911865234375, | |
0.007519231796264648, | |
0.007692287921905518, | |
0.007549952030181885, | |
0.007356416225433349, | |
0.008219648361206054, | |
0.009136128425598144, | |
0.009312255859375, | |
0.009325568199157714, | |
0.008821760177612305, | |
0.008190976142883302, | |
0.008166399955749512, | |
0.007983104228973388, | |
0.007853055953979492, | |
0.007772192001342774, | |
0.0077281279563903805, | |
0.007704576015472412, | |
0.007710720062255859, | |
0.0077199358940124516, | |
0.007717887878417969, | |
0.007731135845184326, | |
0.007712768077850342, | |
0.007739391803741455, | |
0.007672832012176513, | |
0.0076902399063110355, | |
0.007662591934204102, | |
0.007682047843933106, | |
0.007676928043365478, | |
0.007631872177124023, | |
0.007641056060791016, | |
0.007670783996582031, | |
0.007709695816040039, | |
0.007714816093444824, | |
0.007667712211608887, | |
0.007674880027770996, | |
0.007659520149230957, | |
0.007676928043365478, | |
0.007673855781555176, | |
0.007666687965393066, | |
0.007667776107788086, | |
0.007656447887420655, | |
0.00764415979385376, | |
0.007649280071258545, | |
0.007683072090148926, | |
0.0076902399063110355, | |
0.007682047843933106, | |
0.007671807765960693, | |
0.007700479984283447, | |
0.0076687359809875484, | |
0.007662591934204102, | |
0.007681024074554443, | |
0.007665664196014404, | |
0.007701504230499268, | |
0.007682047843933106, | |
0.007684063911437988 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.87794318866749 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.785587888374252e-08, | |
"ram": 4.80271608381154e-08, | |
"gpu": 1.6738079234074166e-07, | |
"total": 3.0326383206259955e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3297458.8271824666 | |
} | |
} | |
} | |
} |