
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fd6badd
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 789.131264, | |
"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.38857666015625, | |
"mean": 7.38857666015625, | |
"stdev": 0.0, | |
"p50": 7.38857666015625, | |
"p90": 7.38857666015625, | |
"p95": 7.38857666015625, | |
"p99": 7.38857666015625, | |
"values": [ | |
7.38857666015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.771265812504858e-07, | |
"ram": 4.6516059702451484e-07, | |
"gpu": 1.7094458119996415e-06, | |
"total": 3.051732990274642e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1085.034496, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9988249263763427, | |
"mean": 0.007742828886638315, | |
"stdev": 0.00022354460679941142, | |
"p50": 0.007705599784851074, | |
"p90": 0.00802263011932373, | |
"p95": 0.00808263645172119, | |
"p99": 0.008394888916015624, | |
"values": [ | |
0.007838719844818116, | |
0.007737343788146973, | |
0.007865344047546387, | |
0.00774348783493042, | |
0.007674880027770996, | |
0.00765235185623169, | |
0.007705599784851074, | |
0.007654399871826172, | |
0.00765337610244751, | |
0.007824384212493896, | |
0.007625728130340576, | |
0.007633920192718506, | |
0.007541759967803955, | |
0.007579648017883301, | |
0.00765337610244751, | |
0.007615488052368164, | |
0.007688223838806152, | |
0.007676928043365478, | |
0.0076277761459350585, | |
0.007897119998931884, | |
0.008144927978515624, | |
0.007935999870300293, | |
0.008492095947265625, | |
0.007994368076324462, | |
0.007948287963867188, | |
0.007933951854705811, | |
0.0080250883102417, | |
0.007887872219085693, | |
0.007988224029541016, | |
0.008049599647521973, | |
0.008094719886779785, | |
0.008071167945861817, | |
0.007924736022949219, | |
0.007864319801330566, | |
0.007932928085327149, | |
0.007938047885894776, | |
0.007890944004058837, | |
0.00799129581451416, | |
0.008078335762023926, | |
0.007994431972503662, | |
0.008085503578186035, | |
0.007960576057434082, | |
0.007886847972869874, | |
0.007928832054138184, | |
0.008032256126403809, | |
0.007935999870300293, | |
0.007877632141113282, | |
0.0079267840385437, | |
0.007907264232635498, | |
0.007874559879302979, | |
0.007841792106628418, | |
0.007898143768310547, | |
0.007824384212493896, | |
0.007709695816040039, | |
0.007518208026885987, | |
0.007615488052368164, | |
0.0075939841270446775, | |
0.007569407939910889, | |
0.007536640167236328, | |
0.007572480201721191, | |
0.007601183891296387, | |
0.008136704444885253, | |
0.00809779167175293, | |
0.007982079982757568, | |
0.007993375778198242, | |
0.008068096160888672, | |
0.007887807846069336, | |
0.007912447929382324, | |
0.007837696075439453, | |
0.00790015983581543, | |
0.007837696075439453, | |
0.007828479766845703, | |
0.007714816093444824, | |
0.007806975841522217, | |
0.007840767860412597, | |
0.007741439819335938, | |
0.007506944179534912, | |
0.007679999828338623, | |
0.007572480201721191, | |
0.007623680114746094, | |
0.007684095859527588, | |
0.007802879810333252, | |
0.0076277761459350585, | |
0.007780352115631104, | |
0.007969791889190675, | |
0.00774348783493042, | |
0.007890944004058837, | |
0.007608320236206055, | |
0.007605247974395752, | |
0.007591936111450195, | |
0.00758070421218872, | |
0.007553023815155029, | |
0.007699456214904785, | |
0.007513023853302002, | |
0.007507967948913574, | |
0.00744755220413208, | |
0.007498752117156982, | |
0.0074711041450500485, | |
0.007508992195129394, | |
0.007505919933319092, | |
0.0074670081138610836, | |
0.007763967990875244, | |
0.008022015571594238, | |
0.008565759658813477, | |
0.00757862377166748, | |
0.007725056171417236, | |
0.007525375843048096, | |
0.007485375881195068, | |
0.007432191848754883, | |
0.007469056129455566, | |
0.007461887836456299, | |
0.00765235185623169, | |
0.007456768035888672, | |
0.007465983867645264, | |
0.007466944217681884, | |
0.007465983867645264, | |
0.007451648235321045, | |
0.007437312126159668, | |
0.007468031883239746, | |
0.007452672004699707, | |
0.007451648235321045, | |
0.007469056129455566, | |
0.007456768035888672, | |
0.00744755220413208, | |
0.0076308479309082035, | |
0.007679999828338623, | |
0.007525375843048096, | |
0.007505919933319092, | |
0.007514111995697022 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.15176282995031 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.60660248138085e-08, | |
"ram": 4.7057267963438394e-08, | |
"gpu": 1.585609158985516e-07, | |
"total": 2.9168420867579845e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3428365.2328655245 | |
} | |
} | |
} | |
} |