IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0b09f87 verified
raw
history blame
11.5 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.34.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.127744,
"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.3602568359375,
"mean": 7.3602568359375,
"stdev": 0.0,
"p50": 7.3602568359375,
"p90": 7.3602568359375,
"p95": 7.3602568359375,
"p99": 7.3602568359375,
"values": [
7.3602568359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.789039548611063e-07,
"ram": 4.6551161062950245e-07,
"gpu": 1.6977791360002319e-06,
"total": 3.0421947014908408e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.735488,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0028170223236081,
"mean": 0.00759709865396673,
"stdev": 0.00025658729351615644,
"p50": 0.00758784008026123,
"p90": 0.007863705444335936,
"p95": 0.007945984077453613,
"p99": 0.00860376058578491,
"values": [
0.007836671829223632,
0.007864319801330566,
0.007847936153411865,
0.007847936153411865,
0.007792640209197998,
0.007643136024475097,
0.007621632099151611,
0.0076308479309082035,
0.007622655868530274,
0.007628799915313721,
0.007631872177124023,
0.00758784008026123,
0.007543807983398438,
0.007590911865234375,
0.007612415790557861,
0.007684095859527588,
0.007684095859527588,
0.0076687359809875484,
0.007622655868530274,
0.00783462381362915,
0.007887872219085693,
0.0080250883102417,
0.0079267840385437,
0.008002559661865234,
0.008014847755432129,
0.007954432010650634,
0.007879680156707763,
0.007939072132110595,
0.0076984319686889645,
0.007674848079681397,
0.007613440036773681,
0.007548927783966064,
0.007551936149597168,
0.007591936111450195,
0.007632895946502686,
0.007649280071258545,
0.007611392021179199,
0.007751679897308349,
0.007650303840637207,
0.007682047843933106,
0.007658495903015137,
0.007718912124633789,
0.007615488052368164,
0.007560192108154297,
0.007635903835296631,
0.007679999828338623,
0.007620607852935791,
0.0075980801582336424,
0.007635968208312988,
0.007550975799560547,
0.007518208026885987,
0.007588863849639893,
0.0075970559120178225,
0.007693312168121338,
0.00754585599899292,
0.007527423858642578,
0.007584767818450928,
0.007562240123748779,
0.007749631881713868,
0.007966720104217529,
0.00758784008026123,
0.007675903797149658,
0.007705535888671875,
0.007611392021179199,
0.007677951812744141,
0.007858176231384278,
0.007700479984283447,
0.0075939841270446775,
0.007543807983398438,
0.007582719802856445,
0.007577600002288819,
0.0074967041015625,
0.007485439777374267,
0.0073359360694885255,
0.00748748779296875,
0.0075008001327514645,
0.007302144050598145,
0.007208960056304932,
0.007225344181060791,
0.007539711952209473,
0.007748544216156006,
0.00776800012588501,
0.007605216026306152,
0.007617536067962646,
0.007881728172302246,
0.009120767593383788,
0.008863743782043456,
0.007741439819335938,
0.007551968097686768,
0.0075673599243164065,
0.007472127914428711,
0.007497727870941162,
0.007506944179534912,
0.0075008001327514645,
0.007463935852050781,
0.007480319976806641,
0.007472127914428711,
0.007485439777374267,
0.007446464061737061,
0.007284736156463623,
0.007266272068023682,
0.007266304016113281,
0.007274496078491211,
0.007303167819976806,
0.007211008071899414,
0.007188479900360107,
0.007175168037414551,
0.007197696208953858,
0.007186431884765625,
0.007880703926086426,
0.007354368209838867,
0.007451648235321045,
0.0074700798988342285,
0.00744652795791626,
0.0074403839111328125,
0.007468031883239746,
0.00744755220413208,
0.007453695774078369,
0.007520256042480469,
0.0074741759300231934,
0.007461887836456299,
0.007482367992401123,
0.007475200176239013,
0.007464960098266602,
0.0074926080703735356,
0.007419904232025146,
0.007423999786376953,
0.007443456172943115,
0.007453695774078369,
0.007351295948028564,
0.007200767993927002,
0.007201791763305664
]
},
"throughput": {
"unit": "samples/s",
"value": 131.62919761188866
},
"energy": {
"unit": "kWh",
"cpu": 8.58944279840992e-08,
"ram": 4.696201521965329e-08,
"gpu": 1.647042380434773e-07,
"total": 2.975606812472298e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3360659.0622406355
}
}
}
}