IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
92dc307 verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 909.357056,
"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.9989444823265072,
"mean": 0.007454809569600804,
"stdev": 0.0004727392077005819,
"p50": 0.0074813120365142816,
"p90": 0.007561932849884033,
"p95": 0.008031190347671508,
"p99": 0.009656647729873633,
"values": [
0.010976256370544434,
0.010297344207763673,
0.008132608413696289,
0.008091648101806641,
0.008355839729309082,
0.00830463981628418,
0.0073062400817871095,
0.007124991893768311,
0.007114751815795899,
0.007135231971740722,
0.007111680030822754,
0.007090176105499267,
0.007137279987335205,
0.007101439952850342,
0.007090176105499267,
0.007077888011932373,
0.007077888011932373,
0.007062528133392334,
0.00709222412109375,
0.007104512214660645,
0.007087103843688965,
0.007102464199066162,
0.007074816226959229,
0.007090176105499267,
0.0070891518592834475,
0.0070891518592834475,
0.007062528133392334,
0.007081984043121338,
0.00710041618347168,
0.007126016139984131,
0.007129087924957276,
0.007065599918365479,
0.0070563840866088865,
0.007090176105499267,
0.0070860800743103025,
0.0070348801612854,
0.007097343921661377,
0.007063551902770996,
0.007064576148986816,
0.007066624164581299,
0.007039999961853028,
0.007080959796905518,
0.007068672180175781,
0.007094272136688232,
0.007044095993041993,
0.007079904079437256,
0.0070891518592834475,
0.00739737606048584,
0.007262207984924316,
0.008031231880187988,
0.00802406406402588,
0.007560192108154297,
0.007468031883239746,
0.007536640167236328,
0.007535615921020508,
0.00753868818283081,
0.007527423858642578,
0.007556096076965332,
0.007541759967803955,
0.007524352073669433,
0.0075008001327514645,
0.007967743873596191,
0.0074926080703735356,
0.007481344223022461,
0.007584767818450928,
0.007513088226318359,
0.007521279811859131,
0.007501823902130127,
0.007518208026885987,
0.007520256042480469,
0.007488512039184571,
0.007540736198425293,
0.007526400089263916,
0.007535615921020508,
0.007523327827453613,
0.007516160011291504,
0.007544832229614258,
0.007504896163940429,
0.007561215877532959,
0.00749567985534668,
0.007506944179534912,
0.007516160011291504,
0.007532544136047363,
0.007539711952209473,
0.007485439777374267,
0.007476223945617676,
0.0075008001327514645,
0.007514111995697022,
0.007480319976806641,
0.0075038719177246095,
0.007562240123748779,
0.007585792064666748,
0.007526400089263916,
0.007515135765075683,
0.007505919933319092,
0.007482367992401123,
0.007528384208679199,
0.007473152160644531,
0.007525375843048096,
0.007536640167236328,
0.007485439777374267,
0.007443456172943115,
0.007426047801971435,
0.007451648235321045,
0.007417856216430664,
0.007402495861053467,
0.007435264110565186,
0.007423999786376953,
0.007396351814270019,
0.007379968166351319,
0.007416831970214844,
0.0074291200637817386,
0.00742195177078247,
0.007450623989105225,
0.00740556812286377,
0.007450623989105225,
0.007592959880828858,
0.0075560321807861324,
0.007531519889831543,
0.0074670081138610836,
0.007448575973510742,
0.007478271961212158,
0.00749567985534668,
0.007490623950958252,
0.007510015964508057,
0.00752019214630127,
0.0074700798988342285,
0.007494656085968018,
0.007491583824157715,
0.007481279850006103,
0.0074926080703735356,
0.00748748779296875,
0.007486464023590088,
0.00803116798400879
]
},
"throughput": {
"unit": "samples/s",
"value": 134.14158881774748
},
"energy": {
"unit": "kWh",
"cpu": 8.764430466625426e-08,
"ram": 4.778607175039189e-08,
"gpu": 1.547734081323552e-07,
"total": 2.9020378454900134e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3445854.4417471183
}
}
}
}