IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5547b57 verified
raw
history blame
14 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-211.872.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 783.925248,
"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.38853369140625,
"mean": 7.38853369140625,
"stdev": 0.0,
"p50": 7.38853369140625,
"p90": 7.38853369140625,
"p95": 7.38853369140625,
"p99": 7.38853369140625,
"values": [
7.38853369140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.170163138890075e-07,
"ram": 4.868468279886667e-07,
"gpu": 0.0,
"total": 1.4038631418776742e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1039.507456,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 190,
"total": 1.0040926418304443,
"mean": 0.005284698114897075,
"stdev": 0.00015439334515650481,
"p50": 0.005235712051391602,
"p90": 0.005398630475997925,
"p95": 0.005647923159599303,
"p99": 0.005886156797409057,
"values": [
0.005810175895690918,
0.005883903980255127,
0.005798912048339844,
0.005666816234588623,
0.0057190399169921875,
0.005904384136199951,
0.005657599925994873,
0.00566476821899414,
0.005636096000671387,
0.006368256092071533,
0.005440512180328369,
0.005265408039093018,
0.0052899842262268066,
0.00521830415725708,
0.005288959980010987,
0.005281792163848877,
0.0052336640357971195,
0.005219327926635742,
0.005277696132659912,
0.00521727991104126,
0.005215231895446777,
0.0052408318519592285,
0.00522649621963501,
0.005214208126068115,
0.005239808082580567,
0.005259263992309571,
0.005221375942230225,
0.005228544235229492,
0.005235712051391602,
0.00521017599105835,
0.005230591773986816,
0.005257215976715088,
0.005242879867553711,
0.005268479824066162,
0.0054271998405456545,
0.00535145616531372,
0.005285888195037842,
0.005246975898742676,
0.0052336640357971195,
0.0052070398330688475,
0.005235712051391602,
0.00521830415725708,
0.005216256141662597,
0.005235712051391602,
0.005230591773986816,
0.0052367358207702636,
0.005250048160552978,
0.005216256141662597,
0.005238783836364746,
0.005194752216339111,
0.0052633600234985355,
0.005224448204040527,
0.005216256141662597,
0.005239808082580567,
0.005246975898742676,
0.005212160110473632,
0.005429247856140137,
0.0053637118339538575,
0.005437439918518067,
0.005286911964416504,
0.005221375942230225,
0.00520908784866333,
0.005227519989013672,
0.005212160110473632,
0.005206016063690186,
0.005179391860961914,
0.005281792163848877,
0.005202943801879883,
0.005206016063690186,
0.005253119945526123,
0.005213183879852295,
0.005206016063690186,
0.005215231895446777,
0.005178368091583252,
0.005185535907745361,
0.005243904113769531,
0.005216256141662597,
0.005246975898742676,
0.005246975898742676,
0.005250048160552978,
0.00522649621963501,
0.0052408318519592285,
0.005253119945526123,
0.005238783836364746,
0.00521727991104126,
0.005197824001312256,
0.0052008957862854,
0.005257215976715088,
0.005398528099060058,
0.005352447986602784,
0.0053637118339538575,
0.00537497615814209,
0.005661695957183838,
0.005195775985717774,
0.005243904113769531,
0.005195775985717774,
0.005210112094879151,
0.00520908784866333,
0.005232639789581299,
0.005193727970123291,
0.0051968002319335935,
0.00521830415725708,
0.00521830415725708,
0.005175295829772949,
0.005220352172851562,
0.005288959980010987,
0.005399551868438721,
0.005210112094879151,
0.005328896045684814,
0.005380095958709717,
0.005273600101470947,
0.005202943801879883,
0.005208064079284668,
0.00521727991104126,
0.005206016063690186,
0.005175295829772949,
0.0051998720169067385,
0.005228544235229492,
0.005201920032501221,
0.005192704200744629,
0.005261312007904053,
0.005189631938934326,
0.005198847770690918,
0.005251071929931641,
0.005311488151550293,
0.005191679954528809,
0.0052336640357971195,
0.0051998720169067385,
0.00522547197341919,
0.005183487892150879,
0.005543935775756836,
0.005321728229522705,
0.005339136123657226,
0.005385216236114502,
0.00537497615814209,
0.005369855880737305,
0.005390336036682129,
0.005352447986602784,
0.005408768177032471,
0.005368832111358642,
0.005386240005493164,
0.005443583965301513,
0.005368832111358642,
0.005346303939819336,
0.005392384052276611,
0.005362688064575195,
0.0053504638671875,
0.0053821439743042,
0.005384191989898681,
0.005347328186035156,
0.0053944320678710935,
0.005384191989898681,
0.005362688064575195,
0.005276671886444092,
0.005246975898742676,
0.005198847770690918,
0.005238783836364746,
0.005216256141662597,
0.005252096176147461,
0.005249023914337158,
0.0052336640357971195,
0.0051998720169067385,
0.005244927883148193,
0.005269504070281982,
0.0052295680046081545,
0.00522547197341919,
0.005269504070281982,
0.005220352172851562,
0.005252096176147461,
0.005213183879852295,
0.005173247814178467,
0.0051363840103149415,
0.005195775985717774,
0.00516096019744873,
0.005157887935638428,
0.005121024131774903,
0.005171199798583984,
0.005259263992309571,
0.005137407779693603,
0.005158912181854248,
0.00516812801361084,
0.0051404800415039064,
0.005149695873260498,
0.005173247814178467,
0.0051333122253417966,
0.005132351875305176,
0.005174272060394287,
0.005172224044799805,
0.005251071929931641,
0.005192704200744629
]
},
"throughput": {
"unit": "samples/s",
"value": 189.22556752694965
},
"energy": {
"unit": "kWh",
"cpu": 6.34463401515157e-08,
"ram": 3.4688997389059944e-08,
"gpu": 1.302125224705909e-07,
"total": 2.2834786001116654e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4379283.431651598
}
}
}
}