IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8e4be5a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 908.439552, | |
"max_global_vram": 841.945088, | |
"max_process_vram": 46870.274048, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.526791015625, | |
"mean": 8.526791015625, | |
"stdev": 0.0, | |
"p50": 8.526791015625, | |
"p90": 8.526791015625, | |
"p95": 8.526791015625, | |
"p99": 8.526791015625, | |
"values": [ | |
8.526791015625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.463424, | |
"max_global_vram": 897.96608, | |
"max_process_vram": 243958.079488, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9960580897331236, | |
"mean": 0.008032726530105836, | |
"stdev": 0.0016666548302234716, | |
"p50": 0.007969490051269531, | |
"p90": 0.00809153699874878, | |
"p95": 0.008219503974914551, | |
"p99": 0.016738880977630582, | |
"values": [ | |
0.008213249206542969, | |
0.008061570167541504, | |
0.007714530944824219, | |
0.007691969871520996, | |
0.007751009941101074, | |
0.007704929828643799, | |
0.007731329917907715, | |
0.007704451084136963, | |
0.007992448806762696, | |
0.0077271699905395504, | |
0.019752883911132814, | |
0.002429430961608887, | |
0.006625733852386475, | |
0.007698689937591553, | |
0.007715490818023682, | |
0.007703330993652344, | |
0.007727970123291015, | |
0.007838369846343994, | |
0.0077274909019470215, | |
0.007705410003662109, | |
0.0077217302322387694, | |
0.007717410087585449, | |
0.007768290042877197, | |
0.007693410873413086, | |
0.007718370914459228, | |
0.0076812500953674315, | |
0.0077217302322387694, | |
0.009848761558532714, | |
0.008164289474487305, | |
0.007960128784179687, | |
0.007935648918151855, | |
0.007963170051574707, | |
0.007892930030822753, | |
0.007911649227142334, | |
0.007975009918212891, | |
0.00795884895324707, | |
0.008092928886413574, | |
0.007923329830169678, | |
0.00794300889968872, | |
0.007917250156402588, | |
0.007894050121307374, | |
0.007903968811035156, | |
0.008335807800292968, | |
0.00804892921447754, | |
0.007947009086608886, | |
0.007905889987945556, | |
0.007877089977264405, | |
0.007909090042114257, | |
0.007952770233154298, | |
0.007931488990783692, | |
0.00796268892288208, | |
0.007902050018310547, | |
0.007907808780670166, | |
0.008141408920288086, | |
0.007921409130096436, | |
0.007908770084381104, | |
0.00789996910095215, | |
0.007959808826446533, | |
0.007958049774169923, | |
0.007922688961029052, | |
0.007952448844909667, | |
0.007962850093841553, | |
0.008266049385070801, | |
0.007926528930664062, | |
0.007960608959197998, | |
0.007984929084777832, | |
0.007970210075378417, | |
0.007933249950408935, | |
0.007975328922271728, | |
0.008024449348449708, | |
0.008011009216308594, | |
0.008012449264526367, | |
0.008005088806152343, | |
0.008023168563842773, | |
0.008021248817443847, | |
0.018546968460083007, | |
0.002418550968170166, | |
0.003729104995727539, | |
0.008083168983459472, | |
0.00801452922821045, | |
0.007990849018096925, | |
0.007978848934173584, | |
0.007996929168701173, | |
0.00803196907043457, | |
0.007995649814605713, | |
0.008024768829345703, | |
0.008022369384765625, | |
0.008029889106750489, | |
0.008017728805541992, | |
0.00799852991104126, | |
0.00795693016052246, | |
0.00798284912109375, | |
0.00799164915084839, | |
0.008031329154968262, | |
0.007942688941955567, | |
0.00794989013671875, | |
0.007974370002746582, | |
0.007992928981781005, | |
0.008010848999023438, | |
0.00797740888595581, | |
0.008004448890686034, | |
0.007977889060974122, | |
0.00799052906036377, | |
0.007968770027160645, | |
0.007951649188995361, | |
0.00793212890625, | |
0.00800765037536621, | |
0.00798268985748291, | |
0.00797180986404419, | |
0.010685718536376954, | |
0.008159969329833984, | |
0.00822060775756836, | |
0.008072608947753907, | |
0.008088289260864258, | |
0.00806924819946289, | |
0.008060129165649414, | |
0.008115009307861328, | |
0.008030529022216798, | |
0.00801116943359375, | |
0.00800956916809082, | |
0.008007808685302735, | |
0.008011649131774903, | |
0.008028927803039551, | |
0.008061569213867187 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.49073129181012 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |