IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
89a5248 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.583808,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 161,
"total": 1.0048666272163387,
"mean": 0.006241407622461734,
"stdev": 0.00028184645938386844,
"p50": 0.006138879776000977,
"p90": 0.006392831802368164,
"p95": 0.006964223861694336,
"p99": 0.007455948829650879,
"values": [
0.007452672004699707,
0.006964223861694336,
0.007102464199066162,
0.007146495819091797,
0.007117824077606201,
0.006946815967559815,
0.007104512214660645,
0.007460864067077637,
0.006511616230010986,
0.006142975807189942,
0.006161407947540283,
0.006168575763702393,
0.006146048069000244,
0.006115327835083008,
0.006159359931945801,
0.006145023822784424,
0.006136832237243653,
0.0061521921157836916,
0.006113279819488526,
0.006157311916351318,
0.006121471881866455,
0.006174719810485839,
0.006140927791595459,
0.006154240131378174,
0.006497280120849609,
0.006351871967315674,
0.007673855781555176,
0.007229440212249756,
0.00653107213973999,
0.006346752166748047,
0.0063498239517211915,
0.006294528007507324,
0.006364160060882569,
0.006340608119964599,
0.006360064029693604,
0.006235136032104492,
0.006169600009918213,
0.0061521921157836916,
0.006124544143676758,
0.006150144100189209,
0.006114304065704346,
0.006138879776000977,
0.006107135772705078,
0.006127647876739502,
0.006104063987731933,
0.006153215885162353,
0.0060999679565429685,
0.006146048069000244,
0.006103040218353272,
0.0061337599754333495,
0.006100992202758789,
0.0061265921592712404,
0.006100992202758789,
0.006124544143676758,
0.006113279819488526,
0.006124544143676758,
0.006112256050109863,
0.006128640174865723,
0.0061224961280822755,
0.006107135772705078,
0.006131711959838867,
0.00608460807800293,
0.006130688190460205,
0.006100992202758789,
0.006141952037811279,
0.006086656093597412,
0.006128640174865723,
0.006090752124786377,
0.006121471881866455,
0.006091775894165039,
0.006141952037811279,
0.0061224961280822755,
0.006123519897460937,
0.00613478422164917,
0.006109183788299561,
0.006146048069000244,
0.006105088233947754,
0.006153215885162353,
0.006096896171569824,
0.00613478422164917,
0.006107135772705078,
0.006147071838378906,
0.006148096084594727,
0.006187007904052734,
0.0060928001403808595,
0.006313983917236328,
0.006150144100189209,
0.0061337599754333495,
0.00613478422164917,
0.00611737585067749,
0.0061521921157836916,
0.006093855857849121,
0.006148096084594727,
0.006358016014099121,
0.006837247848510742,
0.006801407814025879,
0.006313983917236328,
0.006342656135559082,
0.006331391811370849,
0.006275072097778321,
0.006291456222534179,
0.006107135772705078,
0.0061521921157836916,
0.006095871925354004,
0.006164480209350586,
0.006111231803894043,
0.006135807991027832,
0.006107135772705078,
0.0062638077735900875,
0.006428671836853027,
0.006288383960723877,
0.00633241605758667,
0.0062638077735900875,
0.006392831802368164,
0.0062863359451293946,
0.006325247764587402,
0.006310912132263183,
0.006138879776000977,
0.006121471881866455,
0.006096896171569824,
0.0061224961280822755,
0.006097919940948486,
0.006128640174865723,
0.006114304065704346,
0.006145023822784424,
0.006098944187164307,
0.006157311916351318,
0.006130688190460205,
0.006166528224945069,
0.006148096084594727,
0.0061521921157836916,
0.006146048069000244,
0.006114304065704346,
0.006144000053405762,
0.006110208034515381,
0.006124544143676758,
0.006108160018920898,
0.006130688190460205,
0.006116352081298828,
0.0061265921592712404,
0.006100992202758789,
0.006120448112487793,
0.00608460807800293,
0.006146048069000244,
0.006144000053405762,
0.006114304065704346,
0.006136832237243653,
0.006121471881866455,
0.006172671794891358,
0.006231040000915527,
0.006127615928649902,
0.006108160018920898,
0.006169600009918213,
0.006098944187164307,
0.00612556791305542,
0.006105088233947754,
0.006158336162567139,
0.006100992202758789,
0.006136832237243653,
0.00613478422164917,
0.006109183788299561
]
},
"throughput": {
"unit": "samples/s",
"value": 160.2202676846766
},
"energy": {
"unit": "kWh",
"cpu": 7.600940379030049e-08,
"ram": 4.1459843735184644e-08,
"gpu": 1.489597794649689e-07,
"total": 2.6642902699045405e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3753344.788651085
}
}
}
}