IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6d29b08 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "5",
"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": 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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1384.849408,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.75496923828125,
"mean": 7.75496923828125,
"stdev": 0.0,
"p50": 7.75496923828125,
"p90": 7.75496923828125,
"p95": 7.75496923828125,
"p99": 7.75496923828125,
"values": [
7.75496923828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1484.402688,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0045099530220025,
"mean": 0.0074408144668296535,
"stdev": 0.001037230427040787,
"p50": 0.00731885576248169,
"p90": 0.007541703128814698,
"p95": 0.007654982614517212,
"p99": 0.008037842035293579,
"values": [
0.007222055912017822,
0.007142055988311768,
0.0071212568283081056,
0.007134376049041748,
0.007136617183685303,
0.0071071767807006836,
0.0071510162353515625,
0.00727069616317749,
0.007232776165008545,
0.007439655780792236,
0.007185416221618652,
0.007100456237792969,
0.007237736225128174,
0.007243656158447266,
0.007211336135864258,
0.0072366161346435545,
0.007269896030426025,
0.007257736206054687,
0.007344615936279297,
0.007267335891723633,
0.007314216136932373,
0.00726685619354248,
0.0072794947624206545,
0.0072554960250854495,
0.0073038158416748045,
0.007462214946746826,
0.007501255989074707,
0.007442055225372314,
0.007396615028381347,
0.007278056144714356,
0.007338376045227051,
0.007275496006011963,
0.007492135047912598,
0.00731885576248169,
0.0073270158767700195,
0.007327014923095703,
0.007245416164398193,
0.007355016231536865,
0.007330855846405029,
0.007347654819488525,
0.007292136192321778,
0.007352295875549316,
0.007261896133422851,
0.00749693489074707,
0.00741725492477417,
0.0072842960357666015,
0.0072982158660888675,
0.0072182159423828125,
0.007219016075134277,
0.007186056137084961,
0.0072433362007141115,
0.007491496086120606,
0.00747021484375,
0.007711013793945312,
0.007501414775848389,
0.007335815906524658,
0.0072750158309936525,
0.007396935939788818,
0.007280934810638428,
0.007447336196899414,
0.007465095043182373,
0.01930441665649414,
0.007863813877105713,
0.0075322952270507814,
0.007619013786315918,
0.007516455173492431,
0.007474215984344482,
0.007496294975280762,
0.007498694896697998,
0.007660775184631347,
0.007492774963378906,
0.0074404549598693845,
0.007428134918212891,
0.007437255859375,
0.007656774044036865,
0.007415815830230713,
0.007588134765625,
0.007491175174713135,
0.007580615043640136,
0.00752477502822876,
0.007361735820770264,
0.007370855808258057,
0.007285416126251221,
0.007243815898895264,
0.007197896003723145,
0.0071207771301269535,
0.007117416858673096,
0.007152775764465332,
0.007654214859008789,
0.007316135883331299,
0.007222216129302978,
0.007363494873046875,
0.007283976078033447,
0.0072041358947753905,
0.007257736206054687,
0.0075199751853942875,
0.008127492904663086,
0.007616135120391845,
0.007690855026245117,
0.007547975063323975,
0.00749421501159668,
0.007377735137939453,
0.0074145359992980955,
0.007314536094665527,
0.007415655136108398,
0.007348296165466309,
0.007204775810241699,
0.0073810949325561525,
0.007300615787506104,
0.007257575988769531,
0.007328296184539795,
0.0072682957649230955,
0.007290535926818847,
0.007285574913024903,
0.007612295150756836,
0.007335175991058349,
0.007280456066131592,
0.0074470148086547856,
0.007317575931549072,
0.007288936138153076,
0.007233575820922851,
0.007393095016479492,
0.0073178958892822265,
0.007344935894012451,
0.0073140549659729,
0.007451335906982422,
0.0072420558929443355,
0.007280934810638428,
0.007284615993499756,
0.007362055778503418,
0.007362215995788574,
0.007214056015014648,
0.0071273350715637205,
0.0070786972045898434,
0.0070476560592651364
]
},
"throughput": {
"unit": "samples/s",
"value": 134.39388987024094
},
"energy": null,
"efficiency": null
}
}
}