IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
de69116 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.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": 786.796544,
"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.5768740234375,
"mean": 7.5768740234375,
"stdev": 0.0,
"p50": 7.5768740234375,
"p90": 7.5768740234375,
"p95": 7.5768740234375,
"p99": 7.5768740234375,
"values": [
7.5768740234375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.912624000003749e-07,
"ram": 4.7288561579834345e-07,
"gpu": 0.0,
"total": 1.3641480157987184e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.703872,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 126,
"total": 0.9975828514099122,
"mean": 0.007917324217538985,
"stdev": 0.0003067372117005668,
"p50": 0.007998464107513427,
"p90": 0.008225792407989502,
"p95": 0.008313599824905395,
"p99": 0.008832767963409423,
"values": [
0.008356863975524903,
0.00838963222503662,
0.008319999694824219,
0.00828003215789795,
0.008294400215148925,
0.008219648361206054,
0.008235008239746093,
0.008231936454772949,
0.008187904357910156,
0.008118271827697754,
0.007868415832519531,
0.007771135807037354,
0.008039392471313477,
0.007995391845703125,
0.00800153636932373,
0.00800767993927002,
0.008417280197143554,
0.008078335762023926,
0.008128512382507324,
0.008088576316833495,
0.008072192192077637,
0.007998464107513427,
0.008010751724243164,
0.008070143699645996,
0.00804355239868164,
0.008047616004943848,
0.00810086441040039,
0.008052736282348634,
0.00799232006072998,
0.008046591758728027,
0.008040448188781739,
0.008071167945861817,
0.008113151550292968,
0.007968800067901611,
0.007874559879302979,
0.007919616222381591,
0.00799129581451416,
0.007988224029541016,
0.008003583908081055,
0.008083456039428711,
0.008053759574890136,
0.008080384254455567,
0.008119296073913575,
0.008211456298828124,
0.008971263885498047,
0.009057279586791991,
0.008208383560180664,
0.008075263977050781,
0.008027135848999023,
0.008079360008239746,
0.008039423942565918,
0.008259584426879883,
0.008044544219970704,
0.008002559661865234,
0.007935999870300293,
0.007998464107513427,
0.008030207633972167,
0.008134655952453614,
0.008258560180664062,
0.007959551811218261,
0.00795136022567749,
0.008061951637268066,
0.007966720104217529,
0.008041472434997558,
0.007967743873596191,
0.007989280223846436,
0.008022015571594238,
0.008144895553588867,
0.008073216438293456,
0.008054783821105957,
0.008096768379211425,
0.008078335762023926,
0.00801587200164795,
0.00799232006072998,
0.008032256126403809,
0.008374272346496582,
0.008146880149841308,
0.008014847755432129,
0.00798419189453125,
0.00788479995727539,
0.007899136066436767,
0.008022015571594238,
0.007819263935089112,
0.007641088008880615,
0.007613440036773681,
0.007800864219665527,
0.007788544178009033,
0.007790592193603516,
0.0078438401222229,
0.007832575798034667,
0.008067071914672852,
0.007896063804626464,
0.0078438401222229,
0.007669760227203369,
0.007625728130340576,
0.00756931209564209,
0.0076277761459350585,
0.00760319995880127,
0.007570432186126709,
0.007589888095855713,
0.0074414081573486324,
0.007512063980102539,
0.0074332160949707035,
0.00738099193572998,
0.0073820161819458,
0.007365632057189942,
0.007465983867645264,
0.007942143917083741,
0.007550975799560547,
0.007542784214019775,
0.007524352073669433,
0.007503903865814209,
0.007523263931274414,
0.0074997758865356446,
0.007663616180419922,
0.0075345921516418455,
0.007526400089263916,
0.007494656085968018,
0.007506944179534912,
0.007556096076965332,
0.007388160228729248,
0.007341055870056152,
0.007338047981262207,
0.007341055870056152,
0.007356416225433349,
0.007392255783081054
]
},
"throughput": {
"unit": "samples/s",
"value": 126.30529867461196
},
"energy": {
"unit": "kWh",
"cpu": 8.803640497941993e-08,
"ram": 4.8095729631918494e-08,
"gpu": 1.6581906269629316e-07,
"total": 3.019511973076316e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3311793.4584017815
}
}
}
}