IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c2918df
verified
{ | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "0aac0108c378c328492774ddb431ea89a3c2b507", | |
"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": 899.231744, | |
"max_global_vram": 875.339776, | |
"max_process_vram": 43697.54112, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.82044873046875, | |
"mean": 6.82044873046875, | |
"stdev": 0.0, | |
"p50": 6.82044873046875, | |
"p90": 6.82044873046875, | |
"p95": 6.82044873046875, | |
"p99": 6.82044873046875, | |
"values": [ | |
6.82044873046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1019.056128, | |
"max_global_vram": 938.876928, | |
"max_process_vram": 231506.116608, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9990117015838627, | |
"mean": 0.007455311205849719, | |
"stdev": 0.0048132440047098084, | |
"p50": 0.007005584478378296, | |
"p90": 0.007142512321472168, | |
"p95": 0.0073015120506286614, | |
"p99": 0.015496773405074936, | |
"values": [ | |
0.0071633439064025875, | |
0.006903504848480225, | |
0.007025263786315918, | |
0.00693054485321045, | |
0.006977583885192871, | |
0.008066222190856934, | |
0.007245264053344727, | |
0.006940464973449707, | |
0.00684638500213623, | |
0.0069070239067077635, | |
0.007276144027709961, | |
0.007075184822082519, | |
0.007348622798919678, | |
0.007336143970489502, | |
0.0073910231590271, | |
0.00708334493637085, | |
0.007282864093780517, | |
0.007583183765411377, | |
0.007027504920959472, | |
0.007061583995819092, | |
0.007103024005889892, | |
0.007034385204315185, | |
0.007073264122009277, | |
0.0070572648048400875, | |
0.007060783863067627, | |
0.007086063861846924, | |
0.007077263832092285, | |
0.019156597137451173, | |
0.0070396637916564945, | |
0.007142065048217773, | |
0.007069744110107422, | |
0.007120304107666016, | |
0.007060624122619629, | |
0.007084144115447998, | |
0.007065744876861573, | |
0.0070515041351318355, | |
0.0071107039451599125, | |
0.007071664810180664, | |
0.0070582242012023925, | |
0.007077904224395752, | |
0.00708606481552124, | |
0.007098383903503418, | |
0.007076943874359131, | |
0.007123983860015869, | |
0.007042864799499512, | |
0.007050064086914063, | |
0.007099823951721191, | |
0.007068785190582275, | |
0.0070630240440368655, | |
0.006996623992919922, | |
0.0070145449638366695, | |
0.007108463764190674, | |
0.007053744792938232, | |
0.007099664211273194, | |
0.007061423778533936, | |
0.007110383987426758, | |
0.00708606481552124, | |
0.007085103988647461, | |
0.007066864013671875, | |
0.007102704048156739, | |
0.007118545055389404, | |
0.007128943920135498, | |
0.007144783973693848, | |
0.007116623878479004, | |
0.007049264907836914, | |
0.007142704010009765, | |
0.007137584209442139, | |
0.007116144180297852, | |
0.0071273441314697265, | |
0.007153744220733642, | |
0.007101105213165283, | |
0.007101103782653808, | |
0.007070543766021728, | |
0.0615715446472168, | |
0.006890223979949951, | |
0.006840944766998291, | |
0.006811824798583985, | |
0.006954225063323974, | |
0.006919504165649414, | |
0.006953585147857666, | |
0.006958065032958985, | |
0.006936944007873535, | |
0.006936785221099854, | |
0.006716145038604736, | |
0.006726544857025146, | |
0.00675902509689331, | |
0.006685744762420654, | |
0.006590546131134033, | |
0.006732625007629394, | |
0.006652784824371338, | |
0.00670014476776123, | |
0.006773904800415039, | |
0.0067724652290344235, | |
0.006698064804077149, | |
0.006755185127258301, | |
0.006758065223693848, | |
0.006730225086212158, | |
0.006638064861297608, | |
0.006644625186920166, | |
0.00670318603515625, | |
0.006709744930267334, | |
0.006688944816589356, | |
0.006711504936218262, | |
0.006753264904022217, | |
0.006931184768676758, | |
0.0068979039192199705, | |
0.00693534517288208, | |
0.006978384017944336, | |
0.006868464946746826, | |
0.006739984989166259, | |
0.006654705047607422, | |
0.006738386154174805, | |
0.0067767839431762695, | |
0.006735506057739257, | |
0.00682590389251709, | |
0.006892304897308349, | |
0.00671982479095459, | |
0.006627346038818359, | |
0.006807983875274658, | |
0.006697586059570312, | |
0.00671758508682251, | |
0.006748945236206055, | |
0.00662206506729126, | |
0.006645585060119629, | |
0.006629105091094971, | |
0.00669358491897583, | |
0.006871984004974365, | |
0.006873585224151611, | |
0.006879664897918701, | |
0.006908464908599854, | |
0.006674065113067627, | |
0.006757424831390381, | |
0.006719985008239746, | |
0.006691504955291748 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.13256299956495 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |