IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1c8140b
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": "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, | |
"latency": true, | |
"memory": 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": "c895bf73a88625eb69457460ea71175ef52a6cb9", | |
"transformers_version": "4.42.3", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.393728, | |
"max_global_vram": 938.786816, | |
"max_process_vram": 155271.172096, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.6928 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.0033530168533327, | |
"mean": 0.0077181001296410204, | |
"stdev": 0.0003552667134184834, | |
"p50": 0.007705174684524536, | |
"p90": 0.007862949991226196, | |
"p95": 0.007894646000862123, | |
"p99": 0.008869856872558588, | |
"values": [ | |
0.008319012641906738, | |
0.0074807748794555665, | |
0.007969414234161377, | |
0.00785245418548584, | |
0.008088772773742675, | |
0.007837093830108643, | |
0.00786397409439087, | |
0.007904294013977051, | |
0.007806534767150879, | |
0.007827653884887695, | |
0.007858694076538086, | |
0.00784973382949829, | |
0.007812774181365967, | |
0.007821094989776612, | |
0.007842854022979736, | |
0.007873573780059814, | |
0.007839173793792724, | |
0.00786285400390625, | |
0.007867013931274414, | |
0.007882853984832764, | |
0.007859333992004395, | |
0.007870375156402588, | |
0.007857573986053466, | |
0.007793573856353759, | |
0.010812604904174804, | |
0.0077786951065063475, | |
0.007700613975524902, | |
0.007652454853057862, | |
0.0076367750167846676, | |
0.007863813877105713, | |
0.007684774875640869, | |
0.007649575233459473, | |
0.007642213821411133, | |
0.0077127752304077144, | |
0.0076770949363708495, | |
0.007706054210662842, | |
0.007639494895935059, | |
0.007660775184631347, | |
0.007656294822692871, | |
0.007693735122680664, | |
0.007808613777160645, | |
0.007688614845275879, | |
0.0077190141677856445, | |
0.007701254844665527, | |
0.007679174900054932, | |
0.007664773941040039, | |
0.007624454975128174, | |
0.007700614929199219, | |
0.007677734851837158, | |
0.00764317512512207, | |
0.0077030138969421385, | |
0.007663654804229736, | |
0.007655974864959717, | |
0.007680775165557862, | |
0.007671333789825439, | |
0.0076942148208618165, | |
0.007670535087585449, | |
0.007672454833984375, | |
0.0077140541076660156, | |
0.00773005485534668, | |
0.0077310137748718265, | |
0.007737895011901855, | |
0.00769565486907959, | |
0.007703814029693603, | |
0.007640775203704834, | |
0.007658054828643799, | |
0.007736615180969238, | |
0.007655974864959717, | |
0.007753735065460205, | |
0.007703973770141602, | |
0.007757414817810058, | |
0.007666214942932129, | |
0.007721253871917725, | |
0.007714375019073487, | |
0.00770429515838623, | |
0.007730053901672363, | |
0.0076698951721191405, | |
0.0076575751304626466, | |
0.007737574100494385, | |
0.007715974807739258, | |
0.007717895030975342, | |
0.007718373775482177, | |
0.007733095169067383, | |
0.007728454113006592, | |
0.007766055107116699, | |
0.007768293857574463, | |
0.007758055210113525, | |
0.007719813823699951, | |
0.007779335021972656, | |
0.007783013820648194, | |
0.007764295101165771, | |
0.007758533954620362, | |
0.007721574783325196, | |
0.007695494174957275, | |
0.007752295017242432, | |
0.007640775203704834, | |
0.007683014869689942, | |
0.0076857352256774905, | |
0.0076596541404724125, | |
0.007725574970245361, | |
0.007664134979248047, | |
0.007736454010009766, | |
0.007718854904174804, | |
0.0076820549964904785, | |
0.009094849586486816, | |
0.008104453086853028, | |
0.007727973937988282, | |
0.00768365478515625, | |
0.007642055034637451, | |
0.0076575751304626466, | |
0.007686055183410644, | |
0.007776773929595947, | |
0.00770765495300293, | |
0.007758374214172363, | |
0.007235496044158935, | |
0.007330855846405029, | |
0.007268936157226563, | |
0.00711501693725586, | |
0.007209095954895019, | |
0.007271495819091797, | |
0.007303656101226807, | |
0.0072710151672363285, | |
0.007685255050659179, | |
0.00725981616973877, | |
0.007437575817108155, | |
0.007186855792999268, | |
0.007118056774139405, | |
0.007441575050354004, | |
0.007000617027282715, | |
0.00715261697769165 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.56556447869139 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |