
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e9fc449
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-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.33.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.840448, | |
"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.414328125, | |
"mean": 7.414328125, | |
"stdev": 0.0, | |
"p50": 7.414328125, | |
"p90": 7.414328125, | |
"p95": 7.414328125, | |
"p99": 7.414328125, | |
"values": [ | |
7.414328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.115660784727217e-07, | |
"ram": 4.838538982532713e-07, | |
"gpu": 1.7277791600003867e-06, | |
"total": 3.1231991367263797e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.719104, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9968557133674619, | |
"mean": 0.007551937222480773, | |
"stdev": 0.00029559826934873505, | |
"p50": 0.007555072069168091, | |
"p90": 0.007832371234893798, | |
"p95": 0.008144127893447876, | |
"p99": 0.00848025592803955, | |
"values": [ | |
0.00830361557006836, | |
0.008218624114990235, | |
0.008204287528991699, | |
0.008141823768615723, | |
0.008650752067565918, | |
0.00748748779296875, | |
0.007194591999053955, | |
0.007144447803497315, | |
0.0071526398658752445, | |
0.007109632015228271, | |
0.007134208202362061, | |
0.007105535984039306, | |
0.007070720195770264, | |
0.007076863765716553, | |
0.00709222412109375, | |
0.007098400115966797, | |
0.007078911781311035, | |
0.0070860800743103025, | |
0.007090112209320068, | |
0.00710041618347168, | |
0.007096320152282715, | |
0.007050303936004638, | |
0.007088128089904785, | |
0.007101439952850342, | |
0.0070860800743103025, | |
0.007062528133392334, | |
0.007088128089904785, | |
0.0070891518592834475, | |
0.007097343921661377, | |
0.007113728046417236, | |
0.007056320190429687, | |
0.007324607849121094, | |
0.008146944046020508, | |
0.007950335979461669, | |
0.008559616088867187, | |
0.008225791931152344, | |
0.007650303840637207, | |
0.007627840042114258, | |
0.007904255867004394, | |
0.007955455780029297, | |
0.007790592193603516, | |
0.007601151943206787, | |
0.007572480201721191, | |
0.00754585599899292, | |
0.007556096076965332, | |
0.00754585599899292, | |
0.007573503971099854, | |
0.0075447678565979, | |
0.007511040210723877, | |
0.007539711952209473, | |
0.007570432186126709, | |
0.007548927783966064, | |
0.007552000045776367, | |
0.007536640167236328, | |
0.007616511821746826, | |
0.007560192108154297, | |
0.007528416156768799, | |
0.007566336154937744, | |
0.007514111995697022, | |
0.007632895946502686, | |
0.007748608112335205, | |
0.007649280071258545, | |
0.007607295989990235, | |
0.007770112037658691, | |
0.007589888095855713, | |
0.007546879768371582, | |
0.007572480201721191, | |
0.007562240123748779, | |
0.00753868818283081, | |
0.007504896163940429, | |
0.007553023815155029, | |
0.007528448104858398, | |
0.007526400089263916, | |
0.007704576015472412, | |
0.007561215877532959, | |
0.007570432186126709, | |
0.007575551986694336, | |
0.007561215877532959, | |
0.0075345921516418455, | |
0.007502848148345947, | |
0.00754585599899292, | |
0.007560224056243897, | |
0.007570432186126709, | |
0.0075642881393432615, | |
0.007554048061370849, | |
0.007575551986694336, | |
0.007616511821746826, | |
0.007549952030181885, | |
0.007532544136047363, | |
0.0075346240997314455, | |
0.0077281279563903805, | |
0.007733248233795166, | |
0.007799808025360107, | |
0.007987199783325195, | |
0.00779366397857666, | |
0.007774208068847656, | |
0.007802879810333252, | |
0.007737343788146973, | |
0.007619584083557129, | |
0.007612415790557861, | |
0.007605247974395752, | |
0.0075970559120178225, | |
0.0075642881393432615, | |
0.00753766393661499, | |
0.007556096076965332, | |
0.007543807983398438, | |
0.007567327976226806, | |
0.007576576232910156, | |
0.007582752227783203, | |
0.0075304961204528805, | |
0.007552000045776367, | |
0.007502848148345947, | |
0.007870463848114014, | |
0.007729152202606201, | |
0.00783564805984497, | |
0.007664639949798584, | |
0.00765235185623169, | |
0.00773529577255249, | |
0.007613440036773681, | |
0.007573503971099854, | |
0.007600128173828125, | |
0.007501823902130127, | |
0.007526400089263916, | |
0.007516160011291504, | |
0.0074997758865356446, | |
0.007489535808563232, | |
0.007532544136047363, | |
0.007535615921020508, | |
0.007531519889831543, | |
0.007540736198425293, | |
0.007532544136047363, | |
0.0075335679054260255 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.4163549748769 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.50205023710315e-08, | |
"ram": 4.648460536740833e-08, | |
"gpu": 1.6103187485714467e-07, | |
"total": 2.9253698259558455e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3418371.2128542806 | |
} | |
} | |
} | |
} |