IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
13826d3
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": "4", | |
"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": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.472128, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46325.235712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7735478515625, | |
"mean": 8.7735478515625, | |
"stdev": 0.0, | |
"p50": 8.7735478515625, | |
"p90": 8.7735478515625, | |
"p95": 8.7735478515625, | |
"p99": 8.7735478515625, | |
"values": [ | |
8.7735478515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.662784, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 240176.70144, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9994120745658872, | |
"mean": 0.008059774794886189, | |
"stdev": 0.0014934878419216604, | |
"p50": 0.007934859037399293, | |
"p90": 0.008416521739959716, | |
"p95": 0.008442394256591797, | |
"p99": 0.014612078094482393, | |
"values": [ | |
0.008295658111572266, | |
0.008135659217834473, | |
0.007791820049285888, | |
0.007751499176025391, | |
0.0077459001541137695, | |
0.0077270188331604005, | |
0.00893885612487793, | |
0.007914538860321046, | |
0.00782829999923706, | |
0.008054219245910644, | |
0.0076107001304626465, | |
0.007379819869995117, | |
0.00740286111831665, | |
0.008258058547973632, | |
0.00837309741973877, | |
0.008384138107299806, | |
0.008425257682800292, | |
0.008386536598205567, | |
0.008357418060302735, | |
0.007445260047912598, | |
0.007427980899810791, | |
0.007408781051635742, | |
0.007746378898620606, | |
0.007762700080871582, | |
0.007995498180389405, | |
0.007548299789428711, | |
0.0076705398559570315, | |
0.007510059833526611, | |
0.0074596600532531735, | |
0.007424779891967773, | |
0.008641257286071777, | |
0.008082219123840332, | |
0.007780778884887696, | |
0.007660140037536621, | |
0.0077185392379760746, | |
0.008115818977355957, | |
0.007907818794250489, | |
0.007831018924713135, | |
0.007968459129333496, | |
0.008061417579650879, | |
0.00788365888595581, | |
0.007871979236602784, | |
0.007821898937225341, | |
0.008271818161010741, | |
0.008445418357849122, | |
0.008413097381591798, | |
0.008392297744750976, | |
0.008395657539367676, | |
0.008388297080993652, | |
0.008363018035888672, | |
0.008388458251953125, | |
0.008381097793579102, | |
0.008370858192443847, | |
0.008413738250732421, | |
0.008419178009033202, | |
0.0083844575881958, | |
0.008417577743530273, | |
0.008379657745361329, | |
0.008394858360290528, | |
0.008380297660827637, | |
0.008378217697143555, | |
0.008502376556396485, | |
0.008394858360290528, | |
0.008400136947631837, | |
0.008418217658996582, | |
0.008413578033447265, | |
0.008402216911315917, | |
0.016306676864624024, | |
0.0024737529754638673, | |
0.008348137855529784, | |
0.008000299453735352, | |
0.007959659099578858, | |
0.007811179161071777, | |
0.007479340076446533, | |
0.0074668598175048825, | |
0.007865580081939697, | |
0.007827020168304444, | |
0.007877258777618409, | |
0.007830698966979981, | |
0.007932138919830323, | |
0.007807019233703613, | |
0.007791179180145264, | |
0.007810219764709473, | |
0.007827659130096436, | |
0.007941898822784423, | |
0.00786557912826538, | |
0.007829258918762207, | |
0.008069418907165527, | |
0.007765260219573975, | |
0.007853418827056884, | |
0.007878378868103027, | |
0.007847979068756103, | |
0.007988298892974853, | |
0.007444459915161133, | |
0.007459819793701172, | |
0.007910219192504883, | |
0.007484300136566162, | |
0.007448461055755615, | |
0.007457901000976563, | |
0.007794858932495118, | |
0.008087819099426269, | |
0.007814219951629639, | |
0.007937579154968262, | |
0.0076364588737487795, | |
0.007414700031280518, | |
0.007439341068267822, | |
0.008496137619018554, | |
0.008414057731628418, | |
0.008339017868041991, | |
0.008424617767333985, | |
0.008417577743530273, | |
0.008401738166809083, | |
0.0082153377532959, | |
0.00801309871673584, | |
0.008017739295959473, | |
0.008130377769470214, | |
0.008388777732849122, | |
0.019428428649902345, | |
0.0024963140487670897, | |
0.006661101818084717, | |
0.008332298278808594, | |
0.007828619003295898, | |
0.00779741907119751, | |
0.00780941915512085 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.07294564042728 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |