IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
35a7ede verified
raw
history blame
12 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": "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,
"latency": true,
"memory": 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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 870.006784,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 169,
"total": 1.0022669124603272,
"mean": 0.005930573446510811,
"stdev": 0.00027154006510084726,
"p50": 0.0059269118309021,
"p90": 0.006303334236145019,
"p95": 0.006393241405487061,
"p99": 0.006709780349731443,
"values": [
0.007047167778015137,
0.006188032150268555,
0.0062494721412658695,
0.006291456222534179,
0.00618393611907959,
0.0062156801223754886,
0.006130688190460205,
0.006169600009918213,
0.0061265921592712404,
0.006128640174865723,
0.006127615928649902,
0.0061296639442443845,
0.006112256050109863,
0.006011903762817383,
0.006080512046813965,
0.00607539176940918,
0.006107135772705078,
0.006094848155975342,
0.006094848155975342,
0.006069248199462891,
0.00607539176940918,
0.006030335903167725,
0.006045695781707764,
0.0060702719688415525,
0.006124639987945556,
0.006142975807189942,
0.006081535816192627,
0.00601087999343872,
0.006056960105895996,
0.006045695781707764,
0.006121471881866455,
0.0060405759811401364,
0.006004735946655273,
0.005944320201873779,
0.005993472099304199,
0.005970943927764893,
0.005954559803009033,
0.006000639915466309,
0.006053887844085694,
0.006060031890869141,
0.006107135772705078,
0.00616755199432373,
0.006100992202758789,
0.006077439785003662,
0.006100992202758789,
0.006052864074707031,
0.006360064029693604,
0.006978559970855713,
0.006489088058471679,
0.0063907837867736815,
0.006355967998504639,
0.006309887886047363,
0.0064102401733398436,
0.006377471923828125,
0.006394879817962646,
0.006348800182342529,
0.006351871967315674,
0.006583295822143555,
0.006412288188934326,
0.00634991979598999,
0.006440959930419922,
0.006437888145446777,
0.006301695823669433,
0.006097919940948486,
0.0061972479820251464,
0.006094848155975342,
0.006049791812896729,
0.006067200183868408,
0.005980160236358643,
0.006085631847381592,
0.006003712177276611,
0.005984255790710449,
0.005912576198577881,
0.005752831935882568,
0.005970943927764893,
0.0060026879310607914,
0.005893119812011719,
0.005696512222290039,
0.005726208209991455,
0.005672959804534912,
0.005739520072937012,
0.005690368175506591,
0.005795839786529541,
0.0059985918998718265,
0.005972991943359375,
0.006007808208465576,
0.006251520156860352,
0.006242303848266601,
0.006115327835083008,
0.006017024040222168,
0.0060405759811401364,
0.005946368217468262,
0.00601907205581665,
0.005851136207580566,
0.0059269118309021,
0.005709824085235596,
0.005691391944885254,
0.005773312091827393,
0.005679103851318359,
0.005775360107421875,
0.005777408123016357,
0.005705728054046631,
0.0056638078689575195,
0.005669888019561768,
0.005801983833312988,
0.005659647941589355,
0.005703680038452149,
0.005676032066345215,
0.005696512222290039,
0.0056852478981018065,
0.005693439960479736,
0.005703680038452149,
0.005677055835723877,
0.005701632022857666,
0.005670911788940429,
0.00570470380783081,
0.005660672187805176,
0.005675007820129394,
0.005683199882507324,
0.00572108793258667,
0.005699584007263184,
0.005641215801239013,
0.005781504154205322,
0.005916672229766846,
0.00572211217880249,
0.005656576156616211,
0.0056555519104003905,
0.005682176113128662,
0.005643263816833496,
0.0056852478981018065,
0.005653503894805908,
0.005654528141021729,
0.005774335861206055,
0.005666816234588623,
0.005710847854614258,
0.005667840003967285,
0.005731328010559082,
0.005669888019561768,
0.005652480125427246,
0.0057077760696411135,
0.0056525120735168456,
0.005705728054046631,
0.005650432109832764,
0.005657599925994873,
0.00568832015991211,
0.005650432109832764,
0.00568832015991211,
0.005635072231292724,
0.005697535991668701,
0.005643263816833496,
0.00563097620010376,
0.005697535991668701,
0.0056442880630493165,
0.005690368175506591,
0.005660672187805176,
0.005642240047454834,
0.0056555519104003905,
0.005662720203399658,
0.005776383876800537,
0.0057292799949646,
0.005793791770935058,
0.005653503894805908,
0.005649407863616943,
0.00568832015991211,
0.005666816234588623,
0.005694464206695556,
0.005643263816833496,
0.005660672187805176,
0.0056555519104003905
]
},
"throughput": {
"unit": "samples/s",
"value": 168.61775830267126
},
"energy": {
"unit": "kWh",
"cpu": 7.1006686149719e-08,
"ram": 3.882188515845003e-08,
"gpu": 1.407752290538911e-07,
"total": 2.506038003620601e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3990362.4707815642
}
}
}
}