
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
37b71d4
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.223-212.873.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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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.066304, | |
"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.387978515625, | |
"mean": 7.387978515625, | |
"stdev": 0.0, | |
"p50": 7.387978515625, | |
"p90": 7.387978515625, | |
"p95": 7.387978515625, | |
"p99": 7.387978515625, | |
"values": [ | |
7.387978515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.222970923611723e-07, | |
"ram": 4.6958802323310144e-07, | |
"gpu": 1.6758346740000825e-06, | |
"total": 3.0677197895943562e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.809216, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.001474017620087, | |
"mean": 0.007703646289385282, | |
"stdev": 0.00022089592815666712, | |
"p50": 0.007660032033920288, | |
"p90": 0.007956684827804565, | |
"p95": 0.008030617237091064, | |
"p99": 0.008238305444717407, | |
"values": [ | |
0.007699456214904785, | |
0.007661568164825439, | |
0.0076349759101867675, | |
0.007615488052368164, | |
0.007605247974395752, | |
0.007550975799560547, | |
0.007632895946502686, | |
0.007633920192718506, | |
0.007619584083557129, | |
0.007565311908721924, | |
0.007612415790557861, | |
0.0075970559120178225, | |
0.007673855781555176, | |
0.007570432186126709, | |
0.007591872215270996, | |
0.007582719802856445, | |
0.007621632099151611, | |
0.00764415979385376, | |
0.007651328086853027, | |
0.007576576232910156, | |
0.007661568164825439, | |
0.007591936111450195, | |
0.007658495903015137, | |
0.007822336196899414, | |
0.008034303665161132, | |
0.008136704444885253, | |
0.00800870418548584, | |
0.007895040035247802, | |
0.007915520191192627, | |
0.007930880069732665, | |
0.007944255828857423, | |
0.007824384212493896, | |
0.007831552028656007, | |
0.007880703926086426, | |
0.007921664237976075, | |
0.0078919677734375, | |
0.007912447929382324, | |
0.007875584125518798, | |
0.007903200149536133, | |
0.0079267840385437, | |
0.00793497610092163, | |
0.007987199783325195, | |
0.007947264194488525, | |
0.007840767860412597, | |
0.00797388792037964, | |
0.008076288223266602, | |
0.007956480026245117, | |
0.007871456146240234, | |
0.007903232097625732, | |
0.007879680156707763, | |
0.007964672088623047, | |
0.007874559879302979, | |
0.007863296031951903, | |
0.007958528041839599, | |
0.007932928085327149, | |
0.007827455997467042, | |
0.007871488094329833, | |
0.007881728172302246, | |
0.007921664237976075, | |
0.007903232097625732, | |
0.00785203218460083, | |
0.007948287963867188, | |
0.008178688049316407, | |
0.008026111602783203, | |
0.008152064323425292, | |
0.008262656211853027, | |
0.008345600128173827, | |
0.007950335979461669, | |
0.007913472175598145, | |
0.007805952072143555, | |
0.007846911907196046, | |
0.007837696075439453, | |
0.007854112148284912, | |
0.007755775928497314, | |
0.007688191890716553, | |
0.007856128215789794, | |
0.007700479984283447, | |
0.007506944179534912, | |
0.0074700798988342285, | |
0.007685120105743408, | |
0.007640063762664795, | |
0.007732223987579345, | |
0.007779327869415284, | |
0.007832575798034667, | |
0.007902207851409913, | |
0.00786636781692505, | |
0.007601151943206787, | |
0.007581696033477783, | |
0.007732223987579345, | |
0.007549952030181885, | |
0.007549952030181885, | |
0.007519231796264648, | |
0.0074997758865356446, | |
0.007458816051483155, | |
0.007481279850006103, | |
0.007457791805267334, | |
0.007484416007995606, | |
0.007471168041229248, | |
0.007400479793548584, | |
0.007449600219726562, | |
0.007411712169647216, | |
0.007436287879943848, | |
0.007439295768737793, | |
0.007432191848754883, | |
0.007416831970214844, | |
0.0073820161819458, | |
0.007436287879943848, | |
0.007436287879943848, | |
0.007427072048187256, | |
0.0074332160949707035, | |
0.007433184146881103, | |
0.007420928001403809, | |
0.0074332160949707035, | |
0.0074106879234313965, | |
0.007469056129455566, | |
0.007612415790557861, | |
0.007483391761779785, | |
0.007477248191833496, | |
0.007484416007995606, | |
0.007463935852050781, | |
0.007460832118988037, | |
0.007422976016998291, | |
0.007489535808563232, | |
0.007473152160644531, | |
0.007505919933319092, | |
0.007532544136047363, | |
0.007434239864349365, | |
0.007450687885284424, | |
0.007431168079376221, | |
0.007426047801971435 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.80865974829118 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.8426083582091e-08, | |
"ram": 4.834484753746809e-08, | |
"gpu": 1.6505195625373376e-07, | |
"total": 3.018228873732929e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3313201.356937539 | |
} | |
} | |
} | |
} |