IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
954c0ad verified
raw
history blame
13.1 kB
{
"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.228-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": 822.521856,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.06052864074707031
],
"count": 1,
"total": 0.06052864074707031,
"mean": 0.06052864074707031,
"p50": 0.06052864074707031,
"p90": 0.06052864074707031,
"p95": 0.06052864074707031,
"p99": 0.06052864074707031,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1089.970176,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006034431934356689,
0.005722080230712891,
0.005744639873504639,
0.005693439960479736,
0.00568012809753418,
0.005675007820129394,
0.005672959804534912,
0.005932032108306885,
0.005858304023742676,
0.0059054079055786135,
0.005874688148498535,
0.005941247940063477,
0.005904384136199951,
0.005921792030334472,
0.005888000011444092,
0.0059433279037475585,
0.005894144058227539,
0.005925888061523437,
0.005948416233062744,
0.005960703849792481,
0.00568012809753418,
0.005658624172210694,
0.005692416191101074,
0.005670976161956787,
0.005696512222290039,
0.005665791988372803,
0.005694464206695556,
0.005670911788940429,
0.005657663822174072,
0.005684224128723145,
0.005783552169799804,
0.0059023361206054685,
0.005892096042633056,
0.005937151908874512,
0.005876736164093017,
0.0059064321517944334,
0.0058429760932922365,
0.005897215843200684,
0.006060031890869141,
0.005961728096008301,
0.005913568019866943,
0.005942272186279297,
0.006042623996734619,
0.005946368217468262,
0.005928991794586181,
0.005901311874389649,
0.005867519855499268,
0.005907455921173096,
0.00587775993347168,
0.0060293121337890625,
0.005886975765228271,
0.005944320201873779,
0.005910528182983398,
0.006264800071716308,
0.005914624214172363,
0.00602623987197876,
0.005893119812011719,
0.005907455921173096,
0.00587775993347168,
0.005874688148498535,
0.005931007862091065,
0.005873663902282715,
0.005921792030334472,
0.005933055877685547,
0.005922815799713135,
0.005923840045928955,
0.005900288105010986,
0.0058726401329040525,
0.005910496234893799,
0.005859327793121338,
0.005914624214172363,
0.005910528182983398,
0.0057487359046936035,
0.005689343929290771,
0.005745664119720459,
0.005937119960784912,
0.006001664161682129,
0.005858304023742676,
0.0059402561187744144,
0.005882880210876465,
0.005896192073822021,
0.0059269118309021,
0.005856256008148194,
0.005942272186279297,
0.0058716158866882326,
0.005912576198577881,
0.005880832195281982,
0.005920767784118652,
0.005860352039337159,
0.005903359889984131,
0.005889023780822754,
0.005931007862091065,
0.005904384136199951,
0.005914624214172363,
0.00586137580871582,
0.005916672229766846,
0.005876736164093017,
0.005897215843200684,
0.005858304023742676,
0.005913536071777344,
0.005884928226470947,
0.0059023361206054685,
0.005854207992553711,
0.005913599967956543,
0.00586956787109375,
0.0058716158866882326,
0.005907455921173096,
0.00587059211730957,
0.005907455921173096,
0.005854207992553711,
0.005904384136199951,
0.005933055877685547,
0.005904384136199951,
0.005928959846496582,
0.005963776111602783,
0.006034431934356689,
0.005981184005737304,
0.005928959846496582,
0.005932064056396485,
0.0059238080978393556,
0.005961728096008301,
0.005913599967956543,
0.005966847896575928,
0.005888000011444092,
0.005940224170684814,
0.005864448070526123,
0.0059269118309021,
0.005880832195281982,
0.0059023361206054685,
0.0058716158866882326,
0.005934080123901367,
0.005886975765228271,
0.0059064321517944334,
0.005853184223175049,
0.005914624214172363,
0.0058716158866882326,
0.005893119812011719,
0.005863423824310303,
0.00586240005493164,
0.005903359889984131,
0.0058757119178771975,
0.005949440002441406,
0.0058501439094543455,
0.005897215843200684,
0.005848063945770264,
0.005874720096588135,
0.005868544101715088,
0.005945343971252442,
0.0058726401329040525,
0.005881855964660645,
0.0058716158866882326,
0.005896192073822021,
0.005865471839904785,
0.005892096042633056,
0.0058787841796875,
0.005917695999145508,
0.005855231761932373,
0.005928959846496582,
0.005893184185028076,
0.005912576198577881,
0.005864448070526123,
0.005855231761932373,
0.005891071796417236,
0.00586956787109375,
0.005697535991668701,
0.005657599925994873,
0.005672959804534912,
0.005656576156616211,
0.00568012809753418,
0.005668863773345947
],
"count": 170,
"total": 0.9989889616966249,
"mean": 0.00587640565703897,
"p50": 0.00589516806602478,
"p90": 0.005945446395874024,
"p95": 0.005974732756614685,
"p99": 0.006048020443916321,
"stdev": 9.24651094954862e-05,
"stdev_": 1.5734977278964426
},
"throughput": {
"unit": "samples/s",
"value": 340.34410092236027
},
"energy": {
"unit": "kWh",
"cpu": 7.01499106303441e-08,
"ram": 3.83319763762511e-08,
"gpu": 1.5007737186982814e-07,
"total": 2.5855925887642336e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7735170.686561592
}
}
}
}