IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
28eeef9
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": "5", | |
"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": 1043.427328, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46083.330048, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.16724951171875, | |
"mean": 8.16724951171875, | |
"stdev": 0.0, | |
"p50": 8.16724951171875, | |
"p90": 8.16724951171875, | |
"p95": 8.16724951171875, | |
"p99": 8.16724951171875, | |
"values": [ | |
8.16724951171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 220416.67584, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0014306156635282, | |
"mean": 0.007529553501229538, | |
"stdev": 0.0014884764436001979, | |
"p50": 0.007439661979675293, | |
"p90": 0.007769933414459228, | |
"p95": 0.008100108909606933, | |
"p99": 0.015492936935424839, | |
"values": [ | |
0.007663822174072266, | |
0.007278223037719727, | |
0.007239983081817627, | |
0.007295823097229004, | |
0.007364303112030029, | |
0.007301423072814941, | |
0.0074297418594360355, | |
0.007223022937774658, | |
0.007241902828216552, | |
0.007210223197937011, | |
0.007201582908630371, | |
0.007210223197937011, | |
0.007217742919921875, | |
0.007164944171905518, | |
0.007186063766479492, | |
0.00715790319442749, | |
0.00711262321472168, | |
0.007086543083190918, | |
0.007103343963623047, | |
0.007043343067169189, | |
0.007061263084411621, | |
0.00705790376663208, | |
0.007063343048095703, | |
0.007074703216552734, | |
0.007083343982696533, | |
0.007071662902832032, | |
0.007041903972625732, | |
0.007038703918457031, | |
0.010059176445007324, | |
0.007409903049468994, | |
0.007331182956695556, | |
0.00732222318649292, | |
0.007328463077545166, | |
0.00759054183959961, | |
0.00761774206161499, | |
0.007421903133392334, | |
0.0075441417694091795, | |
0.0077687821388244625, | |
0.007710540771484375, | |
0.007598223209381104, | |
0.007696621894836426, | |
0.007716462135314941, | |
0.017574359893798828, | |
0.0024734339714050295, | |
0.005850386142730713, | |
0.007493102073669434, | |
0.00770894193649292, | |
0.007669261932373047, | |
0.007583181858062744, | |
0.0076169419288635255, | |
0.007664301872253418, | |
0.0076719818115234375, | |
0.007513422966003418, | |
0.0077702212333679195, | |
0.007544143199920654, | |
0.007450703144073486, | |
0.007513102054595947, | |
0.0076335821151733395, | |
0.007139183044433593, | |
0.007167344093322754, | |
0.007170063018798828, | |
0.007167023181915283, | |
0.007173422813415527, | |
0.007214063167572021, | |
0.007164943218231201, | |
0.007179343223571778, | |
0.007159342765808105, | |
0.007159663200378418, | |
0.007190062999725342, | |
0.007181263923645019, | |
0.007173264026641845, | |
0.00717550277709961, | |
0.007179343223571778, | |
0.007191342830657959, | |
0.0071819028854370115, | |
0.0071550230979919435, | |
0.007172303199768066, | |
0.007234542846679687, | |
0.0071812629699707035, | |
0.007164943218231201, | |
0.0071579041481018065, | |
0.007664941787719727, | |
0.007664462089538574, | |
0.007734382152557373, | |
0.007575821876525879, | |
0.007675181865692138, | |
0.0076335821151733395, | |
0.012086852073669434, | |
0.00427230978012085, | |
0.007699982166290283, | |
0.0074843020439147945, | |
0.007509101867675781, | |
0.007355183124542236, | |
0.0076523017883300785, | |
0.0075955018997192385, | |
0.0075100622177124024, | |
0.00757390308380127, | |
0.007595663070678711, | |
0.007587502002716065, | |
0.007645421981811523, | |
0.00746062183380127, | |
0.008040141105651856, | |
0.007911501884460449, | |
0.007438062191009521, | |
0.0075055818557739256, | |
0.007535821914672851, | |
0.007608141899108887, | |
0.007517902851104736, | |
0.007499981880187989, | |
0.007494542121887207, | |
0.0075790219306945805, | |
0.0075251030921936034, | |
0.007485901832580567, | |
0.007434863090515137, | |
0.007487983226776123, | |
0.007343342781066894, | |
0.007228622913360596, | |
0.0072313442230224605, | |
0.007438222885131836, | |
0.008126860618591308, | |
0.00809774112701416, | |
0.008077581405639649, | |
0.008163981437683106, | |
0.007739501953125, | |
0.007499342918395996, | |
0.007497581958770752, | |
0.007439661979675293, | |
0.007594381809234619, | |
0.00807262134552002, | |
0.008103660583496094, | |
0.008067501068115235, | |
0.017095800399780273, | |
0.0024655930995941162 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.80999993382144 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |