
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0a800ae
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.227-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 820.232192, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08845005035400391 | |
], | |
"count": 1, | |
"total": 0.08845005035400391, | |
"mean": 0.08845005035400391, | |
"p50": 0.08845005035400391, | |
"p90": 0.08845005035400391, | |
"p95": 0.08845005035400391, | |
"p99": 0.08845005035400391, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1087.660032, | |
"max_global_vram": 1205.338112, | |
"max_process_vram": 0.0, | |
"max_reserved": 557.842432, | |
"max_allocated": 509.729792 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006325247764587402, | |
0.006110208034515381, | |
0.006202367782592774, | |
0.006220831871032715, | |
0.006132736206054688, | |
0.006108160018920898, | |
0.006301695823669433, | |
0.006087679862976075, | |
0.005971936225891114, | |
0.006049791812896729, | |
0.006054912090301514, | |
0.006166528224945069, | |
0.006140927791595459, | |
0.00616755199432373, | |
0.0061255359649658205, | |
0.006174719810485839, | |
0.006160384178161621, | |
0.006128640174865723, | |
0.00612559986114502, | |
0.006094848155975342, | |
0.006100992202758789, | |
0.006090752124786377, | |
0.006296576023101807, | |
0.0062228479385375976, | |
0.006105088233947754, | |
0.006118400096893311, | |
0.006109183788299561, | |
0.00627510404586792, | |
0.005961919784545898, | |
0.00586956787109375, | |
0.00592793607711792, | |
0.0059996161460876465, | |
0.005993472099304199, | |
0.006009888172149658, | |
0.006012928009033203, | |
0.006031360149383545, | |
0.006000639915466309, | |
0.006086656093597412, | |
0.0060702719688415525, | |
0.00643174409866333, | |
0.006054912090301514, | |
0.006112256050109863, | |
0.006212607860565185, | |
0.006158336162567139, | |
0.0060834879875183104, | |
0.006158336162567139, | |
0.006154240131378174, | |
0.006107135772705078, | |
0.006085631847381592, | |
0.0060202240943908695, | |
0.006014048099517822, | |
0.005997568130493164, | |
0.006168575763702393, | |
0.006096960067749024, | |
0.006172671794891358, | |
0.00601203203201294, | |
0.006218751907348633, | |
0.006086656093597412, | |
0.006277120113372803, | |
0.006140927791595459, | |
0.005929984092712402, | |
0.005930848121643066, | |
0.006027103900909424, | |
0.006107135772705078, | |
0.006021024227142334, | |
0.006024032115936279, | |
0.00601804780960083, | |
0.006089695930480957, | |
0.0061777281761169435, | |
0.006012800216674804, | |
0.005882847785949707, | |
0.005950463771820068, | |
0.005990399837493897, | |
0.005996543884277344, | |
0.005993472099304199, | |
0.006206463813781738, | |
0.006069248199462891, | |
0.006253568172454834, | |
0.005981184005737304, | |
0.0059770879745483394, | |
0.005962751865386963, | |
0.005900288105010986, | |
0.006047743797302246, | |
0.006406144142150879, | |
0.006147071838378906, | |
0.006132736206054688, | |
0.006128640174865723, | |
0.0061337599754333495, | |
0.006148096084594727, | |
0.006293504238128662, | |
0.006081471920013428, | |
0.00602623987197876, | |
0.006090752124786377, | |
0.006194176197052002, | |
0.0059699201583862304, | |
0.006165503978729248, | |
0.006137856006622314, | |
0.006333439826965332, | |
0.006250495910644531, | |
0.006266880035400391, | |
0.006119423866271972, | |
0.00597811222076416, | |
0.00608358383178711, | |
0.006278143882751465, | |
0.005888000011444092, | |
0.006388735771179199, | |
0.007073791980743408, | |
0.007245823860168457, | |
0.007244800090789795, | |
0.006319104194641113, | |
0.006162432193756104, | |
0.00648089599609375, | |
0.0064737281799316405, | |
0.006412288188934326, | |
0.006494207859039307, | |
0.00704204797744751, | |
0.00713318395614624, | |
0.007070720195770264, | |
0.0071402559280395505, | |
0.006563839912414551, | |
0.005984255790710449, | |
0.006136832237243653, | |
0.0061521921157836916, | |
0.006149248123168945, | |
0.006040512084960937, | |
0.005986303806304932, | |
0.006340608119964599, | |
0.005997568130493164, | |
0.005941247940063477, | |
0.006243328094482422, | |
0.006034431934356689, | |
0.006048768043518066, | |
0.006007936000823975, | |
0.006013951778411865, | |
0.006028128147125244, | |
0.006009856224060059, | |
0.006051839828491211, | |
0.006053887844085694, | |
0.006047743797302246, | |
0.005991424083709717, | |
0.006023168087005615, | |
0.005974016189575195, | |
0.006004576206207275, | |
0.006149119853973388, | |
0.006053887844085694, | |
0.006052864074707031, | |
0.006034431934356689, | |
0.005953536033630371, | |
0.0061337599754333495, | |
0.005883903980255127, | |
0.0059361600875854495, | |
0.005916672229766846, | |
0.005991487979888916, | |
0.005962751865386963, | |
0.005971903800964355, | |
0.005984255790710449, | |
0.005996543884277344, | |
0.005981184005737304, | |
0.005992447853088379, | |
0.006031360149383545, | |
0.00601087999343872, | |
0.0058726401329040525 | |
], | |
"count": 162, | |
"total": 0.9951196169853216, | |
"mean": 0.006142713685094574, | |
"p50": 0.006087167978286743, | |
"p90": 0.0063326206207275386, | |
"p95": 0.006493542265892029, | |
"p99": 0.007181028151512145, | |
"stdev": 0.00024852235073596343, | |
"stdev_": 4.045807170518271 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 325.5889990205864 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.002700006943821e-08, | |
"ram": 3.8235514486006676e-08, | |
"gpu": 1.5958509498823692e-07, | |
"total": 2.678476095436818e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7466932.422534205 | |
} | |
} | |
} | |
} |