
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
874e222
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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": "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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.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.2", | |
"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": 789.819392, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4086318359375, | |
"mean": 7.4086318359375, | |
"stdev": 0.0, | |
"p50": 7.4086318359375, | |
"p90": 7.4086318359375, | |
"p95": 7.4086318359375, | |
"p99": 7.4086318359375, | |
"values": [ | |
7.4086318359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1059297937499935e-06, | |
"ram": 5.899538982746023e-07, | |
"gpu": 1.7488902880002065e-06, | |
"total": 3.4447739800248025e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.902208, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.001911458015442, | |
"mean": 0.006679409720102945, | |
"stdev": 0.0002673877747126704, | |
"p50": 0.006754816055297852, | |
"p90": 0.007079628610610962, | |
"p95": 0.0072364032030105595, | |
"p99": 0.007329187731742858, | |
"values": [ | |
0.007251872062683106, | |
0.0071485438346862796, | |
0.007217216014862061, | |
0.007243775844573975, | |
0.0072466878890991215, | |
0.007227392196655274, | |
0.007250944137573242, | |
0.007144447803497315, | |
0.007147520065307617, | |
0.00713318395614624, | |
0.007054304122924805, | |
0.00740556812286377, | |
0.0065452480316162106, | |
0.006398975849151611, | |
0.006411263942718506, | |
0.006402048110961914, | |
0.006406144142150879, | |
0.006465536117553711, | |
0.006472703933715821, | |
0.006714367866516113, | |
0.00682700777053833, | |
0.006820864200592041, | |
0.00677785587310791, | |
0.006780928134918213, | |
0.006781951904296875, | |
0.00678604793548584, | |
0.006801407814025879, | |
0.0067870721817016606, | |
0.006797183990478515, | |
0.00682700777053833, | |
0.0068392958641052244, | |
0.006812672138214112, | |
0.006825984001159668, | |
0.006817791938781738, | |
0.007006175994873047, | |
0.006797311782836914, | |
0.0067573761940002445, | |
0.006799359798431396, | |
0.0067573761940002445, | |
0.006778719902038574, | |
0.006806528091430664, | |
0.006800384044647217, | |
0.0067010560035705566, | |
0.006660096168518067, | |
0.007076863765716553, | |
0.0068577280044555666, | |
0.006779903888702392, | |
0.006796160221099854, | |
0.00680947208404541, | |
0.0067870402336120605, | |
0.006790304183959961, | |
0.0068055038452148435, | |
0.006793280124664306, | |
0.006773856163024903, | |
0.006804512023925781, | |
0.00679423999786377, | |
0.0067645440101623535, | |
0.006889472007751465, | |
0.006806528091430664, | |
0.006782976150512696, | |
0.0067656002044677735, | |
0.006760447978973389, | |
0.006656000137329102, | |
0.006619135856628418, | |
0.006687744140625, | |
0.0066477122306823734, | |
0.007104512214660645, | |
0.006802432060241699, | |
0.0068065600395202635, | |
0.0067983360290527345, | |
0.006902944087982177, | |
0.006915071964263916, | |
0.007263232231140137, | |
0.006956031799316406, | |
0.0067758078575134275, | |
0.00679315185546875, | |
0.006755328178405762, | |
0.006770688056945801, | |
0.006730624198913574, | |
0.006781087875366211, | |
0.006766592025756836, | |
0.006793056011199951, | |
0.0067983360290527345, | |
0.006812704086303711, | |
0.0067952961921691896, | |
0.006989823818206787, | |
0.006800384044647217, | |
0.006754303932189941, | |
0.006795263767242431, | |
0.006439008235931396, | |
0.006393856048583985, | |
0.0064336957931518555, | |
0.006444159984588623, | |
0.0063836159706115725, | |
0.0064429759979248045, | |
0.006429728031158447, | |
0.006424479961395264, | |
0.006397952079772949, | |
0.006374335765838623, | |
0.006398975849151611, | |
0.0064133119583129885, | |
0.006441984176635742, | |
0.006397952079772949, | |
0.0064245758056640625, | |
0.00648089599609375, | |
0.006669312000274658, | |
0.006469632148742676, | |
0.0064839677810668945, | |
0.0064102401733398436, | |
0.006501376152038574, | |
0.006407167911529541, | |
0.006405119895935059, | |
0.006504447937011719, | |
0.006435840129852295, | |
0.006434815883636475, | |
0.006415296077728272, | |
0.00636518383026123, | |
0.006372352123260498, | |
0.0064174079895019534, | |
0.006385663986206055, | |
0.006358016014099121, | |
0.006312960147857666, | |
0.0063498239517211915, | |
0.006360064029693604, | |
0.006325247764587402, | |
0.006352896213531494, | |
0.006347775936126709, | |
0.006352896213531494, | |
0.006412288188934326, | |
0.00635481595993042, | |
0.006362112045288086, | |
0.006333280086517334, | |
0.006441952228546143, | |
0.006396927833557129, | |
0.006386688232421875, | |
0.006404096126556396, | |
0.006396927833557129, | |
0.006409215927124024, | |
0.006377471923828125, | |
0.0063272957801818845, | |
0.006360064029693604, | |
0.006334464073181153, | |
0.0064767999649047855, | |
0.00728166389465332, | |
0.007374847888946533, | |
0.006651904106140137, | |
0.006628352165222168, | |
0.006651040077209473, | |
0.006604832172393799, | |
0.006639616012573242 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.71382830286802 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.726319321338746e-08, | |
"ram": 4.2247179435699635e-08, | |
"gpu": 1.4889441925974095e-07, | |
"total": 2.684047919088281e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3725715.896829743 | |
} | |
} | |
} | |
} |