IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b0362a0 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03",
"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": 898.19136,
"max_global_vram": 875.327488,
"max_process_vram": 42426.126336,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.10894140625,
"mean": 7.10894140625,
"stdev": 0.0,
"p50": 7.10894140625,
"p90": 7.10894140625,
"p95": 7.10894140625,
"p99": 7.10894140625,
"values": [
7.10894140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.9584,
"max_global_vram": 938.86464,
"max_process_vram": 223558.279168,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0035409073829649,
"mean": 0.007272035560746124,
"stdev": 0.0004903771081218881,
"p50": 0.007041333436965943,
"p90": 0.007912305974960326,
"p95": 0.008061018323898316,
"p99": 0.008277431364059448,
"values": [
0.007998050212860108,
0.007950370788574218,
0.008076930046081543,
0.008058210372924805,
0.008122209548950196,
0.008317568778991698,
0.008209089279174804,
0.008116769790649413,
0.007974689960479736,
0.0079722900390625,
0.008152130126953126,
0.007904449939727783,
0.007853411197662353,
0.007839651107788085,
0.0078046112060546876,
0.007919809818267821,
0.007830211162567139,
0.007903651237487793,
0.007817251205444336,
0.007853890895843506,
0.007786691188812256,
0.007764610767364502,
0.007859970092773437,
0.007852450847625732,
0.00905772590637207,
0.00804284954071045,
0.0077065320014953614,
0.007719171047210693,
0.007658851146697998,
0.007710371971130371,
0.007641571044921875,
0.0077220511436462405,
0.007604132175445557,
0.00770141077041626,
0.007661891937255859,
0.007651970863342285,
0.0076447720527648925,
0.007673251152038574,
0.0076305317878723146,
0.007707011222839355,
0.0076092519760131835,
0.007633731842041015,
0.007755811214447021,
0.0076871709823608395,
0.007625892162322998,
0.007650530815124511,
0.007665892124176025,
0.007679330825805664,
0.007607972145080567,
0.00773357105255127,
0.007652612209320069,
0.007657890796661377,
0.0074439730644226074,
0.0069873337745666505,
0.006862053871154785,
0.0068215751647949215,
0.006834053993225097,
0.006844295024871826,
0.006878374099731445,
0.006773735046386719,
0.006883493900299072,
0.006866855144500732,
0.006820613861083984,
0.00685661506652832,
0.006779494762420654,
0.00682957410812378,
0.006827014923095703,
0.006839173793792725,
0.006820934772491455,
0.006838214874267578,
0.006792453765869141,
0.0068871750831604,
0.00686285400390625,
0.006866055011749268,
0.006854534149169922,
0.0068740549087524415,
0.006813893795013428,
0.006843494892120361,
0.006875174045562744,
0.0068281350135803226,
0.006883334159851074,
0.006881575107574463,
0.006853894233703613,
0.006881255149841309,
0.006858374118804932,
0.00689341402053833,
0.006869414806365967,
0.006870053768157959,
0.0068618950843811035,
0.0068113341331481935,
0.006873254776000977,
0.006852613925933838,
0.0068263750076293945,
0.006860293865203857,
0.006903655052185058,
0.0068263750076293945,
0.006843335151672363,
0.00773789119720459,
0.007373732089996338,
0.007058534145355224,
0.00714797306060791,
0.0071318140029907225,
0.007140452861785889,
0.0070161337852478025,
0.007508292198181153,
0.0071476540565490725,
0.007909090042114257,
0.007203013896942139,
0.0070879731178283695,
0.007028934001922608,
0.007132294178009033,
0.007209414005279541,
0.007179172992706298,
0.007080934047698975,
0.007053732872009277,
0.007016294002532959,
0.006872614860534668,
0.00684429407119751,
0.006868295192718506,
0.006860933780670166,
0.0067841348648071285,
0.006818854808807373,
0.0067665338516235355,
0.006836295127868652,
0.00679597520828247,
0.006829093933105468,
0.006793415069580078,
0.006863494873046875,
0.006789895057678222,
0.006812933921813965,
0.006767974853515625,
0.0068809337615966795,
0.006782694816589356,
0.006822374820709229,
0.006798854827880859,
0.006834855079650879,
0.006779015064239502,
0.006785734176635742
]
},
"throughput": {
"unit": "samples/s",
"value": 137.51307892358523
},
"energy": null,
"efficiency": null
}
}
}