{ "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": "94ccda0ad71bebc72e235e85dbfd6165ea4a634c", "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.441216, "max_global_vram": 3161.935872, "max_process_vram": 50137.43616, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 8.044673828125, "mean": 8.044673828125, "stdev": 0.0, "p50": 8.044673828125, "p90": 8.044673828125, "p95": 8.044673828125, "p99": 8.044673828125, "values": [ 8.044673828125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1018.08128, "max_global_vram": 3225.481216, "max_process_vram": 252243.890176, "max_reserved": 589.299712, "max_allocated": 439.456768 }, "latency": { "unit": "s", "count": 138, "total": 1.0050585994720453, "mean": 0.00728303332950758, "stdev": 0.0004116705757489758, "p50": 0.0072061455249786376, "p90": 0.007673743867874146, "p95": 0.007716272068023682, "p99": 0.008593430576324461, "values": [ 0.007387664794921875, 0.007545905113220215, 0.00759966516494751, 0.0074097452163696285, 0.007373105049133301, 0.007315024852752685, 0.007253904819488525, 0.007152306079864502, 0.007094386100769043, 0.007091986179351807, 0.007275344848632813, 0.007111985206604004, 0.007011345863342285, 0.007014225959777832, 0.007013906002044678, 0.007025744915008545, 0.006979825973510742, 0.00701870584487915, 0.0071993451118469234, 0.006983185768127441, 0.007010705947875976, 0.007032626152038575, 0.007019824981689453, 0.007008786201477051, 0.0070094261169433595, 0.007054066181182862, 0.0070444650650024416, 0.007134545803070069, 0.007180944919586181, 0.0073081450462341305, 0.007270386219024658, 0.007394865036010743, 0.0074212651252746585, 0.007839663982391358, 0.00787230396270752, 0.007839824199676514, 0.008702062606811523, 0.009166702270507813, 0.007694704055786133, 0.007675983905792236, 0.0076707048416137695, 0.007634543895721436, 0.007639985084533691, 0.007699664115905762, 0.007661105155944824, 0.007617584228515625, 0.007667665004730225, 0.0076508641242980955, 0.007646224021911621, 0.0076823849678039555, 0.007663663864135742, 0.007212945938110352, 0.007363184928894043, 0.007246224880218506, 0.007171345233917236, 0.007275986194610596, 0.007111505031585693, 0.006848306179046631, 0.006987346172332764, 0.0068326258659362794, 0.006818865776062012, 0.006997426033020019, 0.007029905796051026, 0.007035505771636963, 0.007032625198364258, 0.006911826133728027, 0.006914226055145264, 0.007189745903015137, 0.007021424770355225, 0.006994706153869629, 0.006860785961151123, 0.006843026161193848, 0.006846065998077393, 0.00684894609451294, 0.00681486701965332, 0.0068276658058166505, 0.006799985885620117, 0.00682542610168457, 0.006848306179046631, 0.006835186004638672, 0.006843505859375, 0.0068271861076354984, 0.0068651061058044435, 0.006865266799926758, 0.006831185817718506, 0.006820946216583252, 0.00680302619934082, 0.006839985847473144, 0.006798865795135498, 0.006840946197509766, 0.006796466827392578, 0.006824625968933106, 0.006775025844573975, 0.006905265808105469, 0.0068748660087585445, 0.006787665843963623, 0.006806546211242675, 0.006800305843353271, 0.0068137459754943844, 0.007075826168060303, 0.006801745891571045, 0.0068417458534240725, 0.0067940659523010255, 0.007283825874328614, 0.0078103837966918945, 0.007676303863525391, 0.008408462524414063, 0.007697743892669678, 0.0076401448249816895, 0.007625423908233643, 0.0076255850791931154, 0.007601264953613281, 0.007611824035644531, 0.007624464988708496, 0.0076183838844299315, 0.007632305145263672, 0.007635983943939209, 0.007615345001220703, 0.00765070390701294, 0.007602544784545898, 0.007600624084472657, 0.007607985019683838, 0.0076129441261291505, 0.0076419048309326176, 0.007667344093322754, 0.007626544952392578, 0.007626383781433105, 0.007653425216674805, 0.00758350419998169, 0.00761662483215332, 0.007590864181518555, 0.0076854248046875, 0.007645264148712159, 0.0076587052345275875, 0.007615024089813232, 0.007619345188140869, 0.0076203041076660155, 0.0076727838516235354 ] }, "throughput": { "unit": "samples/s", "value": 137.30542684027674 }, "energy": null, "efficiency": null } } }