IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
625bf15 verified
raw
history blame
13.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 714.043392,
"max_global_vram": 1218.9696,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.18497998046875,
"mean": 7.18497998046875,
"stdev": 0.0,
"p50": 7.18497998046875,
"p90": 7.18497998046875,
"p95": 7.18497998046875,
"p99": 7.18497998046875,
"values": [
7.18497998046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.361374709341261e-07,
"ram": 4.925561222454652e-07,
"gpu": 0.0,
"total": 1.4286935931795912e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.21344,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 189,
"total": 1.0046527056694035,
"mean": 0.005315622781319592,
"stdev": 0.0002619766107219779,
"p50": 0.005340191841125488,
"p90": 0.005575475025177003,
"p95": 0.005699174499511719,
"p99": 0.0064109774589538576,
"values": [
0.0058009600639343266,
0.005810175895690918,
0.005710847854614258,
0.005582848072052002,
0.005596159934997558,
0.0055285758972167965,
0.005544960021972656,
0.005506048202514649,
0.005511168003082275,
0.0055203838348388675,
0.005468160152435303,
0.005421055793762207,
0.005431295871734619,
0.005416959762573242,
0.005419007778167725,
0.005377024173736572,
0.005274623870849609,
0.0052674560546875,
0.005336063861846924,
0.0053647360801696775,
0.005377024173736572,
0.005475327968597412,
0.005458943843841553,
0.005432320117950439,
0.005536767959594726,
0.005440512180328369,
0.005372928142547607,
0.005291007995605469,
0.005413887977600097,
0.00547430419921875,
0.005420032024383545,
0.005455872058868408,
0.0054988799095153805,
0.005404672145843506,
0.005445631980895996,
0.005467135906219483,
0.005413887977600097,
0.005438464164733887,
0.005470208168029785,
0.005672959804534912,
0.005699584007263184,
0.005734399795532226,
0.006120448112487793,
0.005468160152435303,
0.00547430419921875,
0.0055552000999450684,
0.005445631980895996,
0.005421055793762207,
0.005459968090057373,
0.005403647899627686,
0.005396480083465576,
0.0054241280555725096,
0.005465087890625,
0.005492735862731934,
0.005425151824951172,
0.005508096218109131,
0.005455872058868408,
0.005387263774871826,
0.005329919815063477,
0.005351424217224121,
0.005449728012084961,
0.005414912223815918,
0.005448703765869141,
0.005352447986602784,
0.005429247856140137,
0.005442560195922852,
0.005336063861846924,
0.0052705278396606445,
0.005347328186035156,
0.005352447986602784,
0.005413887977600097,
0.005435391902923584,
0.005408768177032471,
0.005302271842956543,
0.005345280170440674,
0.00538316822052002,
0.005431295871734619,
0.005332992076873779,
0.005340191841125488,
0.005359615802764893,
0.005326848030090332,
0.005698560237884521,
0.005686272144317627,
0.005596159934997558,
0.005739520072937012,
0.005692416191101074,
0.005440512180328369,
0.0054282240867614745,
0.005385216236114502,
0.005432320117950439,
0.005413887977600097,
0.005303296089172363,
0.0053821439743042,
0.005392384052276611,
0.005483520030975342,
0.005256192207336426,
0.0052204160690307614,
0.005104640007019043,
0.005123072147369385,
0.005272575855255127,
0.0053002238273620605,
0.005124095916748047,
0.005086207866668701,
0.00516096019744873,
0.005178368091583252,
0.005224448204040527,
0.005038080215454102,
0.00506982421875,
0.00553984022140503,
0.005458943843841553,
0.0054609918594360355,
0.005573631763458252,
0.005537792205810547,
0.006584320068359375,
0.0064102401733398436,
0.006416384220123291,
0.0056852478981018065,
0.005248000144958496,
0.005178368091583252,
0.005179391860961914,
0.005190656185150146,
0.005604351997375488,
0.0052295680046081545,
0.005175295829772949,
0.005253119945526123,
0.005181439876556396,
0.005182464122772217,
0.005237760066986084,
0.005154816150665284,
0.00506060791015625,
0.005040128231048584,
0.005064703941345215,
0.005032959938049316,
0.005040128231048584,
0.0050657281875610355,
0.005048319816589355,
0.005094399929046631,
0.005071872234344482,
0.0050728960037231445,
0.005044223785400391,
0.00506060791015625,
0.0050421757698059086,
0.0050841598510742185,
0.00502784013748169,
0.005033984184265137,
0.005024767875671386,
0.005056511878967285,
0.0050165758132934574,
0.005045248031616211,
0.005031936168670655,
0.005067776203155518,
0.0050462718009948735,
0.005041152000427246,
0.005041183948516846,
0.0050360321998596195,
0.005025792121887207,
0.005070847988128662,
0.005344255924224854,
0.0050462718009948735,
0.005064703941345215,
0.0050503678321838375,
0.0050503678321838375,
0.005039103984832764,
0.00505241584777832,
0.005074944019317627,
0.005014527797698975,
0.0050165758132934574,
0.005055488109588623,
0.0050360321998596195,
0.005032959938049316,
0.005048319816589355,
0.005033984184265137,
0.005055488109588623,
0.005055488109588623,
0.005061632156372071,
0.005058559894561767,
0.005067776203155518,
0.00502784013748169,
0.0050503678321838375,
0.0050432000160217285,
0.005073919773101807,
0.0050145602226257325,
0.00506879997253418,
0.0050094079971313476,
0.005053440093994141,
0.005014527797698975,
0.005054463863372802,
0.005051392078399658,
0.005035007953643799
]
},
"throughput": {
"unit": "samples/s",
"value": 188.12471109015604
},
"energy": {
"unit": "kWh",
"cpu": 5.930747091770173e-08,
"ram": 3.242708061445872e-08,
"gpu": 1.2879732526000073e-07,
"total": 2.2053187679216115e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4534491.859163034
}
}
}
}