IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
db8d0f2 verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 909.04576,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.996775489807129,
"mean": 0.007438623058262157,
"stdev": 0.0002845033756890149,
"p50": 0.007428575992584228,
"p90": 0.007843932867050171,
"p95": 0.007958630442619324,
"p99": 0.008018964586257935,
"values": [
0.008153087615966797,
0.008020992279052735,
0.007998464107513427,
0.008014847755432129,
0.007920639991760254,
0.007956480026245117,
0.007962624073028564,
0.007858176231384278,
0.007834591865539552,
0.007787519931793213,
0.007701504230499268,
0.00760422420501709,
0.007966720104217529,
0.007902207851409913,
0.007773183822631836,
0.007732223987579345,
0.007560192108154297,
0.007617536067962646,
0.007755775928497314,
0.007733248233795166,
0.007758848190307617,
0.007847936153411865,
0.00760422420501709,
0.007609344005584716,
0.0076113600730896,
0.007625728130340576,
0.007620607852935791,
0.007516160011291504,
0.007464896202087403,
0.0075008001327514645,
0.007531519889831543,
0.007560192108154297,
0.007650303840637207,
0.007618559837341309,
0.007532544136047363,
0.0075120959281921385,
0.007580671787261963,
0.007575551986694336,
0.007621632099151611,
0.007613344192504883,
0.007476223945617676,
0.007522304058074952,
0.007543744087219239,
0.007602176189422607,
0.007514111995697022,
0.007508992195129394,
0.007727104187011719,
0.007767039775848389,
0.007997439861297608,
0.007858176231384278,
0.00764415979385376,
0.007811071872711181,
0.007858176231384278,
0.007712768077850342,
0.007535615921020508,
0.007530464172363281,
0.007463871955871582,
0.007292928218841553,
0.007219200134277344,
0.00723967981338501,
0.007291903972625732,
0.007356416225433349,
0.007200767993927002,
0.007131135940551757,
0.00714137601852417,
0.007634880065917969,
0.007579648017883301,
0.007568384170532226,
0.007648255825042725,
0.007706592082977295,
0.007821311950683594,
0.0075939841270446775,
0.007468095779418945,
0.007391232013702393,
0.007346176147460938,
0.007390175819396973,
0.007353280067443848,
0.00738918399810791,
0.007354368209838867,
0.007286784172058106,
0.007156735897064209,
0.00714035177230835,
0.007184383869171143,
0.0071823358535766605,
0.007131135940551757,
0.007356416225433349,
0.007346176147460938,
0.00727347183227539,
0.007145472049713135,
0.00714035177230835,
0.007153664112091064,
0.007171072006225586,
0.007221216201782226,
0.007323647975921631,
0.007130112171173096,
0.0071485438346862796,
0.007131135940551757,
0.007113728046417236,
0.007095295906066895,
0.007142399787902832,
0.0071526398658752445,
0.007142399787902832,
0.007123968124389648,
0.007108607769012451,
0.007146527767181396,
0.007250944137573242,
0.0072202239036560055,
0.0072765440940856935,
0.007131135940551757,
0.007111680030822754,
0.007134208202362061,
0.007124991893768311,
0.007108672142028809,
0.007164927959442138,
0.007278592109680176,
0.0070973758697509765,
0.007078911781311035,
0.007101471900939941,
0.0071188478469848635,
0.007222208023071289,
0.007081984043121338,
0.007095295906066895,
0.007096320152282715,
0.00710041618347168,
0.007106560230255127,
0.007128064155578613,
0.007097311973571777,
0.007113728046417236,
0.007103519916534424,
0.007103487968444824,
0.007062528133392334,
0.007756800174713135,
0.007393280029296875,
0.007463903903961182
]
},
"throughput": {
"unit": "samples/s",
"value": 134.4334821334023
},
"energy": {
"unit": "kWh",
"cpu": 8.973932828164663e-08,
"ram": 4.9062215645947887e-08,
"gpu": 1.6832084172728215e-07,
"total": 3.071223856548767e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3256030.9723685603
}
}
}
}