IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4759f2b verified
raw
history blame
11.4 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": 788.037632,
"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.39888427734375,
"mean": 7.39888427734375,
"stdev": 0.0,
"p50": 7.39888427734375,
"p90": 7.39888427734375,
"p95": 7.39888427734375,
"p99": 7.39888427734375,
"values": [
7.39888427734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.8419529930448e-07,
"ram": 4.6879259345684954e-07,
"gpu": 1.8038903320002735e-06,
"total": 3.156878224761603e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.145664,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 129,
"total": 1.0024619169235232,
"mean": 0.007771022611810255,
"stdev": 0.0003592714097879968,
"p50": 0.007838528156280517,
"p90": 0.008020172691345214,
"p95": 0.008086060523986817,
"p99": 0.00832069652557373,
"values": [
0.010850303649902344,
0.008361984252929687,
0.00821452808380127,
0.008141823768615723,
0.008153087615966797,
0.008053759574890136,
0.008136704444885253,
0.00790841579437256,
0.007922688007354736,
0.007915520191192627,
0.007855103969573975,
0.00787667179107666,
0.007990272045135497,
0.007828479766845703,
0.008090527534484863,
0.007951263904571532,
0.007945216178894043,
0.007881728172302246,
0.00786636781692505,
0.00785100793838501,
0.007903232097625732,
0.00798406410217285,
0.007942143917083741,
0.007971839904785156,
0.007933951854705811,
0.007940095901489258,
0.00796988821029663,
0.007880703926086426,
0.007935999870300293,
0.007929855823516846,
0.0077916159629821775,
0.007798783779144287,
0.007883776187896728,
0.007854080200195313,
0.00788479995727539,
0.007877632141113282,
0.007920639991760254,
0.008044544219970704,
0.008049663543701171,
0.008079360008239746,
0.007942143917083741,
0.007864319801330566,
0.007838528156280517,
0.00785203218460083,
0.007918591976165772,
0.007961599826812745,
0.007913536071777343,
0.007959551811218261,
0.007827487945556641,
0.007748767852783203,
0.007856128215789794,
0.008010751724243164,
0.007976960182189942,
0.007848959922790527,
0.007775231838226319,
0.007822336196899414,
0.007795680046081543,
0.00785103988647461,
0.007905280113220215,
0.007960576057434082,
0.0080250883102417,
0.008018943786621094,
0.007952415943145752,
0.007904255867004394,
0.007874559879302979,
0.007847936153411865,
0.007882751941680909,
0.007853983879089355,
0.00785920000076294,
0.007913472175598145,
0.007740416049957275,
0.007711743831634522,
0.00759500789642334,
0.00759603214263916,
0.007711743831634522,
0.00763804817199707,
0.007465983867645264,
0.007585792064666748,
0.007650303840637207,
0.007878655910491944,
0.00781004810333252,
0.007896063804626464,
0.0077844481468200685,
0.008049663543701171,
0.007714816093444824,
0.007591936111450195,
0.0075980801582336424,
0.007559167861938477,
0.00753772783279419,
0.007590911865234375,
0.007514080047607422,
0.007491583824157715,
0.007521120071411133,
0.0074720001220703125,
0.007643136024475097,
0.007481376171112061,
0.0075335359573364255,
0.007437312126159668,
0.007456768035888672,
0.0074332160949707035,
0.0074403839111328125,
0.007412799835205078,
0.007415808200836181,
0.007417856216430664,
0.007427072048187256,
0.007401472091674805,
0.007401472091674805,
0.00743936014175415,
0.007508992195129394,
0.0074997758865356446,
0.0074926080703735356,
0.007442431926727295,
0.0073994240760803225,
0.007422976016998291,
0.007390399932861328,
0.0074301438331604,
0.007425024032592774,
0.007403391838073731,
0.007478271961212158,
0.007394144058227539,
0.007383039951324463,
0.007423999786376953,
0.007490560054779053,
0.007414752006530761,
0.0074700798988342285,
0.0075038719177246095,
0.00748035192489624,
0.007394303798675537,
0.007432191848754883
]
},
"throughput": {
"unit": "samples/s",
"value": 128.68319267019228
},
"energy": {
"unit": "kWh",
"cpu": 8.793436195473721e-08,
"ram": 4.805090392674889e-08,
"gpu": 1.7217915008888672e-07,
"total": 3.081644159703728e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3245020.995857422
}
}
}
}