
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c9bb250
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.56128, | |
"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.19408837890625, | |
"mean": 7.19408837890625, | |
"stdev": 0.0, | |
"p50": 7.19408837890625, | |
"p90": 7.19408837890625, | |
"p95": 7.19408837890625, | |
"p99": 7.19408837890625, | |
"values": [ | |
7.19408837890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.869258893860712e-07, | |
"ram": 4.7028283883728743e-07, | |
"gpu": 0.0, | |
"total": 1.3572087282233586e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.09792, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9989724454879764, | |
"mean": 0.00745501824991027, | |
"stdev": 0.00031187321338168255, | |
"p50": 0.007320576190948487, | |
"p90": 0.00780421109199524, | |
"p95": 0.007919718384742737, | |
"p99": 0.008734607191085814, | |
"values": [ | |
0.008133631706237793, | |
0.008022015571594238, | |
0.00799948787689209, | |
0.007937024116516114, | |
0.007910399913787843, | |
0.007902207851409913, | |
0.007874559879302979, | |
0.007731264114379883, | |
0.007697408199310303, | |
0.007746560096740723, | |
0.0077199358940124516, | |
0.007650303840637207, | |
0.007684031963348389, | |
0.007790592193603516, | |
0.007811071872711181, | |
0.007812096118927002, | |
0.00779366397857666, | |
0.007764992237091065, | |
0.007737343788146973, | |
0.00775980806350708, | |
0.007806975841522217, | |
0.007797760009765625, | |
0.007796735763549805, | |
0.007815167903900147, | |
0.007753727912902832, | |
0.007749631881713868, | |
0.007768064022064209, | |
0.007742464065551758, | |
0.007245823860168457, | |
0.007245823860168457, | |
0.007233535766601563, | |
0.007312384128570557, | |
0.00729702377319336, | |
0.00724070405960083, | |
0.00728985595703125, | |
0.007334911823272705, | |
0.00734006404876709, | |
0.0073820161819458, | |
0.007367680072784424, | |
0.007342080116271973, | |
0.007307263851165771, | |
0.007277567863464355, | |
0.007320576190948487, | |
0.007353343963623047, | |
0.007302144050598145, | |
0.007305215835571289, | |
0.007278592109680176, | |
0.007223360061645508, | |
0.0072325119972229, | |
0.0072120318412780765, | |
0.007332863807678222, | |
0.007285759925842285, | |
0.00722431993484497, | |
0.007332863807678222, | |
0.007300096035003662, | |
0.007249983787536621, | |
0.00728985595703125, | |
0.007247871875762939, | |
0.007359488010406494, | |
0.007468031883239746, | |
0.007328767776489258, | |
0.007386112213134765, | |
0.007324672222137451, | |
0.007299071788787842, | |
0.007293951988220215, | |
0.0072468481063842774, | |
0.007274496078491211, | |
0.007264256000518799, | |
0.0072130560874938965, | |
0.00709222412109375, | |
0.007076863765716553, | |
0.007215136051177978, | |
0.007535615921020508, | |
0.007000063896179199, | |
0.006855679988861084, | |
0.007599103927612305, | |
0.0077281279563903805, | |
0.008757247924804687, | |
0.008954879760742187, | |
0.008688639640808106, | |
0.0077916159629821775, | |
0.007746560096740723, | |
0.007729152202606201, | |
0.007581696033477783, | |
0.007390207767486572, | |
0.007431168079376221, | |
0.007497727870941162, | |
0.007386112213134765, | |
0.007351295948028564, | |
0.007326720237731933, | |
0.007323647975921631, | |
0.0072724480628967286, | |
0.007320576190948487, | |
0.007391232013702393, | |
0.007331840038299561, | |
0.007290880203247071, | |
0.007308288097381592, | |
0.0072468481063842774, | |
0.007266304016113281, | |
0.007270400047302246, | |
0.007314432144165039, | |
0.007258111953735351, | |
0.0073820161819458, | |
0.007258111953735351, | |
0.007321599960327148, | |
0.007271423816680909, | |
0.007309311866760254, | |
0.007359488010406494, | |
0.007282688140869141, | |
0.007250944137573242, | |
0.007311359882354736, | |
0.007318528175354004, | |
0.007326687812805176, | |
0.007294976234436036, | |
0.007277567863464355, | |
0.007270400047302246, | |
0.007310336112976074, | |
0.007286784172058106, | |
0.007293951988220215, | |
0.007303167819976806, | |
0.007704576015472412, | |
0.007244800090789795, | |
0.007269375801086426, | |
0.007270336151123047, | |
0.007310336112976074, | |
0.007285759925842285, | |
0.0072837119102478025, | |
0.007260159969329834, | |
0.00728985595703125, | |
0.007269375801086426, | |
0.007288832187652588, | |
0.00734822416305542, | |
0.007267327785491944, | |
0.007243775844573975 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.13783393649453 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.329788820634264e-08, | |
"ram": 4.5542364472635096e-08, | |
"gpu": 1.6185716134275762e-07, | |
"total": 2.9069741402173536e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3440003.081435153 | |
} | |
} | |
} | |
} |