IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d191c05 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": {},
"hub_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "e9af750a2bec0e8b3a11d3bf5c5aa883075e8a03",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 895.746048,
"max_global_vram": 875.33568,
"max_process_vram": 47202.03776,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9125556640625,
"mean": 7.9125556640625,
"stdev": 0.0,
"p50": 7.9125556640625,
"p90": 7.9125556640625,
"p95": 7.9125556640625,
"p99": 7.9125556640625,
"values": [
7.9125556640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1015.33696,
"max_global_vram": 938.876928,
"max_process_vram": 239770.095616,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9988916025161744,
"mean": 0.006795180969497784,
"stdev": 0.0002668432046467819,
"p50": 0.006688631057739257,
"p90": 0.007176374530792237,
"p95": 0.0074064381599426255,
"p99": 0.007555644474029541,
"values": [
0.007448150157928467,
0.0069265499114990236,
0.007208631038665771,
0.007219510078430176,
0.007176469802856445,
0.007195030212402344,
0.007141270160675049,
0.007151669979095459,
0.007147511005401611,
0.008381427764892578,
0.007167510032653809,
0.0067025508880615235,
0.006691511154174805,
0.006638551235198974,
0.0066763110160827635,
0.006695671081542969,
0.006666231155395508,
0.006622870922088623,
0.006642550945281983,
0.00662191104888916,
0.006677751064300537,
0.006688631057739257,
0.006637590885162354,
0.0066668701171875,
0.006735671043395996,
0.006643990993499756,
0.006641271114349365,
0.006663671016693115,
0.0066585512161254886,
0.006632630825042725,
0.006643990993499756,
0.006630230903625489,
0.006694070816040039,
0.006668631076812744,
0.006688630104064942,
0.0066596708297729495,
0.006708150863647461,
0.006664950847625733,
0.006679670810699463,
0.006660311222076416,
0.0066921510696411135,
0.006678551197052002,
0.006701751232147217,
0.006707830905914307,
0.006626871109008789,
0.006696791172027588,
0.006677111148834228,
0.006649110794067383,
0.006635671138763428,
0.006707190990447998,
0.006645750999450683,
0.0066971111297607425,
0.0066873512268066405,
0.006691670894622802,
0.006650870800018311,
0.00667503023147583,
0.006679670810699463,
0.006706070899963379,
0.006702230930328369,
0.006653430938720703,
0.006659831047058105,
0.006679350852966308,
0.0066518311500549316,
0.006704151153564453,
0.006694870948791504,
0.006648311138153076,
0.006702710151672364,
0.006708631038665772,
0.006680631160736084,
0.006716310977935791,
0.006707510948181152,
0.006705750942230224,
0.0066763110160827635,
0.006719029903411865,
0.006732951164245606,
0.006703190803527832,
0.006673591136932373,
0.006712790966033936,
0.006692471027374268,
0.006679030895233154,
0.006664310932159424,
0.0067239909172058104,
0.0066972699165344235,
0.00672783088684082,
0.006677111148834228,
0.006675031185150147,
0.00668687105178833,
0.0066761507987976075,
0.0066958308219909664,
0.006701430797576904,
0.006650391101837158,
0.006697589874267578,
0.006644791126251221,
0.006618391036987305,
0.006695671081542969,
0.006705750942230224,
0.0066407909393310545,
0.006703831195831299,
0.006672791004180908,
0.006692310810089111,
0.0066639909744262696,
0.006664949893951416,
0.006666551113128662,
0.006687671184539795,
0.006665431022644043,
0.006699191093444824,
0.0066995110511779785,
0.006682230949401856,
0.007309110164642334,
0.007487989902496338,
0.007496150016784668,
0.007470870018005371,
0.00750206995010376,
0.007525750160217285,
0.0075811100006103515,
0.007121270179748535,
0.007142069816589355,
0.007202710151672363,
0.007139350891113281,
0.007127510070800781,
0.007039509773254395,
0.007176311016082764,
0.007198231220245361,
0.007152629852294922,
0.006976950168609619,
0.007062390804290771,
0.006707030773162842,
0.006624471187591552,
0.006663831233978271,
0.006663190841674805,
0.006618230819702148,
0.006671669960021972,
0.00665359115600586,
0.00668031120300293,
0.006647671222686767,
0.006682071208953857,
0.006700631141662598,
0.006700310230255127,
0.006684950828552246,
0.006700311183929443,
0.006643830776214599,
0.0066499109268188476,
0.0069436697959899905,
0.0066670308113098145,
0.006675190925598144,
0.00662575101852417,
0.006619990825653076
]
},
"throughput": {
"unit": "samples/s",
"value": 147.16311522662917
},
"energy": null,
"efficiency": null
}
}
}