
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e3db7fe
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.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": 763.826176, | |
"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.408169921875, | |
"mean": 7.408169921875, | |
"stdev": 0.0, | |
"p50": 7.408169921875, | |
"p90": 7.408169921875, | |
"p95": 7.408169921875, | |
"p99": 7.408169921875, | |
"values": [ | |
7.408169921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.859253916665151e-07, | |
"ram": 4.693504693417744e-07, | |
"gpu": 1.7433347279998887e-06, | |
"total": 3.098610589008178e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 964.153344, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0024035539627079, | |
"mean": 0.0072637938692949825, | |
"stdev": 0.00018445064897951318, | |
"p50": 0.007250944137573242, | |
"p90": 0.007534079933166504, | |
"p95": 0.0076551679134368895, | |
"p99": 0.007683154010772705, | |
"values": [ | |
0.007753727912902832, | |
0.007662591934204102, | |
0.007689216136932373, | |
0.007659520149230957, | |
0.0076605439186096195, | |
0.007646207809448242, | |
0.007654399871826172, | |
0.00765337610244751, | |
0.007580671787261963, | |
0.007302080154418945, | |
0.007328767776489258, | |
0.007309311866760254, | |
0.007282688140869141, | |
0.007394303798675537, | |
0.007451648235321045, | |
0.007322624206542969, | |
0.007362559795379638, | |
0.007371776103973389, | |
0.007358463764190673, | |
0.007300096035003662, | |
0.007258111953735351, | |
0.007310336112976074, | |
0.0073175039291381834, | |
0.007330783843994141, | |
0.007326720237731933, | |
0.007353280067443848, | |
0.0073400321006774905, | |
0.0073471999168395995, | |
0.007300096035003662, | |
0.007269375801086426, | |
0.007327744007110596, | |
0.007329792022705078, | |
0.007208960056304932, | |
0.007173120021820068, | |
0.007250944137573242, | |
0.007265279769897461, | |
0.007243775844573975, | |
0.007288832187652588, | |
0.007305215835571289, | |
0.007326720237731933, | |
0.007351295948028564, | |
0.007358463764190673, | |
0.007373824119567871, | |
0.007514111995697022, | |
0.007581696033477783, | |
0.007592959880828858, | |
0.007662591934204102, | |
0.007629824161529541, | |
0.007284736156463623, | |
0.007314432144165039, | |
0.007319551944732666, | |
0.00724070405960083, | |
0.007256063938140869, | |
0.007279615879058838, | |
0.0072375679016113284, | |
0.007388160228729248, | |
0.007229375839233399, | |
0.007250944137573242, | |
0.007247871875762939, | |
0.007250944137573242, | |
0.00724070405960083, | |
0.007259136199951172, | |
0.007268352031707764, | |
0.007333888053894043, | |
0.0074035201072692874, | |
0.007371808052062988, | |
0.007309311866760254, | |
0.007372799873352051, | |
0.00729804801940918, | |
0.007320576190948487, | |
0.007316480159759522, | |
0.007234560012817383, | |
0.007243775844573975, | |
0.007248928070068359, | |
0.0072540159225463864, | |
0.007171072006225586, | |
0.007054336071014404, | |
0.0071485438346862796, | |
0.007217152118682861, | |
0.007001088142395019, | |
0.00689356803894043, | |
0.006892543792724609, | |
0.006977536201477051, | |
0.007357439994812012, | |
0.00744652795791626, | |
0.007385087966918945, | |
0.007445504188537597, | |
0.007672832012176513, | |
0.007314432144165039, | |
0.0071905279159545895, | |
0.007236608028411865, | |
0.00722431993484497, | |
0.007237631797790528, | |
0.007164927959442138, | |
0.007205887794494629, | |
0.0071905279159545895, | |
0.007231488227844239, | |
0.007205887794494629, | |
0.0071823358535766605, | |
0.007175168037414551, | |
0.007197696208953858, | |
0.007172063827514648, | |
0.007163904190063477, | |
0.007173120021820068, | |
0.007145472049713135, | |
0.007134208202362061, | |
0.007135231971740722, | |
0.007151616096496582, | |
0.007150591850280762, | |
0.007096288204193116, | |
0.00719155216217041, | |
0.007187456130981445, | |
0.007223296165466309, | |
0.007136256217956543, | |
0.007178239822387696, | |
0.0071833600997924804, | |
0.0071792640686035155, | |
0.007202816009521484, | |
0.00714137601852417, | |
0.007175168037414551, | |
0.007204864025115967, | |
0.007165952205657959, | |
0.007158783912658692, | |
0.0071157760620117185, | |
0.0071495680809020995, | |
0.007156735897064209, | |
0.007170048236846924, | |
0.0071792640686035155, | |
0.007158783912658692, | |
0.00689356803894043, | |
0.006879231929779053, | |
0.006897664070129395, | |
0.006871039867401123, | |
0.006884352207183838, | |
0.0068884482383728025, | |
0.006870016098022461, | |
0.0068689918518066405, | |
0.006889472007751465 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.66910487742945 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.719489930555627e-08, | |
"ram": 4.766417222569977e-08, | |
"gpu": 1.5942006217646838e-07, | |
"total": 2.9427913370772445e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3398134.2387435175 | |
} | |
} | |
} | |
} |