IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
01fe11c
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.4.0", | |
"optimum_benchmark_commit": "a4519acdcbbeba6e03efbda65aae011ed2a194fb", | |
"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": 898.187264, | |
"max_global_vram": 875.327488, | |
"max_process_vram": 42000.736256, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.8195048828125, | |
"mean": 6.8195048828125, | |
"stdev": 0.0, | |
"p50": 6.8195048828125, | |
"p90": 6.8195048828125, | |
"p95": 6.8195048828125, | |
"p99": 6.8195048828125, | |
"values": [ | |
6.8195048828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.704448, | |
"max_global_vram": 938.860544, | |
"max_process_vram": 216038.162432, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 1.0035719060897828, | |
"mean": 0.00682701976931825, | |
"stdev": 0.0010546280098202717, | |
"p50": 0.006679388046264648, | |
"p90": 0.006940124988555908, | |
"p95": 0.006994573926925659, | |
"p99": 0.007741933231353752, | |
"values": [ | |
0.0069638690948486326, | |
0.00685106897354126, | |
0.0069997100830078126, | |
0.0071238698959350585, | |
0.007191390991210938, | |
0.00821091365814209, | |
0.00709938907623291, | |
0.007019069194793701, | |
0.006996829986572265, | |
0.006916348934173584, | |
0.0069118690490722655, | |
0.00693890905380249, | |
0.006905789852142334, | |
0.006883869171142578, | |
0.006843708038330078, | |
0.006806108951568603, | |
0.006773149013519287, | |
0.006814268112182617, | |
0.006765307903289795, | |
0.006786909103393555, | |
0.006786588191986084, | |
0.006793148994445801, | |
0.006698428153991699, | |
0.0067693090438842776, | |
0.006636347770690918, | |
0.01940664291381836, | |
0.006894429206848144, | |
0.006674267768859863, | |
0.006679388046264648, | |
0.0066582679748535155, | |
0.006640188217163086, | |
0.006694908142089844, | |
0.006656188011169434, | |
0.006666267871856689, | |
0.006649467945098877, | |
0.006686587810516357, | |
0.0068035488128662105, | |
0.006683867931365967, | |
0.006663547992706299, | |
0.006666108131408692, | |
0.006650107860565186, | |
0.006670268058776856, | |
0.0066625881195068355, | |
0.006683708190917969, | |
0.006663228034973144, | |
0.006692187786102295, | |
0.006663228034973144, | |
0.00668482780456543, | |
0.00665634822845459, | |
0.006676027774810791, | |
0.006666748046875, | |
0.006672028064727783, | |
0.006700347900390625, | |
0.006700347900390625, | |
0.006669148921966552, | |
0.006711708068847656, | |
0.006652987957000732, | |
0.006662268161773682, | |
0.006679388046264648, | |
0.00668482780456543, | |
0.006627868175506592, | |
0.006697469234466553, | |
0.006658748149871826, | |
0.006734747886657715, | |
0.006695228099822998, | |
0.006734269142150879, | |
0.006690587997436524, | |
0.006694108009338379, | |
0.006705148220062256, | |
0.006710587978363037, | |
0.00666242790222168, | |
0.006676988124847412, | |
0.006675067901611328, | |
0.006674588203430176, | |
0.006665307998657227, | |
0.006676187992095947, | |
0.006666748046875, | |
0.006666907787322998, | |
0.006669467926025391, | |
0.006678907871246338, | |
0.006662268161773682, | |
0.006683547973632812, | |
0.006650107860565186, | |
0.006687868118286133, | |
0.006688508033752441, | |
0.006663708209991455, | |
0.00666130781173706, | |
0.0066673879623413085, | |
0.0066816282272338864, | |
0.006674269199371338, | |
0.006650588035583496, | |
0.006700188159942627, | |
0.006664028167724609, | |
0.0066693081855773925, | |
0.006669628143310547, | |
0.006699227809906006, | |
0.006652187824249267, | |
0.00665474796295166, | |
0.006670748233795166, | |
0.006689467906951904, | |
0.006637628078460693, | |
0.006659867763519287, | |
0.0066246681213378905, | |
0.006645788192749023, | |
0.006874749183654785, | |
0.006989309787750244, | |
0.006974908828735351, | |
0.006975230216979981, | |
0.006795708179473877, | |
0.0067101092338562015, | |
0.0068405079841613765, | |
0.006944349765777588, | |
0.006941948890686035, | |
0.006974109172821045, | |
0.0069336299896240235, | |
0.0068288278579711915, | |
0.006704508781433105, | |
0.006829948902130127, | |
0.006839387893676758, | |
0.006743389129638672, | |
0.006811388969421387, | |
0.006843708038330078, | |
0.006761629104614258, | |
0.006770429134368897, | |
0.006645308017730713, | |
0.006647387981414795, | |
0.006634908199310303, | |
0.006675387859344482, | |
0.0066313881874084475, | |
0.006656827926635742, | |
0.0066385879516601565, | |
0.006672028064727783, | |
0.006617948055267334, | |
0.006670107841491699, | |
0.006643228054046631, | |
0.006644827842712402, | |
0.006628347873687744, | |
0.006641147136688233, | |
0.0066350679397583, | |
0.006647548198699951, | |
0.006628987789154053, | |
0.006619227886199951, | |
0.006633627891540528, | |
0.006621627807617187, | |
0.006608987808227539, | |
0.006635387897491455, | |
0.006624028205871582 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.4767986309582 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |