IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
76be58d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.422528, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3703.619584, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07421784210205078 | |
], | |
"count": 1, | |
"total": 0.07421784210205078, | |
"mean": 0.07421784210205078, | |
"p50": 0.07421784210205078, | |
"p90": 0.07421784210205078, | |
"p95": 0.07421784210205078, | |
"p99": 0.07421784210205078, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1223.917568, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 245137.833984, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007057736873626709, | |
0.006561738967895508, | |
0.006628617763519287, | |
0.006576778888702392, | |
0.006615017890930176, | |
0.006625739097595215, | |
0.0066311779022216796, | |
0.0066010990142822265, | |
0.00659869909286499, | |
0.006601257801055908, | |
0.006585419178009033, | |
0.006581737995147705, | |
0.006607179164886475, | |
0.006597259044647217, | |
0.006587338924407959, | |
0.006600298881530762, | |
0.006624618053436279, | |
0.0065906991958618166, | |
0.00665405797958374, | |
0.006589259147644043, | |
0.006647337913513183, | |
0.006623339176177978, | |
0.006644777774810791, | |
0.006647978782653809, | |
0.006641257762908936, | |
0.006659657955169678, | |
0.006647658824920654, | |
0.006627977848052979, | |
0.006646378993988037, | |
0.006615498065948486, | |
0.006620459079742432, | |
0.006661898136138916, | |
0.006658857822418213, | |
0.006647978782653809, | |
0.006679337978363037, | |
0.006605739116668701, | |
0.006635498046875, | |
0.006769897937774658, | |
0.006632139205932617, | |
0.006646058082580566, | |
0.006619338989257813, | |
0.006614058017730713, | |
0.006622058868408203, | |
0.006615977764129638, | |
0.006680778980255127, | |
0.006649097919464111, | |
0.006648938179016114, | |
0.006841417789459229, | |
0.006685258865356446, | |
0.006711658954620362, | |
0.006659657955169678, | |
0.006651019096374512, | |
0.006663978099822998, | |
0.006648138046264649, | |
0.006837738037109375, | |
0.006675178050994873, | |
0.006641738891601563, | |
0.006663817882537842, | |
0.0066524591445922855, | |
0.006630857944488525, | |
0.006652938842773438, | |
0.006667337894439697, | |
0.006670537948608398, | |
0.0066578989028930665, | |
0.006622538089752197, | |
0.0066175789833068845, | |
0.006673898220062256, | |
0.006663978099822998, | |
0.006673418998718262, | |
0.006631978034973144, | |
0.006655179023742676, | |
0.006648938179016114, | |
0.006959016799926758, | |
0.007482056140899658, | |
0.007470695972442627, | |
0.007572295188903809, | |
0.007352457046508789, | |
0.007423975944519043, | |
0.007560135841369629, | |
0.007025257110595703, | |
0.0069492578506469725, | |
0.006866217136383057, | |
0.006994217872619629, | |
0.007018857002258301, | |
0.006930857181549072, | |
0.006921738147735596, | |
0.007245096206665039, | |
0.007042696952819824, | |
0.007000457763671875, | |
0.006930696964263916, | |
0.007067017078399658, | |
0.007051336765289307, | |
0.006987977981567383, | |
0.006813417911529541, | |
0.00704893684387207, | |
0.006991178035736084, | |
0.006995176792144776, | |
0.006759337902069092, | |
0.006671817779541016, | |
0.006705258846282959, | |
0.006683018207550049, | |
0.006641257762908936, | |
0.006678699016571045, | |
0.006659818172454834, | |
0.006685897827148437, | |
0.006677578926086425, | |
0.0066428580284118655, | |
0.006674219131469727, | |
0.006642538070678711, | |
0.0066028590202331545, | |
0.006623817920684815, | |
0.006672617912292481, | |
0.006733098983764649, | |
0.006679337978363037, | |
0.0066855778694152835, | |
0.006644458770751953, | |
0.006701898097991943, | |
0.006671817779541016, | |
0.006644458770751953, | |
0.006621257781982422, | |
0.0066223788261413575, | |
0.006711338043212891, | |
0.006626217842102051, | |
0.006686378955841064, | |
0.006758058071136474, | |
0.00666445779800415, | |
0.006647499084472657, | |
0.006679977893829346, | |
0.006632778167724609, | |
0.006641579151153564, | |
0.006641578197479248, | |
0.006715817928314209, | |
0.006652938842773438, | |
0.006662858009338379, | |
0.006657258987426758, | |
0.0066220579147338865, | |
0.006670699119567871, | |
0.006668138027191162, | |
0.006624777793884277, | |
0.006684298992156982, | |
0.006627498149871826, | |
0.0066457390785217285, | |
0.006635337829589844, | |
0.006655178070068359, | |
0.006650379180908203, | |
0.006647337913513183, | |
0.006654378890991211, | |
0.006654216766357422, | |
0.006628139019012451 | |
], | |
"count": 149, | |
"total": 1.002898664474487, | |
"mean": 0.006730863519963003, | |
"p50": 0.006654378890991211, | |
"p90": 0.006996232986450196, | |
"p95": 0.007063304996490479, | |
"p99": 0.007522657585144044, | |
"stdev": 0.00019925350926237086, | |
"stdev_": 2.960296382052716 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.56934731095194 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |