IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c7f264a
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": "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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 904.552448, | |
"max_global_vram": 875.54048, | |
"max_process_vram": 41228.029952, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.154822265625, | |
"mean": 8.154822265625, | |
"stdev": 0.0, | |
"p50": 8.154822265625, | |
"p90": 8.154822265625, | |
"p95": 8.154822265625, | |
"p99": 8.154822265625, | |
"values": [ | |
8.154822265625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.91808, | |
"max_global_vram": 939.17184, | |
"max_process_vram": 234505.478144, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 1.0052925734519962, | |
"mean": 0.007180661238942827, | |
"stdev": 0.0003812880954494902, | |
"p50": 0.007110219478607177, | |
"p90": 0.0076506340503692625, | |
"p95": 0.007676313257217408, | |
"p99": 0.007905117583274836, | |
"values": [ | |
0.007491978168487548, | |
0.0074961380958557125, | |
0.008201576232910157, | |
0.00689438009262085, | |
0.0070089402198791504, | |
0.0071985387802124025, | |
0.00671806001663208, | |
0.0067923002243042, | |
0.006892940044403076, | |
0.006949100017547607, | |
0.008038216590881348, | |
0.006791339874267578, | |
0.006759180068969727, | |
0.006782700061798095, | |
0.0067579011917114256, | |
0.006769899845123291, | |
0.006785900115966797, | |
0.007034218788146972, | |
0.006755500793457031, | |
0.006844139099121094, | |
0.007039179801940918, | |
0.006869420051574707, | |
0.006891980171203614, | |
0.006843180179595947, | |
0.007045258998870849, | |
0.007116939067840576, | |
0.0068577399253845215, | |
0.006833099842071534, | |
0.0068454198837280275, | |
0.006816460132598877, | |
0.006727180004119873, | |
0.0068076601028442384, | |
0.006777420043945313, | |
0.006775179862976074, | |
0.006783339977264404, | |
0.006794061183929443, | |
0.0067935800552368164, | |
0.006787499904632568, | |
0.006813739776611328, | |
0.006810219764709473, | |
0.006761419773101807, | |
0.007038699150085449, | |
0.006795180797576904, | |
0.006763020038604736, | |
0.006749259948730469, | |
0.00675901985168457, | |
0.007663817882537842, | |
0.00697261905670166, | |
0.006700780868530274, | |
0.0071473388671875, | |
0.007602056980133057, | |
0.006694540977478027, | |
0.006756780147552491, | |
0.006763020038604736, | |
0.007150699138641357, | |
0.007615977764129638, | |
0.007615017890930176, | |
0.007570697784423828, | |
0.007573256969451905, | |
0.007583337783813477, | |
0.007627977848052979, | |
0.007635497093200684, | |
0.007582377910614013, | |
0.007623817920684815, | |
0.007549258232116699, | |
0.0075767779350280765, | |
0.007601576805114746, | |
0.007585577964782715, | |
0.007554058074951172, | |
0.007630218029022217, | |
0.007564938068389893, | |
0.007622857093811036, | |
0.00762349796295166, | |
0.007580458164215088, | |
0.0075874972343444825, | |
0.007620458126068115, | |
0.007667337894439697, | |
0.007618536949157715, | |
0.007661578178405762, | |
0.007617897987365722, | |
0.007614057064056396, | |
0.007682697772979736, | |
0.007591817855834961, | |
0.0076265368461608885, | |
0.007642377853393554, | |
0.007675977230072022, | |
0.007675017833709717, | |
0.007684776782989502, | |
0.007657258033752441, | |
0.0076969370841979984, | |
0.007688777923583984, | |
0.007649898052215576, | |
0.007666057109832764, | |
0.007640458106994629, | |
0.007296137809753418, | |
0.007003819942474366, | |
0.006790860176086426, | |
0.006812139987945557, | |
0.006758379936218262, | |
0.0068003001213073734, | |
0.006822380065917968, | |
0.0068315000534057615, | |
0.006812620162963867, | |
0.006754539966583252, | |
0.006749741077423096, | |
0.007445737838745117, | |
0.007688457012176513, | |
0.007640297889709473, | |
0.007374698162078857, | |
0.0071086201667785644, | |
0.007255659103393554, | |
0.007311338901519775, | |
0.007143818855285645, | |
0.007167338848114014, | |
0.007191019058227539, | |
0.007268138885498047, | |
0.007264617919921875, | |
0.00677485990524292, | |
0.006747021198272705, | |
0.006780779838562011, | |
0.0067812600135803225, | |
0.006812620162963867, | |
0.006773900032043457, | |
0.006869579792022705, | |
0.006796299934387207, | |
0.006768620014190674, | |
0.007626217842102051, | |
0.007636457920074463, | |
0.007570696830749512, | |
0.007590538024902344, | |
0.007088298797607422, | |
0.007010378837585449, | |
0.00715165901184082, | |
0.007119658946990967, | |
0.007127179145812988, | |
0.007085899829864502, | |
0.0070017390251159665, | |
0.00715501880645752, | |
0.007111818790435791, | |
0.007027019023895264 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.26294065742962 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |