IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2542b36 verified
raw
history blame
13.5 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"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": 797.822976,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07782502746582032
],
"count": 1,
"total": 0.07782502746582032,
"mean": 0.07782502746582032,
"p50": 0.07782502746582032,
"p90": 0.07782502746582032,
"p95": 0.07782502746582032,
"p99": 0.07782502746582032,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1053.446144,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005747712135314941,
0.005838912010192871,
0.005660672187805176,
0.005643263816833496,
0.005647359848022461,
0.005593088150024414,
0.005640192031860352,
0.005590015888214111,
0.005701632022857666,
0.005601280212402344,
0.005695487976074219,
0.005626880168914795,
0.005673984050750733,
0.005582848072052002,
0.005609471797943116,
0.005615615844726562,
0.005600255966186523,
0.005595136165618897,
0.005593088150024414,
0.005565440177917481,
0.005538815975189209,
0.005509119987487793,
0.0055582718849182125,
0.0055808000564575196,
0.005596159934997558,
0.00586137580871582,
0.005827583789825439,
0.005780479907989502,
0.005858304023742676,
0.005796864032745362,
0.00611737585067749,
0.006102015972137451,
0.0059269118309021,
0.0056483840942382815,
0.005816319942474365,
0.005903359889984131,
0.005855231761932373,
0.005847040176391601,
0.00571289587020874,
0.0055920639038085935,
0.005585919857025146,
0.005682176113128662,
0.005574656009674072,
0.005658624172210694,
0.005597184181213379,
0.005660672187805176,
0.005739520072937012,
0.0056258559226989744,
0.00551423978805542,
0.005512191772460938,
0.005583871841430664,
0.005639167785644531,
0.005557248115539551,
0.005669888019561768,
0.005683199882507324,
0.005569536209106446,
0.005744639873504639,
0.00577023983001709,
0.005808127880096436,
0.005752831935882568,
0.005766143798828125,
0.00552345609664917,
0.005568511962890625,
0.005532671928405761,
0.005525504112243652,
0.005657599925994873,
0.005818367958068848,
0.005915647983551026,
0.005846015930175781,
0.005880832195281982,
0.005849088191986084,
0.005865471839904785,
0.006089727878570556,
0.005824512004852295,
0.005938176155090332,
0.005792768001556397,
0.005781504154205322,
0.005483520030975342,
0.005689343929290771,
0.005540863990783691,
0.005465087890625,
0.00546611213684082,
0.005593088150024414,
0.005543935775756836,
0.005649407863616943,
0.005723135948181152,
0.005727231979370117,
0.005275648117065429,
0.005285888195037842,
0.005246975898742676,
0.005310463905334473,
0.005282815933227539,
0.005654528141021729,
0.005609471797943116,
0.005588992118835449,
0.005567488193511963,
0.005599232196807862,
0.005765120029449463,
0.0058388481140136715,
0.005615615844726562,
0.0055582718849182125,
0.005575744152069092,
0.005604351997375488,
0.005496831893920898,
0.005511168003082275,
0.00548367977142334,
0.005512191772460938,
0.00550707197189331,
0.005432320117950439,
0.005419007778167725,
0.005406720161437988,
0.0053975038528442385,
0.005449728012084961,
0.005426176071166992,
0.00547430419921875,
0.005479423999786377,
0.005486591815948487,
0.005446656227111817,
0.005496831893920898,
0.005537792205810547,
0.005262335777282715,
0.0053043198585510255,
0.005274623870849609,
0.005250048160552978,
0.005269536018371582,
0.005206016063690186,
0.005268479824066162,
0.005450751781463623,
0.005426176071166992,
0.005436416149139404,
0.005463039875030518,
0.005477375984191894,
0.005452799797058106,
0.005434368133544922,
0.0054568958282470706,
0.005306367874145508,
0.005381120204925537,
0.005431295871734619,
0.005597184181213379,
0.005459968090057373,
0.00542310380935669,
0.0056483840942382815,
0.005462016105651855,
0.005513216018676758,
0.005479423999786377,
0.0054568958282470706,
0.005488639831542969,
0.005473279953002929,
0.005516287803649903,
0.005502975940704345,
0.005450751781463623,
0.005338111877441406,
0.005268479824066162,
0.005278719902038574,
0.005246975898742676,
0.005291007995605469,
0.005392384052276611,
0.005433343887329102,
0.005511168003082275,
0.005421055793762207,
0.0055285758972167965,
0.005444608211517334,
0.005435391902923584,
0.005492735862731934,
0.005449728012084961,
0.005508096218109131,
0.005479423999786377,
0.005450751781463623,
0.005479423999786377,
0.005435391902923584,
0.005426176071166992,
0.005438464164733887,
0.005431295871734619,
0.005400576114654541,
0.005437439918518067,
0.005837823867797852,
0.005502975940704345,
0.005453824043273926,
0.005448703765869141,
0.00546611213684082
],
"count": 180,
"total": 1.0023355484008794,
"mean": 0.005568530824449327,
"p50": 0.005542399883270264,
"p90": 0.00582860779762268,
"p95": 0.005861580610275269,
"p99": 0.006092308378219604,
"stdev": 0.0001774145599649216,
"stdev_": 3.186020973179513
},
"throughput": {
"unit": "samples/s",
"value": 179.58058086153994
},
"energy": {
"unit": "kWh",
"cpu": 6.473365366195422e-08,
"ram": 3.5370435997170816e-08,
"gpu": 1.3167284365027927e-07,
"total": 2.317769333094043e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4314493.188435958
}
}
}
}