IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6be54ba verified
raw
history blame
13.4 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.783808,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07086182403564453
],
"count": 1,
"total": 0.07086182403564453,
"mean": 0.07086182403564453,
"p50": 0.07086182403564453,
"p90": 0.07086182403564453,
"p95": 0.07086182403564453,
"p99": 0.07086182403564453,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1088.4096,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"values": [
0.005822463989257813,
0.0055285758972167965,
0.005543935775756836,
0.005579840183258056,
0.005552127838134766,
0.0055203838348388675,
0.00550707197189331,
0.005434368133544922,
0.005442560195922852,
0.005470208168029785,
0.005467135906219483,
0.00547430419921875,
0.006179776191711426,
0.005794816017150879,
0.005654528141021729,
0.005642240047454834,
0.005700607776641845,
0.005650432109832764,
0.005660672187805176,
0.005598207950592041,
0.005667840003967285,
0.005628928184509278,
0.005604351997375488,
0.005633024215698243,
0.00557260799407959,
0.005638144016265869,
0.005650432109832764,
0.0056555519104003905,
0.005682176113128662,
0.0056145920753479005,
0.005661695957183838,
0.005641215801239013,
0.0056217598915100095,
0.005617663860321045,
0.00568012809753418,
0.005633024215698243,
0.0056145920753479005,
0.005690368175506591,
0.0057118721008300784,
0.005750783920288086,
0.005744639873504639,
0.0057149438858032225,
0.005641215801239013,
0.005537792205810547,
0.005753856182098388,
0.005805056095123291,
0.005781504154205322,
0.005619711875915527,
0.005612544059753418,
0.005591040134429932,
0.005563392162322998,
0.005603328227996827,
0.005567488193511963,
0.005540863990783691,
0.005571584224700928,
0.005403647899627686,
0.005409791946411133,
0.005481472015380859,
0.00541593599319458,
0.005483520030975342,
0.005452799797058106,
0.005414912223815918,
0.005453824043273926,
0.005478464126586914,
0.005388288021087646,
0.005477375984191894,
0.005401599884033203,
0.005416895866394043,
0.0054282560348510745,
0.005390336036682129,
0.005432320117950439,
0.005375999927520752,
0.005381120204925537,
0.005416959762573242,
0.0053944320678710935,
0.005387263774871826,
0.005429247856140137,
0.005378047943115235,
0.005396480083465576,
0.005426176071166992,
0.005406688213348389,
0.005493696212768555,
0.005525504112243652,
0.005401599884033203,
0.005434368133544922,
0.0053944320678710935,
0.00542409610748291,
0.0054282240867614745,
0.005396480083465576,
0.005395455837249756,
0.005437439918518067,
0.005388288021087646,
0.005426176071166992,
0.005420032024383545,
0.005392384052276611,
0.005408703804016113,
0.005400576114654541,
0.005534719944000244,
0.005595136165618897,
0.005570559978485107,
0.005643263816833496,
0.005608448028564453,
0.00553984022140503,
0.005565440177917481,
0.005560319900512695,
0.005933055877685547,
0.005950463771820068,
0.0068577280044555666,
0.0070860800743103025,
0.006761472225189209,
0.007256063938140869,
0.006392831802368164,
0.005988351821899414,
0.005938176155090332,
0.0057487359046936035,
0.005804031848907471,
0.0057415680885314945,
0.005718016147613526,
0.005795839786529541,
0.005693439960479736,
0.005730303764343261,
0.005610432147979736,
0.005757952213287353,
0.005567488193511963,
0.005615647792816162,
0.0056217598915100095,
0.005577727794647217,
0.00572108793258667,
0.005616640090942383,
0.005645311832427978,
0.0056852478981018065,
0.005432320117950439,
0.005473279953002929,
0.005398528099060058,
0.005413887977600097,
0.005422080039978027,
0.005405695915222168,
0.005468160152435303,
0.005414912223815918,
0.005406720161437988,
0.005448671817779541,
0.005385216236114502,
0.005445631980895996,
0.0054783358573913575,
0.00542310380935669,
0.0054271998405456545,
0.005414912223815918,
0.005377024173736572,
0.005925888061523437,
0.005730303764343261,
0.005673984050750733,
0.005691391944885254,
0.005669888019561768,
0.005728256225585937,
0.005660672187805176,
0.005720064163208007,
0.00567193603515625,
0.005698560237884521,
0.00568012809753418,
0.005679103851318359,
0.005726208209991455,
0.005679103851318359,
0.005725183963775635,
0.005672959804534912,
0.005727231979370117,
0.005676032066345215,
0.005669888019561768,
0.00570470380783081,
0.005593088150024414,
0.005691391944885254,
0.005693439960479736,
0.005718016147613526,
0.00568012809753418,
0.0056514558792114256,
0.0057077760696411135,
0.0059064321517944334,
0.005757919788360596,
0.005693439960479736
],
"count": 178,
"total": 1.000406723022461,
"mean": 0.0056202624888902295,
"p50": 0.005606400012969971,
"p90": 0.005765017795562744,
"p95": 0.0059338239192962645,
"p99": 0.006910248980522154,
"stdev": 0.00026338086865660744,
"stdev_": 4.686273446787257
},
"throughput": {
"unit": "samples/s",
"value": 177.92763273543454
},
"energy": {
"unit": "kWh",
"cpu": 6.797712494841379e-08,
"ram": 3.714385928603548e-08,
"gpu": 1.3095724762285824e-07,
"total": 2.3607823185730748e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4235883.978512805
}
}
}
}