
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3f07d22
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.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.798848, | |
"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.250294921875, | |
"mean": 7.250294921875, | |
"stdev": 0.0, | |
"p50": 7.250294921875, | |
"p90": 7.250294921875, | |
"p95": 7.250294921875, | |
"p99": 7.250294921875, | |
"values": [ | |
7.250294921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.929943044980367e-07, | |
"ram": 4.615018768509079e-07, | |
"gpu": 1.6302790820004257e-06, | |
"total": 2.98477526334937e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.499328, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9992987227439883, | |
"mean": 0.007402212761066578, | |
"stdev": 0.00032458107441174033, | |
"p50": 0.007456704139709473, | |
"p90": 0.00771850233078003, | |
"p95": 0.007783833503723144, | |
"p99": 0.008602972450256346, | |
"values": [ | |
0.007789567947387695, | |
0.007762944221496582, | |
0.00773529577255249, | |
0.007781375885009765, | |
0.007759871959686279, | |
0.007602176189422607, | |
0.007560192108154297, | |
0.007600128173828125, | |
0.007540736198425293, | |
0.007559167861938477, | |
0.007286784172058106, | |
0.007411712169647216, | |
0.0071792640686035155, | |
0.007179296016693116, | |
0.007238656044006348, | |
0.007865344047546387, | |
0.007667712211608887, | |
0.00759603214263916, | |
0.0075980801582336424, | |
0.007518208026885987, | |
0.0075838079452514645, | |
0.00765235185623169, | |
0.007581696033477783, | |
0.007544832229614258, | |
0.007542784214019775, | |
0.007625728130340576, | |
0.007525375843048096, | |
0.007515135765075683, | |
0.0075642881393432615, | |
0.007566336154937744, | |
0.0074535999298095705, | |
0.00744755220413208, | |
0.007463935852050781, | |
0.007498752117156982, | |
0.00744652795791626, | |
0.007535552024841309, | |
0.007482367992401123, | |
0.007602176189422607, | |
0.007693312168121338, | |
0.007615488052368164, | |
0.007628799915313721, | |
0.007549952030181885, | |
0.007456704139709473, | |
0.007494656085968018, | |
0.007585792064666748, | |
0.00752950382232666, | |
0.0074967041015625, | |
0.007548927783966064, | |
0.007437312126159668, | |
0.007455743789672851, | |
0.00748748779296875, | |
0.007460864067077637, | |
0.007610367774963379, | |
0.007798783779144287, | |
0.007452672004699707, | |
0.007469056129455566, | |
0.00742195177078247, | |
0.007516160011291504, | |
0.007482367992401123, | |
0.0075643200874328615, | |
0.007758848190307617, | |
0.007611392021179199, | |
0.007966720104217529, | |
0.008231936454772949, | |
0.008794112205505371, | |
0.00921497631072998, | |
0.007638016223907471, | |
0.0076277761459350585, | |
0.007580639839172364, | |
0.007491583824157715, | |
0.007371776103973389, | |
0.007313375949859619, | |
0.007526400089263916, | |
0.007473152160644531, | |
0.007236608028411865, | |
0.007177216053009033, | |
0.007154687881469727, | |
0.007352320194244385, | |
0.007461887836456299, | |
0.007507967948913574, | |
0.007513023853302002, | |
0.007600128173828125, | |
0.007650303840637207, | |
0.007778304100036621, | |
0.007747519969940186, | |
0.007187456130981445, | |
0.007070720195770264, | |
0.007181312084197998, | |
0.007087103843688965, | |
0.007122943878173828, | |
0.007061503887176514, | |
0.00713318395614624, | |
0.0070860800743103025, | |
0.007123968124389648, | |
0.007106560230255127, | |
0.007081984043121338, | |
0.007090176105499267, | |
0.007101439952850342, | |
0.007142399787902832, | |
0.007053311824798584, | |
0.007138304233551026, | |
0.007074816226959229, | |
0.007053311824798584, | |
0.007069695949554444, | |
0.007065599918365479, | |
0.0070860800743103025, | |
0.007039999961853028, | |
0.007143360137939453, | |
0.007061503887176514, | |
0.007087103843688965, | |
0.007079936027526855, | |
0.007088128089904785, | |
0.007079936027526855, | |
0.007039999961853028, | |
0.007045119762420654, | |
0.007071743965148926, | |
0.007093247890472412, | |
0.007047167778015137, | |
0.007070720195770264, | |
0.007069695949554444, | |
0.0074926080703735356, | |
0.0071526398658752445, | |
0.007066624164581299, | |
0.0070891518592834475, | |
0.007104512214660645, | |
0.007104479789733887, | |
0.007094272136688232, | |
0.00707583999633789, | |
0.007123968124389648, | |
0.007074816226959229, | |
0.0070860800743103025, | |
0.00709119987487793, | |
0.007047167778015137, | |
0.00707583999633789, | |
0.007080959796905518 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.09473886777485 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.077939531610306e-08, | |
"ram": 4.4167580579299836e-08, | |
"gpu": 1.510054118095222e-07, | |
"total": 2.7595238770492513e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3623813.5437671817 | |
} | |
} | |
} | |
} |