IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b4f7066 verified
raw
history blame
14.3 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.43.4",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.977856,
"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.19387255859375,
"mean": 7.19387255859375,
"stdev": 0.0,
"p50": 7.19387255859375,
"p90": 7.19387255859375,
"p95": 7.19387255859375,
"p99": 7.19387255859375,
"values": [
7.19387255859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.227864798609809e-07,
"ram": 4.894563901974788e-07,
"gpu": 0.0,
"total": 1.4122428700584598e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.033216,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 198,
"total": 1.0003916454315185,
"mean": 0.005052483057734942,
"stdev": 0.00023926620656031434,
"p50": 0.004937727928161621,
"p90": 0.005304217624664307,
"p95": 0.005562982320785522,
"p99": 0.005923153662681579,
"values": [
0.005919712066650391,
0.006034431934356689,
0.005864448070526123,
0.005858304023742676,
0.005777408123016357,
0.005725183963775635,
0.005681151866912842,
0.006242303848266601,
0.005320703983306885,
0.0049725441932678225,
0.004929535865783692,
0.004908031940460205,
0.004890624046325683,
0.004911104202270508,
0.004899839878082276,
0.004872191905975342,
0.0048895998001098635,
0.004894720077514648,
0.004910079956054687,
0.0049387521743774416,
0.004898816108703613,
0.004892672061920166,
0.004902912139892578,
0.004910079956054687,
0.004897791862487793,
0.004887551784515381,
0.004891647815704346,
0.004936704158782959,
0.004897791862487793,
0.004863999843597412,
0.004881408214569092,
0.004900864124298096,
0.004929535865783692,
0.004900864124298096,
0.0048895998001098635,
0.004893695831298828,
0.004977663993835449,
0.0048865280151367185,
0.004877312183380127,
0.004869120121002197,
0.004880383968353271,
0.004890624046325683,
0.004878335952758789,
0.004869120121002197,
0.004895743846893311,
0.004888576030731201,
0.004876287937164306,
0.004880383968353271,
0.004869120121002197,
0.004898816108703613,
0.004884479999542236,
0.00486195182800293,
0.004853759765625,
0.004865024089813232,
0.0049090561866760255,
0.0048568320274353025,
0.004857855796813965,
0.004863999843597412,
0.004877312183380127,
0.004899839878082276,
0.005411839962005615,
0.005128191947937012,
0.005048319816589355,
0.00511078405380249,
0.0050841598510742185,
0.005079040050506592,
0.005075967788696289,
0.005061632156372071,
0.00506982421875,
0.005049344062805176,
0.004890624046325683,
0.004937727928161621,
0.004877312183380127,
0.004876287937164306,
0.004907008171081543,
0.0048527359962463375,
0.004882431983947754,
0.00486195182800293,
0.0048793601989746095,
0.0048895998001098635,
0.004897791862487793,
0.004887551784515381,
0.004883456230163574,
0.0049459199905395506,
0.0048752641677856446,
0.0048558077812194825,
0.0048558077812194825,
0.0048558077812194825,
0.004903935909271241,
0.00487116813659668,
0.004838399887084961,
0.004869120121002197,
0.004878335952758789,
0.004894720077514648,
0.004865024089813232,
0.004860928058624267,
0.004873216152191162,
0.004931583881378174,
0.004937727928161621,
0.004981760025024414,
0.004960256099700928,
0.004980735778808594,
0.004893695831298828,
0.004899839878082276,
0.004876287937164306,
0.004882431983947754,
0.00491315221786499,
0.004882431983947754,
0.0048895998001098635,
0.004901887893676758,
0.004899839878082276,
0.0049203200340270994,
0.004874239921569825,
0.004882431983947754,
0.004887551784515381,
0.004908031940460205,
0.004876287937164306,
0.004866047859191895,
0.004924416065216064,
0.005437439918518067,
0.005131264209747314,
0.005102591991424561,
0.004937727928161621,
0.004881408214569092,
0.0048855037689208985,
0.004851712226867676,
0.004853759765625,
0.004891647815704346,
0.0048752641677856446,
0.004955135822296143,
0.005331967830657959,
0.005193727970123291,
0.005181439876556396,
0.005201920032501221,
0.005361663818359375,
0.005121024131774903,
0.005127168178558349,
0.005134335994720459,
0.005158912181854248,
0.005130239963531494,
0.005167103767395019,
0.005181439876556396,
0.005142528057098389,
0.005127168178558349,
0.005129216194152832,
0.0051363840103149415,
0.0051036162376403805,
0.005116928100585938,
0.005141503810882568,
0.005116928100585938,
0.005091328144073487,
0.005128191947937012,
0.005134335994720459,
0.005122047901153564,
0.005131264209747314,
0.005132287979125977,
0.005116928100585938,
0.005092351913452148,
0.005141503810882568,
0.005132287979125977,
0.0051036162376403805,
0.005096447944641113,
0.00555622386932373,
0.005099520206451416,
0.005130239963531494,
0.005097472190856934,
0.005128191947937012,
0.0051138558387756345,
0.005124095916748047,
0.005111807823181152,
0.005117951869964599,
0.005122047901153564,
0.005127168178558349,
0.005181439876556396,
0.005506048202514649,
0.005601280212402344,
0.005618688106536865,
0.0052971520423889164,
0.005346303939819336,
0.005552127838134766,
0.005295104026794434,
0.005228544235229492,
0.005169151782989502,
0.005124095916748047,
0.0051435518264770505,
0.005285888195037842,
0.0051435518264770505,
0.005161983966827393,
0.005198847770690918,
0.005111807823181152,
0.005153791904449463,
0.005155839920043945,
0.005091328144073487,
0.0051138558387756345,
0.005123072147369385,
0.00511897611618042,
0.005371903896331787,
0.005195775985717774
]
},
"throughput": {
"unit": "samples/s",
"value": 197.92248456312606
},
"energy": {
"unit": "kWh",
"cpu": 6.059073172123072e-08,
"ram": 3.312838553173707e-08,
"gpu": 1.2578241355102116e-07,
"total": 2.1950153080398897e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4555776.88382038
}
}
}
}