
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ecef9eb
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.224-212.876.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.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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 799.125504, | |
"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.02976953125, | |
"mean": 8.02976953125, | |
"stdev": 0.0, | |
"p50": 8.02976953125, | |
"p90": 8.02976953125, | |
"p95": 8.02976953125, | |
"p99": 8.02976953125, | |
"values": [ | |
8.02976953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.385617862501022e-06, | |
"ram": 1.282580852523439e-06, | |
"gpu": 3.259724830000088e-06, | |
"total": 6.927923545024549e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1095.08608, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9958953552246094, | |
"mean": 0.008031414155037173, | |
"stdev": 0.00025093190840213246, | |
"p50": 0.008111615657806395, | |
"p90": 0.008264396381378174, | |
"p95": 0.008415693187713623, | |
"p99": 0.008616378870010375, | |
"values": [ | |
0.008452095985412598, | |
0.008425472259521484, | |
0.008431615829467774, | |
0.008418304443359375, | |
0.008400896072387695, | |
0.008480735778808594, | |
0.00828006362915039, | |
0.008208383560180664, | |
0.008656895637512207, | |
0.008196096420288086, | |
0.008203264236450195, | |
0.008190976142883302, | |
0.00811520004272461, | |
0.008137727737426758, | |
0.008164352416992187, | |
0.008145919799804687, | |
0.008179712295532226, | |
0.00827187156677246, | |
0.008201215744018555, | |
0.008202239990234375, | |
0.008155136108398438, | |
0.008141823768615723, | |
0.008151040077209473, | |
0.008137696266174317, | |
0.008134655952453614, | |
0.008302592277526855, | |
0.008867839813232421, | |
0.008140800476074218, | |
0.008155136108398438, | |
0.008116224288940429, | |
0.008129535675048828, | |
0.008119296073913575, | |
0.008026111602783203, | |
0.008002559661865234, | |
0.00812947177886963, | |
0.008070143699645996, | |
0.008165375709533691, | |
0.00810905647277832, | |
0.008086527824401855, | |
0.008212479591369629, | |
0.008232959747314453, | |
0.008220735549926758, | |
0.008181759834289551, | |
0.00818995189666748, | |
0.008123456001281738, | |
0.008075263977050781, | |
0.008113151550292968, | |
0.008177663803100586, | |
0.008188896179199219, | |
0.008122367858886719, | |
0.008095744132995606, | |
0.008126463890075684, | |
0.008110079765319824, | |
0.008035327911376953, | |
0.008091648101806641, | |
0.008078335762023926, | |
0.008193023681640625, | |
0.00806604766845703, | |
0.008089599609375, | |
0.00812339210510254, | |
0.00808243179321289, | |
0.00807423973083496, | |
0.008135680198669434, | |
0.008144895553588867, | |
0.008256511688232422, | |
0.008238080024719239, | |
0.008157183647155761, | |
0.008170495986938477, | |
0.008223744392395019, | |
0.008087552070617676, | |
0.008225791931152344, | |
0.008075263977050781, | |
0.00800972843170166, | |
0.008267775535583496, | |
0.008017919540405273, | |
0.008008671760559081, | |
0.007886847972869874, | |
0.00800153636932373, | |
0.008101887702941894, | |
0.007860223770141601, | |
0.007700479984283447, | |
0.007832575798034667, | |
0.008388607978820802, | |
0.008156160354614257, | |
0.008157183647155761, | |
0.00810700798034668, | |
0.008128512382507324, | |
0.008220671653747558, | |
0.00781824016571045, | |
0.007685120105743408, | |
0.007681024074554443, | |
0.007674880027770996, | |
0.008218624114990235, | |
0.0076687359809875484, | |
0.007535615921020508, | |
0.007625728130340576, | |
0.007701504230499268, | |
0.007714816093444824, | |
0.00767903995513916, | |
0.007681024074554443, | |
0.007634943962097168, | |
0.00775270414352417, | |
0.007671872138977051, | |
0.0077209601402282715, | |
0.0076984319686889645, | |
0.007724991798400879, | |
0.0076943359375, | |
0.00769536018371582, | |
0.007705599784851074, | |
0.007721983909606934, | |
0.007732223987579345, | |
0.007710720062255859, | |
0.007703551769256592, | |
0.007714816093444824, | |
0.007662591934204102, | |
0.007659520149230957, | |
0.007669760227203369, | |
0.00768723201751709, | |
0.007762944221496582, | |
0.007693312168121338, | |
0.007664639949798584, | |
0.007669760227203369, | |
0.007700479984283447, | |
0.007688191890716553 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.51107372825696 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.983247180133255e-08, | |
"ram": 4.908402791588456e-08, | |
"gpu": 1.6095762034849215e-07, | |
"total": 2.9987412006570923e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3334732.586396176 | |
} | |
} | |
} | |
} |