IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2e3ccf7
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "6", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1104.470016, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3827.216384, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07398250579833984 | |
], | |
"count": 1, | |
"total": 0.07398250579833984, | |
"mean": 0.07398250579833984, | |
"p50": 0.07398250579833984, | |
"p90": 0.07398250579833984, | |
"p95": 0.07398250579833984, | |
"p99": 0.07398250579833984, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1222.32832, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 262058.725376, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0089384126663208, | |
0.00845793056488037, | |
0.007985132217407227, | |
0.0079497709274292, | |
0.008011370658874513, | |
0.00808401107788086, | |
0.007971691131591798, | |
0.007955531120300292, | |
0.00785425090789795, | |
0.00785201120376587, | |
0.007873130798339843, | |
0.007940330982208251, | |
0.007903050899505616, | |
0.007858891010284424, | |
0.007882730960845947, | |
0.007870090961456298, | |
0.007862091064453125, | |
0.007866890907287597, | |
0.007846890926361084, | |
0.007987851142883301, | |
0.008214570999145509, | |
0.008180972099304198, | |
0.007991850852966309, | |
0.007922251224517823, | |
0.007902250766754151, | |
0.007877450942993164, | |
0.007864490985870361, | |
0.00791921091079712, | |
0.007982410907745362, | |
0.008001770973205567, | |
0.008095531463623047, | |
0.00812689208984375, | |
0.008042571067810058, | |
0.008100811004638673, | |
0.00807793140411377, | |
0.00804017162322998, | |
0.008042571067810058, | |
0.007982090950012207, | |
0.007970571041107178, | |
0.007957130908966064, | |
0.007872490882873536, | |
0.007860970973968507, | |
0.007822250843048096, | |
0.00784545087814331, | |
0.007837131023406982, | |
0.007796649932861328, | |
0.007812650203704833, | |
0.0078054509162902835, | |
0.007828330993652344, | |
0.00784113121032715, | |
0.007998411178588866, | |
0.008109451293945313, | |
0.008301132202148438, | |
0.008201451301574706, | |
0.007978090763092041, | |
0.008013771057128907, | |
0.007972331047058105, | |
0.007959371089935302, | |
0.007884010791778565, | |
0.007871531009674072, | |
0.007860331058502198, | |
0.007897130966186524, | |
0.007922091007232667, | |
0.00790385103225708, | |
0.007910251140594482, | |
0.007892810821533203, | |
0.007936330795288086, | |
0.007915050983428954, | |
0.007887051105499268, | |
0.007898571014404297, | |
0.00785633087158203, | |
0.00790449094772339, | |
0.007913930892944336, | |
0.00784641122817993, | |
0.00782224988937378, | |
0.007842091083526612, | |
0.007842411041259765, | |
0.007840970993041992, | |
0.007861930847167969, | |
0.007881771087646485, | |
0.007812810897827148, | |
0.007889451026916504, | |
0.007860651016235351, | |
0.007839050769805908, | |
0.007870730876922607, | |
0.007829451084136962, | |
0.007859371185302734, | |
0.007876330852508545, | |
0.00788481092453003, | |
0.007852971076965332, | |
0.007854569911956787, | |
0.007876810073852538, | |
0.00783409023284912, | |
0.007822891235351563, | |
0.007871211051940918, | |
0.007867850780487061, | |
0.007839691162109376, | |
0.007855690956115723, | |
0.00782641077041626, | |
0.00785425090789795, | |
0.007842091083526612, | |
0.007864971160888672, | |
0.007807530879974365, | |
0.007845931053161621, | |
0.00783041000366211, | |
0.007854569911956787, | |
0.007836970806121826, | |
0.007837450981140137, | |
0.007890251159667969, | |
0.007875690937042237, | |
0.007864651203155517, | |
0.007844810962677001, | |
0.007859850883483887, | |
0.00787169122695923, | |
0.007858410835266113, | |
0.007853450775146485, | |
0.007831211090087891, | |
0.007820651054382325, | |
0.007823209762573242, | |
0.007853771209716797, | |
0.007831530094146728, | |
0.007885130882263183, | |
0.007843851089477539, | |
0.007860170841217042, | |
0.007859850883483887, | |
0.007860651016235351 | |
], | |
"count": 126, | |
"total": 0.9976815423965449, | |
"mean": 0.00791810747933766, | |
"p50": 0.007871371030807494, | |
"p90": 0.008042571067810058, | |
"p95": 0.008122531890869141, | |
"p99": 0.008418730974197387, | |
"stdev": 0.00013846868832154304, | |
"stdev_": 1.7487598985348172 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.29280451288453 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |