IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8c0edfa verified
raw
history blame
14.1 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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.203712,
"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.1864619140625,
"mean": 7.1864619140625,
"stdev": 0.0,
"p50": 7.1864619140625,
"p90": 7.1864619140625,
"p95": 7.1864619140625,
"p99": 7.1864619140625,
"values": [
7.1864619140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.803333216243321e-07,
"ram": 4.954903087700776e-07,
"gpu": 0.0,
"total": 1.4758236303944097e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.078848,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 192,
"total": 1.003147392272949,
"mean": 0.005224726001421611,
"stdev": 0.00018263908231173006,
"p50": 0.005185535907745361,
"p90": 0.005332889461517334,
"p95": 0.0056818689107894895,
"p99": 0.005981481142044068,
"values": [
0.006056960105895996,
0.005915647983551026,
0.005785600185394287,
0.005974016189575195,
0.005789696216583252,
0.005825535774230957,
0.005817344188690185,
0.005669888019561768,
0.005696512222290039,
0.005754879951477051,
0.006062079906463623,
0.005298175811767578,
0.005032959938049316,
0.005005311965942383,
0.0050432000160217285,
0.005048319816589355,
0.005015552043914795,
0.004989952087402344,
0.0050432000160217285,
0.004992000102996826,
0.0050094079971313476,
0.004984831809997559,
0.0050432000160217285,
0.0050022401809692385,
0.004992000102996826,
0.004980735778808594,
0.005000192165374756,
0.00496230411529541,
0.004988927841186524,
0.0055920639038085935,
0.005112832069396973,
0.005193727970123291,
0.005475327968597412,
0.005302271842956543,
0.005183487892150879,
0.00515993595123291,
0.005184512138366699,
0.005154816150665284,
0.00516096019744873,
0.005156864166259765,
0.005158912181854248,
0.005149695873260498,
0.005178368091583252,
0.005227519989013672,
0.005203968048095703,
0.005201920032501221,
0.005223423957824707,
0.005180416107177735,
0.0052715520858764645,
0.00521727991104126,
0.0052070398330688475,
0.005182464122772217,
0.005182464122772217,
0.00520908784866333,
0.005183487892150879,
0.005179391860961914,
0.005215231895446777,
0.0051784319877624515,
0.005175295829772949,
0.005169151782989502,
0.005194752216339111,
0.005163008213043213,
0.005158912181854248,
0.0052008957862854,
0.005197824001312256,
0.005178368091583252,
0.005178368091583252,
0.005249023914337158,
0.005172224044799805,
0.005130239963531494,
0.005256192207336426,
0.005154816150665284,
0.0051968002319335935,
0.005214208126068115,
0.005171199798583984,
0.005178368091583252,
0.005279744148254394,
0.005230591773986816,
0.005167103767395019,
0.005164031982421875,
0.00520908784866333,
0.005155839920043945,
0.005183487892150879,
0.005197824001312256,
0.00516812801361084,
0.005144576072692871,
0.005213183879852295,
0.005145599842071533,
0.005145599842071533,
0.005132287979125977,
0.005163008213043213,
0.005165056228637695,
0.005150720119476319,
0.005216256141662597,
0.005182464122772217,
0.0051363840103149415,
0.005141503810882568,
0.005183487892150879,
0.005224448204040527,
0.0051333122253417966,
0.005157887935638428,
0.0051363840103149415,
0.005129216194152832,
0.005126143932342529,
0.005198847770690918,
0.005220352172851562,
0.005195775985717774,
0.005189631938934326,
0.005198847770690918,
0.005141503810882568,
0.005204991817474365,
0.005156864166259765,
0.005149695873260498,
0.005154816150665284,
0.005186560153961181,
0.00515174388885498,
0.005141503810882568,
0.005185535907745361,
0.005153791904449463,
0.005155839920043945,
0.005141503810882568,
0.005163008213043213,
0.005146687984466553,
0.005148672103881836,
0.005254144191741943,
0.0052674560546875,
0.005228544235229492,
0.005257215976715088,
0.005246975898742676,
0.0052336640357971195,
0.005260287761688232,
0.005344255924224854,
0.005284863948822022,
0.005232639789581299,
0.005296127796173096,
0.005257215976715088,
0.005197824001312256,
0.005274623870849609,
0.005189631938934326,
0.005188608169555664,
0.005258240222930908,
0.005187583923339844,
0.005202943801879883,
0.0052111358642578124,
0.005313536167144775,
0.005221375942230225,
0.00516812801361084,
0.005281792163848877,
0.005202943801879883,
0.005210112094879151,
0.005288959980010987,
0.00530841588973999,
0.005256192207336426,
0.005321728229522705,
0.005182464122772217,
0.005210112094879151,
0.005322751998901368,
0.0052715520858764645,
0.005285888195037842,
0.005375999927520752,
0.005277696132659912,
0.005179391860961914,
0.005245952129364013,
0.00535756778717041,
0.005190656185150146,
0.005185535907745361,
0.005241856098175048,
0.0051660799980163576,
0.005189631938934326,
0.00522649621963501,
0.005181439876556396,
0.005178368091583252,
0.005261312007904053,
0.005179391860961914,
0.005219327926635742,
0.0051660799980163576,
0.0053340158462524415,
0.005178368091583252,
0.005115903854370117,
0.005099520206451416,
0.0050503678321838375,
0.005067776203155518,
0.005100543975830078,
0.005187583923339844,
0.00506879997253418,
0.00506879997253418,
0.005090303897857666,
0.005054463863372802,
0.005403647899627686,
0.005463039875030518,
0.005612544059753418,
0.005191679954528809
]
},
"throughput": {
"unit": "samples/s",
"value": 191.39759668313843
},
"energy": {
"unit": "kWh",
"cpu": 6.343844934558193e-08,
"ram": 3.4532663223485035e-08,
"gpu": 1.3977404798936268e-07,
"total": 2.377451605584296e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4206184.460920854
}
}
}
}