IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3a73c78
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": {}, | |
"hub_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": "bc4d55acdaf328bd5108ceb452b0f0a0c042200e", | |
"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": 896.589824, | |
"max_global_vram": 875.331584, | |
"max_process_vram": 45256.716288, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.57312 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.07611962890625, | |
"mean": 7.07611962890625, | |
"stdev": 0.0, | |
"p50": 7.07611962890625, | |
"p90": 7.07611962890625, | |
"p95": 7.07611962890625, | |
"p99": 7.07611962890625, | |
"values": [ | |
7.07611962890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.09472, | |
"max_global_vram": 938.872832, | |
"max_process_vram": 218240.55296, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 1.0018562030792237, | |
"mean": 0.006815348320266828, | |
"stdev": 0.00029075210880886136, | |
"p50": 0.0067199749946594235, | |
"p90": 0.007058598041534424, | |
"p95": 0.007099333953857421, | |
"p99": 0.008035401506423944, | |
"values": [ | |
0.007004134178161621, | |
0.006789576053619384, | |
0.006812775135040283, | |
0.006767815113067627, | |
0.006837096214294434, | |
0.006899814128875733, | |
0.006820456027984619, | |
0.006871494770050049, | |
0.006793574810028076, | |
0.006809094905853272, | |
0.007055015087127686, | |
0.007033254146575928, | |
0.006749896049499512, | |
0.006743975162506103, | |
0.006727816104888916, | |
0.006731975078582764, | |
0.006714216232299805, | |
0.006742694854736328, | |
0.006723495960235595, | |
0.006708775997161865, | |
0.0067199749946594235, | |
0.006694215774536133, | |
0.0067247748374938965, | |
0.0067252559661865234, | |
0.006737414836883545, | |
0.006693575859069824, | |
0.006724936008453369, | |
0.006691655158996582, | |
0.008402370452880859, | |
0.006779654979705811, | |
0.006500297069549561, | |
0.006676616191864014, | |
0.006472775936126709, | |
0.0064882969856262206, | |
0.00644925594329834, | |
0.006466376781463623, | |
0.006455656051635742, | |
0.007379814147949219, | |
0.00900268840789795, | |
0.006701254844665527, | |
0.0068850951194763185, | |
0.006643015861511231, | |
0.00666541576385498, | |
0.006834855079650879, | |
0.006650216102600097, | |
0.006912135124206543, | |
0.006859495162963867, | |
0.0069022150039672854, | |
0.006887654781341553, | |
0.006855494976043701, | |
0.0066799759864807125, | |
0.006866535186767578, | |
0.006878855228424072, | |
0.006650856018066406, | |
0.00686317491531372, | |
0.0068759751319885255, | |
0.0067218952178955075, | |
0.0071145339012146, | |
0.0068052558898925785, | |
0.006738534927368164, | |
0.006930534839630127, | |
0.00669757604598999, | |
0.007058693885803223, | |
0.006699336051940918, | |
0.006690855026245117, | |
0.006685736179351806, | |
0.006707496166229248, | |
0.006645576000213623, | |
0.006721254825592041, | |
0.006696775913238525, | |
0.006669896125793457, | |
0.006720455169677735, | |
0.006688936233520508, | |
0.00671949577331543, | |
0.006659335136413575, | |
0.006707015991210937, | |
0.006651656150817871, | |
0.006680935859680176, | |
0.006712134838104248, | |
0.006710375785827637, | |
0.006716135025024414, | |
0.006688776016235351, | |
0.006716296195983886, | |
0.006705894947052002, | |
0.006722055912017823, | |
0.006719336032867431, | |
0.006680614948272705, | |
0.006715176105499268, | |
0.006673575878143311, | |
0.006687015056610107, | |
0.006709256172180176, | |
0.006685416221618653, | |
0.006666215896606445, | |
0.006651655197143554, | |
0.0067510161399841305, | |
0.006646215915679932, | |
0.006700136184692383, | |
0.006695015907287598, | |
0.006684295177459717, | |
0.006669735908508301, | |
0.0067289361953735355, | |
0.0066625351905822755, | |
0.006722536087036133, | |
0.006709415912628174, | |
0.006699015140533447, | |
0.0066964559555053715, | |
0.006820775032043457, | |
0.006720615863800049, | |
0.006659175872802734, | |
0.006689895153045655, | |
0.0066823759078979495, | |
0.006708295822143555, | |
0.006666214942932129, | |
0.006703335762023926, | |
0.006695015907287598, | |
0.00670765495300293, | |
0.006671016216278076, | |
0.006659175872802734, | |
0.007055654048919678, | |
0.007369574069976807, | |
0.006920613765716553, | |
0.007064135074615479, | |
0.00709485387802124, | |
0.007015174865722657, | |
0.006976453781127929, | |
0.007049574851989746, | |
0.007058534145355224, | |
0.007039813995361328, | |
0.006970534801483155, | |
0.00700893497467041, | |
0.007071333885192871, | |
0.006872135162353516, | |
0.006665895938873291, | |
0.0066346960067749025, | |
0.0066396560668945314, | |
0.006671175003051758, | |
0.006661896228790283, | |
0.006713736057281494, | |
0.006684774875640869, | |
0.007034853935241699, | |
0.007532773017883301, | |
0.007604611873626709, | |
0.007092294216156006, | |
0.0070178952217102054, | |
0.007087974071502685, | |
0.007101253986358642, | |
0.007090054035186768 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.7276436959643 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |