
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
35f8d29
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 720.09728, | |
"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.1386533203125, | |
"mean": 7.1386533203125, | |
"stdev": 0.0, | |
"p50": 7.1386533203125, | |
"p90": 7.1386533203125, | |
"p95": 7.1386533203125, | |
"p99": 7.1386533203125, | |
"values": [ | |
7.1386533203125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.657399151060318e-07, | |
"ram": 4.5897495911835525e-07, | |
"gpu": 1.6861124600003885e-06, | |
"total": 3.0108273342247753e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.629824, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9994889264106748, | |
"mean": 0.007242673379787501, | |
"stdev": 0.00039162530348638776, | |
"p50": 0.007197184085845947, | |
"p90": 0.007376179265975952, | |
"p95": 0.007482572960853576, | |
"p99": 0.009518878498077388, | |
"values": [ | |
0.01015500831604004, | |
0.00993791961669922, | |
0.008805376052856445, | |
0.00749567985534668, | |
0.007378943920135498, | |
0.007375872135162354, | |
0.007543807983398438, | |
0.007215104103088379, | |
0.007267327785491944, | |
0.007216127872467041, | |
0.007203839778900147, | |
0.007150591850280762, | |
0.007229440212249756, | |
0.007270400047302246, | |
0.0072724480628967286, | |
0.007331840038299561, | |
0.007325695991516113, | |
0.007328767776489258, | |
0.00721292781829834, | |
0.0073062400817871095, | |
0.007269375801086426, | |
0.007327744007110596, | |
0.007324639797210693, | |
0.007307263851165771, | |
0.007279615879058838, | |
0.0073359360694885255, | |
0.007227392196655274, | |
0.00720688009262085, | |
0.0072427520751953125, | |
0.007192575931549072, | |
0.007245728015899658, | |
0.00709222412109375, | |
0.00719155216217041, | |
0.007229440212249756, | |
0.007176191806793213, | |
0.007196671962738037, | |
0.007402495861053467, | |
0.007195648193359375, | |
0.0073134078979492185, | |
0.007275519847869873, | |
0.007223296165466309, | |
0.007333888053894043, | |
0.007282688140869141, | |
0.007210048198699951, | |
0.007168896198272705, | |
0.007309311866760254, | |
0.007315423965454102, | |
0.0072499198913574215, | |
0.007207935810089112, | |
0.007225344181060791, | |
0.007355391979217529, | |
0.007142399787902832, | |
0.007284736156463623, | |
0.007412735939025879, | |
0.0072765440940856935, | |
0.007194623947143554, | |
0.0072120318412780765, | |
0.007137279987335205, | |
0.007174143791198731, | |
0.007147424221038819, | |
0.007146495819091797, | |
0.007204864025115967, | |
0.007311359882354736, | |
0.0073051838874816895, | |
0.0072724480628967286, | |
0.007262207984924316, | |
0.007281760215759278, | |
0.0073768959045410155, | |
0.007241727828979493, | |
0.0071773438453674315, | |
0.007111743927001953, | |
0.007231488227844239, | |
0.007087071895599365, | |
0.007013376235961914, | |
0.006896639823913574, | |
0.007046144008636474, | |
0.007172063827514648, | |
0.0068689918518066405, | |
0.00679414415359497, | |
0.00676966381072998, | |
0.006840288162231445, | |
0.006898655891418457, | |
0.00695795202255249, | |
0.007320608139038086, | |
0.007481344223022461, | |
0.007489535808563232, | |
0.007491583824157715, | |
0.0073614721298217774, | |
0.007402495861053467, | |
0.007282688140869141, | |
0.007266304016113281, | |
0.0072540159225463864, | |
0.007197696208953858, | |
0.007143424034118652, | |
0.007073791980743408, | |
0.007087103843688965, | |
0.007158783912658692, | |
0.007129087924957276, | |
0.007105535984039306, | |
0.007031807899475098, | |
0.007053311824798584, | |
0.0072499198913574215, | |
0.007063551902770996, | |
0.007046144008636474, | |
0.007102464199066162, | |
0.007096320152282715, | |
0.007037919998168945, | |
0.007094143867492676, | |
0.007088128089904785, | |
0.007168000221252442, | |
0.007160831928253173, | |
0.007098368167877197, | |
0.00707583999633789, | |
0.00709222412109375, | |
0.0071188478469848635, | |
0.007243775844573975, | |
0.007106560230255127, | |
0.00713318395614624, | |
0.007049215793609619, | |
0.007070720195770264, | |
0.0070522880554199216, | |
0.007071743965148926, | |
0.007032832145690918, | |
0.007130176067352295, | |
0.007027711868286133, | |
0.007050240039825439, | |
0.0070860800743103025, | |
0.0070256638526916505, | |
0.007091328144073487, | |
0.0070553598403930665, | |
0.00744755220413208, | |
0.007176191806793213, | |
0.007065599918365479, | |
0.007122943878173828, | |
0.00711075210571289, | |
0.007081855773925781, | |
0.007142399787902832, | |
0.007102464199066162 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.07056421883544 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.190588705253021e-08, | |
"ram": 4.458117156142592e-08, | |
"gpu": 1.546995149315056e-07, | |
"total": 2.8118657354546174e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3556357.5720955315 | |
} | |
} | |
} | |
} |