IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c5262ad verified
raw
history blame
12.8 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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.644544,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.0723025894165039
],
"count": 1,
"total": 0.0723025894165039,
"mean": 0.0723025894165039,
"p50": 0.0723025894165039,
"p90": 0.0723025894165039,
"p95": 0.0723025894165039,
"p99": 0.0723025894165039,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1087.852544,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"values": [
0.006505568027496338,
0.006052864074707031,
0.006079520225524902,
0.006064127922058105,
0.006187007904052734,
0.0061818561553955076,
0.0061521921157836916,
0.006065184116363525,
0.006124544143676758,
0.005989151954650879,
0.006077439785003662,
0.006031360149383545,
0.0059955201148986816,
0.005983232021331787,
0.006033408164978027,
0.006064127922058105,
0.006080512046813965,
0.006207488059997559,
0.0060702719688415525,
0.0059023361206054685,
0.005914624214172363,
0.005798912048339844,
0.005853184223175049,
0.005989376068115234,
0.0059391999244689945,
0.00597705602645874,
0.005983232021331787,
0.005974016189575195,
0.005945151805877686,
0.006329343795776367,
0.006096896171569824,
0.006073344230651856,
0.006188032150268555,
0.0062638077735900875,
0.006164480209350586,
0.006069151878356933,
0.0059770879745483394,
0.006053887844085694,
0.005993472099304199,
0.005894144058227539,
0.005787648200988769,
0.006208479881286621,
0.006242303848266601,
0.006172671794891358,
0.006223872184753418,
0.006209536075592041,
0.006407167911529541,
0.006269951820373535,
0.006173823833465576,
0.0061265921592712404,
0.006135807991027832,
0.00633241605758667,
0.006179840087890625,
0.00613801622390747,
0.00622489595413208,
0.006344704151153564,
0.006303743839263916,
0.006166528224945069,
0.006136832237243653,
0.006140927791595459,
0.0061265921592712404,
0.006145023822784424,
0.006141952037811279,
0.00613263988494873,
0.006135807991027832,
0.0061910400390625,
0.0063498239517211915,
0.00638259220123291,
0.006240255832672119,
0.006352896213531494,
0.00622489595413208,
0.006320000171661377,
0.006460415840148926,
0.006386688232421875,
0.006339583873748779,
0.006322175979614258,
0.006300672054290772,
0.006088704109191895,
0.00608460807800293,
0.006267007827758789,
0.006141056060791015,
0.006073344230651856,
0.006044672012329101,
0.006085631847381592,
0.005888000011444092,
0.006042623996734619,
0.006184959888458252,
0.006041600227355957,
0.0057857918739318845,
0.005894144058227539,
0.006386720180511475,
0.006300704002380371,
0.006217728137969971,
0.006292479991912842,
0.006281216144561768,
0.006329535961151123,
0.006354944229125976,
0.006395999908447266,
0.006333439826965332,
0.006107135772705078,
0.006082560062408447,
0.006050816059112549,
0.005982207775115967,
0.0060364799499511715,
0.006039552211761475,
0.006050943851470947,
0.006221824169158936,
0.0059770879745483394,
0.006067071914672852,
0.005966847896575928,
0.006012928009033203,
0.0059185919761657714,
0.005953567981719971,
0.005947264194488525,
0.005876736164093017,
0.005890048027038574,
0.005893119812011719,
0.0059064321517944334,
0.005886975765228271,
0.005966847896575928,
0.005889023780822754,
0.0059361281394958495,
0.005967872142791748,
0.005915647983551026,
0.0059023361206054685,
0.0062904319763183595,
0.005917695999145508,
0.005966847896575928,
0.005854207992553711,
0.006010784149169922,
0.005898240089416504,
0.005897215843200684,
0.005887072086334228,
0.00587775993347168,
0.005915616035461426,
0.00587667179107666,
0.005976064205169678,
0.005950463771820068,
0.0059534721374511716,
0.005879807949066162,
0.005897215843200684,
0.005924863815307617,
0.006189055919647217,
0.0058757119178771975,
0.005911551952362061,
0.005896192073822021,
0.005897215843200684,
0.005893119812011719,
0.005890048027038574,
0.005901311874389649,
0.005910528182983398,
0.00591871976852417,
0.005904384136199951,
0.005883903980255127,
0.005957536220550537,
0.005891071796417236,
0.00588595199584961,
0.005883903980255127,
0.005886975765228271,
0.0061224961280822755,
0.006091775894165039,
0.00603545618057251,
0.00592793607711792,
0.005903327941894531
],
"count": 164,
"total": 0.9953984975814819,
"mean": 0.006069503034033427,
"p50": 0.00605190396308899,
"p90": 0.006321523237228394,
"p95": 0.006352435374259949,
"p99": 0.006426869645118714,
"stdev": 0.0001623193625373429,
"stdev_": 2.6743435438976166
},
"throughput": {
"unit": "samples/s",
"value": 164.75813495647273
},
"energy": {
"unit": "kWh",
"cpu": 6.900193859819043e-08,
"ram": 3.770416406082092e-08,
"gpu": 1.2964642154649545e-07,
"total": 2.3635252420550676e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4230968.141175879
}
}
}
}