IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7cffdd2 verified
raw
history blame
13.6 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"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": 714.010624,
"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.20483447265625,
"mean": 7.20483447265625,
"stdev": 0.0,
"p50": 7.20483447265625,
"p90": 7.20483447265625,
"p95": 7.20483447265625,
"p99": 7.20483447265625,
"values": [
7.20483447265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.887182050281103e-07,
"ram": 4.910180654815121e-07,
"gpu": 1.659445772000251e-06,
"total": 3.1391820425098734e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.270784,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 180,
"total": 1.0005832295417783,
"mean": 0.005558795719676547,
"stdev": 0.0002363446744491869,
"p50": 0.0056202239990234375,
"p90": 0.005801369667053223,
"p95": 0.005866956877708435,
"p99": 0.0060089957571029685,
"values": [
0.005916672229766846,
0.00616755199432373,
0.00592793607711792,
0.005955584049224853,
0.005848063945770264,
0.005966847896575928,
0.005815296173095703,
0.005897215843200684,
0.005806079864501953,
0.0058757119178771975,
0.005715968132019043,
0.005667840003967285,
0.005799935817718506,
0.00571289587020874,
0.005787648200988769,
0.005591040134429932,
0.00561356782913208,
0.005619711875915527,
0.005634047985076904,
0.005451776027679443,
0.005441535949707031,
0.0057292799949646,
0.005810175895690918,
0.005732351779937744,
0.005763072013854981,
0.005667840003967285,
0.005733376026153565,
0.005806079864501953,
0.005898240089416504,
0.005743616104125977,
0.005791744232177734,
0.005773312091827393,
0.00573747205734253,
0.005763072013854981,
0.005699584007263184,
0.005751808166503906,
0.005691391944885254,
0.005798912048339844,
0.0057077760696411135,
0.005620736122131348,
0.005631999969482422,
0.005540863990783691,
0.005699584007263184,
0.005639167785644531,
0.0056145920753479005,
0.005639167785644531,
0.0056555519104003905,
0.005699584007263184,
0.005681151866912842,
0.005791744232177734,
0.005740543842315674,
0.005727231979370117,
0.005797887802124023,
0.005705728054046631,
0.005774335861206055,
0.005626880168914795,
0.00571289587020874,
0.005766143798828125,
0.005725215911865234,
0.005692416191101074,
0.005723135948181152,
0.005764095783233642,
0.005733376026153565,
0.005702655792236328,
0.005635072231292724,
0.00566374397277832,
0.00566374397277832,
0.005684224128723145,
0.005866496086120605,
0.005617663860321045,
0.005662720203399658,
0.005662720203399658,
0.0056780800819396975,
0.005679103851318359,
0.005608448028564453,
0.005725183963775635,
0.005626880168914795,
0.005706751823425293,
0.005810175895690918,
0.005805056095123291,
0.005789696216583252,
0.0057077760696411135,
0.005836800098419189,
0.005709824085235596,
0.0057784318923950195,
0.0057118721008300784,
0.005699584007263184,
0.0056483840942382815,
0.0056483840942382815,
0.005761023998260498,
0.005597184181213379,
0.005650432109832764,
0.005500927925109863,
0.005399551868438721,
0.005646336078643799,
0.005638144016265869,
0.005538847923278809,
0.005395455837249756,
0.00535859203338623,
0.005342207908630371,
0.005565440177917481,
0.005431295871734619,
0.0058009600639343266,
0.006865920066833496,
0.00570470380783081,
0.005609471797943116,
0.005724160194396972,
0.0057825279235839844,
0.005604351997375488,
0.005449728012084961,
0.005413887977600097,
0.005362688064575195,
0.0053340158462524415,
0.00530841588973999,
0.005359615802764893,
0.005328896045684814,
0.005332992076873779,
0.005444608211517334,
0.0053340158462524415,
0.005327871799468994,
0.005391359806060791,
0.005702655792236328,
0.005340159893035889,
0.005377024173736572,
0.005319680213928223,
0.005325823783874512,
0.005445631980895996,
0.005328896045684814,
0.005395455837249756,
0.005471231937408447,
0.005385216236114502,
0.0053309440612792965,
0.005395455837249756,
0.005356544017791748,
0.005265408039093018,
0.005347328186035156,
0.005314559936523438,
0.005346303939819336,
0.00521830415725708,
0.0052633600234985355,
0.005272575855255127,
0.00526643180847168,
0.00521727991104126,
0.005234687805175781,
0.00522547197341919,
0.005204991817474365,
0.005245952129364013,
0.005282815933227539,
0.005252096176147461,
0.005202943801879883,
0.005242879867553711,
0.005186560153961181,
0.005272575855255127,
0.005310463905334473,
0.005320703983306885,
0.0053002238273620605,
0.005305344104766845,
0.005352447986602784,
0.0052971520423889164,
0.005286911964416504,
0.005406720161437988,
0.005302271842956543,
0.005295104026794434,
0.005296127796173096,
0.005302271842956543,
0.005256192207336426,
0.005329919815063477,
0.005328896045684814,
0.005275648117065429,
0.005325823783874512,
0.005299200057983398,
0.005288959980010987,
0.005338111877441406,
0.005329919815063477,
0.005288959980010987,
0.005336063861846924,
0.005310463905334473,
0.005276671886444092,
0.005348351955413819,
0.005285888195037842
]
},
"throughput": {
"unit": "samples/s",
"value": 179.89507987499633
},
"energy": {
"unit": "kWh",
"cpu": 6.251122345004165e-08,
"ram": 3.417824710698413e-08,
"gpu": 1.235278766000065e-07,
"total": 2.202173471570323e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4540968.333829402
}
}
}
}