
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9ea9f47
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": 786.563072, | |
"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.3673955078125, | |
"mean": 7.3673955078125, | |
"stdev": 0.0, | |
"p50": 7.3673955078125, | |
"p90": 7.3673955078125, | |
"p95": 7.3673955078125, | |
"p99": 7.3673955078125, | |
"values": [ | |
7.3673955078125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.171634465281168e-07, | |
"ram": 4.71039945465597e-07, | |
"gpu": 0.0, | |
"total": 1.3882033919937139e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1081.663488, | |
"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.9996328606605531, | |
"mean": 0.007749091943105062, | |
"stdev": 0.0004553539529249022, | |
"p50": 0.00780083179473877, | |
"p90": 0.007868825435638428, | |
"p95": 0.00792227840423584, | |
"p99": 0.010108108596801757, | |
"values": [ | |
0.010782719612121582, | |
0.010469375610351562, | |
0.009179136276245118, | |
0.007423999786376953, | |
0.00723967981338501, | |
0.00722431993484497, | |
0.007233535766601563, | |
0.007238656044006348, | |
0.007234560012817383, | |
0.007214079856872559, | |
0.007231488227844239, | |
0.00719974422454834, | |
0.0072202239036560055, | |
0.007256063938140869, | |
0.007252992153167725, | |
0.007245823860168457, | |
0.007197663784027099, | |
0.007236608028411865, | |
0.007229407787322998, | |
0.007237631797790528, | |
0.007214079856872559, | |
0.007198719978332519, | |
0.007218175888061523, | |
0.0072325119972229, | |
0.007226367950439453, | |
0.0072325119972229, | |
0.007227392196655274, | |
0.007174143791198731, | |
0.007207935810089112, | |
0.00744652795791626, | |
0.007823359966278077, | |
0.007837696075439453, | |
0.007824384212493896, | |
0.007808000087738037, | |
0.007822336196899414, | |
0.007803904056549072, | |
0.00779260778427124, | |
0.00780083179473877, | |
0.007813119888305664, | |
0.007814144134521485, | |
0.007819263935089112, | |
0.00782534408569336, | |
0.007824384212493896, | |
0.008134655952453614, | |
0.00807423973083496, | |
0.007811071872711181, | |
0.007830527782440186, | |
0.007839744091033935, | |
0.007796735763549805, | |
0.007868415832519531, | |
0.007875584125518798, | |
0.00783462381362915, | |
0.007833600044250488, | |
0.007879680156707763, | |
0.007814144134521485, | |
0.007803904056549072, | |
0.007813119888305664, | |
0.007832575798034667, | |
0.00786636781692505, | |
0.007924736022949219, | |
0.00785814380645752, | |
0.007831552028656007, | |
0.007808032035827636, | |
0.00780083179473877, | |
0.007805952072143555, | |
0.007824384212493896, | |
0.007836671829223632, | |
0.007796735763549805, | |
0.00779366397857666, | |
0.007813119888305664, | |
0.007797760009765625, | |
0.007799744129180908, | |
0.007788544178009033, | |
0.007802879810333252, | |
0.007756800174713135, | |
0.007918591976165772, | |
0.008247296333312988, | |
0.007870463848114014, | |
0.007803904056549072, | |
0.007809023857116699, | |
0.007845888137817383, | |
0.00780083179473877, | |
0.007788544178009033, | |
0.007822368144989014, | |
0.007789567947387695, | |
0.007796735763549805, | |
0.007798783779144287, | |
0.007794688224792481, | |
0.00790835189819336, | |
0.007902207851409913, | |
0.007786496162414551, | |
0.007803904056549072, | |
0.007816192150115966, | |
0.007857151985168457, | |
0.007806975841522217, | |
0.007806015968322754, | |
0.007813119888305664, | |
0.007820288181304931, | |
0.00784284782409668, | |
0.007782400131225586, | |
0.007789567947387695, | |
0.007812096118927002, | |
0.007806975841522217, | |
0.007767039775848389, | |
0.0077844481468200685, | |
0.007778272151947021, | |
0.007776256084442139, | |
0.007791679859161377, | |
0.00779366397857666, | |
0.007796735763549805, | |
0.007780352115631104, | |
0.007809023857116699, | |
0.007804927825927735, | |
0.007782400131225586, | |
0.007676928043365478, | |
0.007693312168121338, | |
0.007664639949798584, | |
0.007696383953094482, | |
0.007682047843933106, | |
0.007686143875122071, | |
0.00765337610244751, | |
0.007688191890716553, | |
0.00781004810333252, | |
0.00780083179473877, | |
0.007794688224792481, | |
0.007787519931793213, | |
0.007792640209197998, | |
0.007832608222961425, | |
0.007783423900604248 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.04737836925185 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.021860800189614e-08, | |
"ram": 4.9323581099032406e-08, | |
"gpu": 1.654041727272753e-07, | |
"total": 3.0494636182820385e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3279265.22554601 | |
} | |
} | |
} | |
} |