
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bec086c
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": 798.195712, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.9520234375, | |
"mean": 7.9520234375, | |
"stdev": 0.0, | |
"p50": 7.9520234375, | |
"p90": 7.9520234375, | |
"p95": 7.9520234375, | |
"p99": 7.9520234375, | |
"values": [ | |
7.9520234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.3590216693668884e-06, | |
"ram": 1.27401747492707e-06, | |
"gpu": 1.7111124799851218e-06, | |
"total": 5.344151624279081e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.771264, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9966181769371031, | |
"mean": 0.007666293668746949, | |
"stdev": 0.00038840759092164767, | |
"p50": 0.0075617280006408695, | |
"p90": 0.007880908727645875, | |
"p95": 0.008535464334487914, | |
"p99": 0.009254647407531737, | |
"values": [ | |
0.007880703926086426, | |
0.00793497610092163, | |
0.007924799919128417, | |
0.007882751941680909, | |
0.007608320236206055, | |
0.00760316801071167, | |
0.007565311908721924, | |
0.007568384170532226, | |
0.007562240123748779, | |
0.007556096076965332, | |
0.007790592193603516, | |
0.007821311950683594, | |
0.007733248233795166, | |
0.007573503971099854, | |
0.007481344223022461, | |
0.007511040210723877, | |
0.0075008001327514645, | |
0.007561215877532959, | |
0.00759500789642334, | |
0.007590911865234375, | |
0.0075673599243164065, | |
0.007531519889831543, | |
0.007483391761779785, | |
0.007755775928497314, | |
0.007840767860412597, | |
0.007827392101287842, | |
0.00783564805984497, | |
0.00773529577255249, | |
0.007701504230499268, | |
0.007558144092559814, | |
0.0075478401184082035, | |
0.00758784008026123, | |
0.007634943962097168, | |
0.0075632638931274416, | |
0.007517183780670166, | |
0.0074741759300231934, | |
0.007773183822631836, | |
0.007737343788146973, | |
0.007520256042480469, | |
0.007507967948913574, | |
0.007523327827453613, | |
0.007524352073669433, | |
0.007591936111450195, | |
0.00769536018371582, | |
0.0075970559120178225, | |
0.007650303840637207, | |
0.0075939841270446775, | |
0.007540736198425293, | |
0.007523392200469971, | |
0.007631872177124023, | |
0.007830527782440186, | |
0.007558144092559814, | |
0.007539711952209473, | |
0.007577600002288819, | |
0.0075008001327514645, | |
0.0074711041450500485, | |
0.0074711041450500485, | |
0.007465983867645264, | |
0.007535615921020508, | |
0.0075970559120178225, | |
0.007513088226318359, | |
0.007547904014587403, | |
0.007617536067962646, | |
0.007769087791442871, | |
0.0075304961204528805, | |
0.007497727870941162, | |
0.007543807983398438, | |
0.007589888095855713, | |
0.007647232055664062, | |
0.007589888095855713, | |
0.007571455955505371, | |
0.007590911865234375, | |
0.007517183780670166, | |
0.0075447998046875, | |
0.007544832229614258, | |
0.007532544136047363, | |
0.007665664196014404, | |
0.007612415790557861, | |
0.007616511821746826, | |
0.007746560096740723, | |
0.007566336154937744, | |
0.007675903797149658, | |
0.007632895946502686, | |
0.007485439777374267, | |
0.007429183959960938, | |
0.0072427520751953125, | |
0.008519712448120118, | |
0.009163776397705077, | |
0.00921388816833496, | |
0.009271295547485351, | |
0.008548352241516113, | |
0.009177087783813476, | |
0.009645055770874024, | |
0.008607744216918945, | |
0.008056832313537597, | |
0.007460864067077637, | |
0.007211008071899414, | |
0.007247871875762939, | |
0.007243775844573975, | |
0.0074926080703735356, | |
0.0075253438949584965, | |
0.007609344005584716, | |
0.007853055953979492, | |
0.0081080322265625, | |
0.007494656085968018, | |
0.007432191848754883, | |
0.007863296031951903, | |
0.007729152202606201, | |
0.007522304058074952, | |
0.007464960098266602, | |
0.007434239864349365, | |
0.007417856216430664, | |
0.007432191848754883, | |
0.007416831970214844, | |
0.0074291200637817386, | |
0.007459839820861816, | |
0.007445504188537597, | |
0.007418879985809326, | |
0.0074332160949707035, | |
0.007453695774078369, | |
0.007486495971679687, | |
0.007453695774078369, | |
0.007434239864349365, | |
0.007413760185241699, | |
0.007491583824157715, | |
0.007615488052368164, | |
0.007425024032592774, | |
0.007451615810394287, | |
0.007456768035888672, | |
0.00739737606048584 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.44112881778628 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.866812028893919e-08, | |
"ram": 4.845452377027252e-08, | |
"gpu": 1.695046961344994e-07, | |
"total": 3.0662734019371106e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3261287.787867359 | |
} | |
} | |
} | |
} |