IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
96a3ca1 verified
raw
history blame
13.4 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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.4912,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.0780421142578125
],
"count": 1,
"total": 0.0780421142578125,
"mean": 0.0780421142578125,
"p50": 0.0780421142578125,
"p90": 0.0780421142578125,
"p95": 0.0780421142578125,
"p99": 0.0780421142578125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1052.971008,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005769216060638428,
0.005863423824310303,
0.005588992118835449,
0.005597216129302978,
0.0054876160621643065,
0.0055316481590271,
0.005612544059753418,
0.005586944103240967,
0.005612544059753418,
0.005559296131134033,
0.0055582718849182125,
0.005586944103240967,
0.00557260799407959,
0.005605375766754151,
0.0055285758972167965,
0.005617663860321045,
0.005566463947296142,
0.005553152084350586,
0.005628928184509278,
0.005563392162322998,
0.005576704025268555,
0.005479423999786377,
0.005375999927520752,
0.005393407821655274,
0.005411839962005615,
0.005464064121246338,
0.005533696174621582,
0.005448703765869141,
0.005587967872619629,
0.005568511962890625,
0.005541888236999512,
0.005550079822540284,
0.00550707197189331,
0.005502975940704345,
0.005659647941589355,
0.005553152084350586,
0.005608448028564453,
0.005850111961364746,
0.005900288105010986,
0.006160384178161621,
0.0058726401329040525,
0.0058757119178771975,
0.006811647891998291,
0.006457344055175781,
0.007225344181060791,
0.006048768043518066,
0.005893119812011719,
0.005881855964660645,
0.005886975765228271,
0.005854207992553711,
0.00591871976852417,
0.005846015930175781,
0.005836800098419189,
0.005754879951477051,
0.005784575939178467,
0.005733376026153565,
0.005792768001556397,
0.005776383876800537,
0.005924863815307617,
0.005776383876800537,
0.005727231979370117,
0.005743616104125977,
0.005843967914581299,
0.005848063945770264,
0.005767168045043946,
0.005796864032745362,
0.005776383876800537,
0.005799935817718506,
0.005747712135314941,
0.005757952213287353,
0.005945343971252442,
0.005876736164093017,
0.005931007862091065,
0.005831679821014404,
0.0058716158866882326,
0.005864448070526123,
0.005921792030334472,
0.005803008079528809,
0.005853184223175049,
0.005807104110717773,
0.005886975765228271,
0.005772287845611572,
0.005676032066345215,
0.005827583789825439,
0.005851136207580566,
0.005776383876800537,
0.005677055835723877,
0.005790719985961914,
0.005705728054046631,
0.005542912006378174,
0.005670911788940429,
0.005785600185394287,
0.0056780800819396975,
0.005435391902923584,
0.005608448028564453,
0.005481472015380859,
0.005485568046569824,
0.005639167785644531,
0.005571584224700928,
0.0056258559226989744,
0.005617663860321045,
0.005615615844726562,
0.005793791770935058,
0.005783552169799804,
0.00587059211730957,
0.005545983791351319,
0.005533696174621582,
0.00552243185043335,
0.0055101442337036136,
0.00555622386932373,
0.005486591815948487,
0.0054917120933532714,
0.005574656009674072,
0.005505023956298828,
0.005475327968597412,
0.005538815975189209,
0.005483520030975342,
0.005535744190216065,
0.005495808124542236,
0.005483520030975342,
0.005509119987487793,
0.005469183921813964,
0.005462016105651855,
0.005549056053161621,
0.005443583965301513,
0.005465087890625,
0.005440512180328369,
0.005444608211517334,
0.005482495784759522,
0.005416959762573242,
0.005451776027679443,
0.005442560195922852,
0.005436416149139404,
0.005447679996490478,
0.00547430419921875,
0.005439487934112549,
0.005488639831542969,
0.005425151824951172,
0.005430272102355957,
0.005463039875030518,
0.005449728012084961,
0.005472256183624268,
0.0054568958282470706,
0.005452799797058106,
0.005468160152435303,
0.005482495784759522,
0.0054609918594360355,
0.005501952171325684,
0.005482495784759522,
0.005459968090057373,
0.0054609918594360355,
0.005441535949707031,
0.005459968090057373,
0.005465087890625,
0.005468160152435303,
0.005479423999786377,
0.0054609918594360355,
0.005444608211517334,
0.005506048202514649,
0.005433343887329102,
0.005479423999786377,
0.005494783878326416,
0.005442560195922852,
0.005443583965301513,
0.005475327968597412,
0.0054241280555725096,
0.005463039875030518,
0.00541593599319458,
0.005445631980895996,
0.00546611213684082,
0.0054282240867614745,
0.005462016105651855,
0.005472256183624268,
0.005448703765869141,
0.005472256183624268,
0.005484543800354004,
0.005470208168029785,
0.005465087890625
],
"count": 178,
"total": 1.0017853751182557,
"mean": 0.005628007725383458,
"p50": 0.005551615953445435,
"p90": 0.005871923160552978,
"p95": 0.005919180607795715,
"p99": 0.006538833937644955,
"stdev": 0.00023251218842082241,
"stdev_": 4.13134096053467
},
"throughput": {
"unit": "samples/s",
"value": 177.68276960420593
},
"energy": {
"unit": "kWh",
"cpu": 6.406833325119504e-08,
"ram": 3.49349094115807e-08,
"gpu": 1.2990900476344069e-07,
"total": 2.2891224742621645e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4368486.226680914
}
}
}
}