IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dcd813e verified
raw
history blame
13 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 800.989184,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.0051884765625,
"mean": 8.0051884765625,
"stdev": 0.0,
"p50": 8.0051884765625,
"p90": 8.0051884765625,
"p95": 8.0051884765625,
"p99": 8.0051884765625,
"values": [
8.0051884765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.739555025992257e-07,
"ram": 4.6003388491165127e-07,
"gpu": 1.7802792020571445e-06,
"total": 3.1142685895680214e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1086.234624,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"count": 166,
"total": 0.9994996147155762,
"mean": 0.006021082016358892,
"stdev": 0.00022865065143940248,
"p50": 0.005960703849792481,
"p90": 0.00629092788696289,
"p95": 0.006408695936203003,
"p99": 0.006747647953033447,
"values": [
0.006329343795776367,
0.006708223819732666,
0.006344704151153564,
0.006394847869873047,
0.00642252779006958,
0.006281216144561768,
0.0062269439697265625,
0.006202367782592774,
0.006257599830627442,
0.00606822395324707,
0.006034431934356689,
0.0060026879310607914,
0.0060067839622497555,
0.00603545618057251,
0.006007808208465576,
0.005980160236358643,
0.006235136032104492,
0.006248447895050049,
0.006243296146392822,
0.006275072097778321,
0.0063836159706115725,
0.00620851182937622,
0.00611027193069458,
0.006266880035400391,
0.006207488059997559,
0.006176832199096679,
0.006194176197052002,
0.006176767826080322,
0.006205440044403076,
0.006236159801483154,
0.006227968215942382,
0.006210559844970703,
0.006472703933715821,
0.0063569917678833006,
0.0062863359451293946,
0.006270976066589356,
0.006466559886932373,
0.006275040149688721,
0.006228991985321045,
0.006145023822784424,
0.006196224212646485,
0.0062494721412658695,
0.006295519828796387,
0.006313983917236328,
0.006441984176635742,
0.00628329610824585,
0.0062638077735900875,
0.0062576642036437985,
0.006178783893585205,
0.006212607860565185,
0.00597811222076416,
0.005933055877685547,
0.006008831977844238,
0.006067200183868408,
0.005907455921173096,
0.005879776000976562,
0.005928959846496582,
0.0059688959121704105,
0.005957632064819336,
0.0059391999244689945,
0.005941247940063477,
0.005909503936767578,
0.005962751865386963,
0.006017024040222168,
0.006106080055236817,
0.0064133119583129885,
0.006071296215057373,
0.006078464031219482,
0.006082560062408447,
0.0060590081214904785,
0.0059903359413146975,
0.006013951778411865,
0.00602726411819458,
0.005983232021331787,
0.0059023361206054685,
0.0059269118309021,
0.00602726411819458,
0.005896192073822021,
0.005844992160797119,
0.005854207992553711,
0.005726272106170654,
0.005808127880096436,
0.0062494721412658695,
0.006113279819488526,
0.0059064321517944334,
0.006067200183868408,
0.006986720085144043,
0.006820864200592041,
0.006497280120849609,
0.006138879776000977,
0.006145023822784424,
0.0060692157745361325,
0.006062079906463623,
0.006232063770294189,
0.006304768085479737,
0.0059688639640808104,
0.006108160018920898,
0.0060067839622497555,
0.005958655834197998,
0.005912576198577881,
0.005917695999145508,
0.005865471839904785,
0.0059269118309021,
0.005851136207580566,
0.005884928226470947,
0.005830656051635743,
0.005825535774230957,
0.0058644161224365235,
0.005839807987213135,
0.005898240089416504,
0.0058419198989868165,
0.005884928226470947,
0.005857279777526855,
0.005852159976959229,
0.005839871883392334,
0.005831679821014404,
0.00587059211730957,
0.00582860803604126,
0.005804096221923828,
0.005797887802124023,
0.005790719985961914,
0.005799935817718506,
0.005808127880096436,
0.0058091521263122555,
0.005811200141906738,
0.005825535774230957,
0.00582041597366333,
0.005819392204284668,
0.005894144058227539,
0.005805056095123291,
0.005731328010559082,
0.005718080043792725,
0.0057292799949646,
0.0057118721008300784,
0.005818463802337646,
0.005752831935882568,
0.005706751823425293,
0.005727231979370117,
0.0057497601509094234,
0.005817344188690185,
0.005810175895690918,
0.005840896129608154,
0.005803008079528809,
0.005799935817718506,
0.0058388481140136715,
0.005829631805419922,
0.005832704067230224,
0.005850111961364746,
0.005852159976959229,
0.005819392204284668,
0.0062576642036437985,
0.0058633599281311035,
0.005881855964660645,
0.005835743904113769,
0.00586956787109375,
0.005803008079528809,
0.005808159828186035,
0.005794816017150879,
0.005829631805419922,
0.00582144021987915,
0.005796864032745362,
0.005818367958068848,
0.005808127880096436,
0.0057999038696289066,
0.005782559871673584,
0.005825535774230957
]
},
"throughput": {
"unit": "samples/s",
"value": 166.08310554200463
},
"energy": {
"unit": "kWh",
"cpu": 6.636655292832012e-08,
"ram": 3.62585893603434e-08,
"gpu": 1.416481580111809e-07,
"total": 2.4427330029984443e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4093775.2868303834
}
}
}
}