IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
897eeff verified
raw
history blame
13.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.074048,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07134003448486329
],
"count": 1,
"total": 0.07134003448486329,
"mean": 0.07134003448486329,
"p50": 0.07134003448486329,
"p90": 0.07134003448486329,
"p95": 0.07134003448486329,
"p99": 0.07134003448486329,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1089.687552,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"values": [
0.006013951778411865,
0.005599232196807862,
0.005570559978485107,
0.005607423782348633,
0.005549056053161621,
0.005574656009674072,
0.005576704025268555,
0.005568511962890625,
0.0055920639038085935,
0.005554175853729248,
0.005559296131134033,
0.005542912006378174,
0.005595136165618897,
0.005565375804901123,
0.005527488231658936,
0.005544960021972656,
0.005532671928405761,
0.00552345609664917,
0.005533696174621582,
0.005552127838134766,
0.005541888236999512,
0.005570559978485107,
0.005511104106903076,
0.0055552000999450684,
0.005582848072052002,
0.005628928184509278,
0.0055511040687561035,
0.005879807949066162,
0.005880832195281982,
0.00586137580871582,
0.005840896129608154,
0.005801983833312988,
0.005889023780822754,
0.005810175895690918,
0.005811200141906738,
0.005761023998260498,
0.006789120197296142,
0.006370304107666015,
0.006107071876525879,
0.005824512004852295,
0.006033408164978027,
0.006235072135925293,
0.006045695781707764,
0.005793791770935058,
0.005856287956237793,
0.0057712640762329105,
0.005990399837493897,
0.005850111961364746,
0.005860352039337159,
0.005879807949066162,
0.005854207992553711,
0.005763072013854981,
0.005797887802124023,
0.005780479907989502,
0.005784575939178467,
0.005795839786529541,
0.005777408123016357,
0.005819392204284668,
0.0057487359046936035,
0.00582041597366333,
0.005774335861206055,
0.00582144021987915,
0.005769184112548828,
0.005892064094543457,
0.005808127880096436,
0.005801983833312988,
0.005776383876800537,
0.0057415680885314945,
0.005810175895690918,
0.0057712640762329105,
0.006140927791595459,
0.0057784318923950195,
0.005826560020446778,
0.005761023998260498,
0.0057916479110717775,
0.005948416233062744,
0.005823488235473633,
0.0059658241271972655,
0.005777440071105957,
0.005781439781188965,
0.005836800098419189,
0.005888000011444092,
0.00587059211730957,
0.005796864032745362,
0.005745664119720459,
0.0057784318923950195,
0.00577023983001709,
0.005865471839904785,
0.0057794561386108395,
0.005805056095123291,
0.005787648200988769,
0.005775360107421875,
0.00577023983001709,
0.005738560199737549,
0.005777408123016357,
0.005764095783233642,
0.005785600185394287,
0.005823488235473633,
0.005811200141906738,
0.005792768001556397,
0.006478847980499268,
0.00704204797744751,
0.007002111911773682,
0.007023615837097168,
0.007002111911773682,
0.006077439785003662,
0.006081535816192627,
0.0060631041526794435,
0.005996543884277344,
0.005852159976959229,
0.005824512004852295,
0.00576204776763916,
0.005830592155456543,
0.005801983833312988,
0.005797887802124023,
0.005836800098419189,
0.005775360107421875,
0.005763072013854981,
0.0057794561386108395,
0.005825503826141358,
0.00572211217880249,
0.005808127880096436,
0.005731328010559082,
0.0058122239112854005,
0.0058091521263122555,
0.005804031848907471,
0.0057292799949646,
0.005777376174926758,
0.0057118721008300784,
0.005761023998260498,
0.005780479907989502,
0.0057415680885314945,
0.0058091521263122555,
0.005718016147613526,
0.005856256008148194,
0.005727231979370117,
0.005798912048339844,
0.0057487359046936035,
0.0057712640762329105,
0.0058419198989868165,
0.005740543842315674,
0.005889023780822754,
0.005772287845611572,
0.005765120029449463,
0.005736447811126709,
0.005761023998260498,
0.0057497601509094234,
0.005743616104125977,
0.005777408123016357,
0.005719999790191651,
0.005784575939178467,
0.0057190399169921875,
0.0057415680885314945,
0.005797887802124023,
0.005760000228881836,
0.005703680038452149,
0.0057487359046936035,
0.005753856182098388,
0.005722015857696533,
0.00573747205734253,
0.005723135948181152,
0.005775360107421875,
0.005784575939178467,
0.005739520072937012,
0.005706751823425293,
0.005767168045043946,
0.005834752082824707,
0.005777408123016357,
0.005755904197692871,
0.005758975982666016,
0.00573747205734253,
0.005742623805999756
],
"count": 172,
"total": 1.0003398079872132,
"mean": 0.005815929116204728,
"p50": 0.005777935981750488,
"p90": 0.005987942266464234,
"p95": 0.0061223070383071895,
"p99": 0.007008348050117493,
"stdev": 0.0002449396967366046,
"stdev_": 4.211531671769131
},
"throughput": {
"unit": "samples/s",
"value": 171.9415728802013
},
"energy": {
"unit": "kWh",
"cpu": 6.885513589712918e-08,
"ram": 3.762485527721033e-08,
"gpu": 1.3258085541859835e-07,
"total": 2.3906084659293786e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4183035.466710094
}
}
}
}