IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0a56de8
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": "2c8ab57de1af767ec2e6a2cf774f52cea6a0db26", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1009.311744, | |
"max_global_vram": 938.909696, | |
"max_process_vram": 205757.452288, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0026716241836546, | |
"mean": 0.007318770979442736, | |
"stdev": 0.0005138692506440674, | |
"p50": 0.007515862941741943, | |
"p90": 0.007723094844818115, | |
"p95": 0.007748375034332275, | |
"p99": 0.007826294994354246, | |
"values": [ | |
0.007711223125457764, | |
0.007739383220672608, | |
0.007739383220672608, | |
0.0076910629272460935, | |
0.007760822772979736, | |
0.0077497830390930176, | |
0.007764342784881592, | |
0.00771602201461792, | |
0.007718903064727783, | |
0.007693943023681641, | |
0.007651223182678223, | |
0.00769122314453125, | |
0.007688023090362549, | |
0.007688982963562012, | |
0.0077480230331420895, | |
0.007689143180847168, | |
0.007727222919464111, | |
0.007674743175506591, | |
0.007723863124847412, | |
0.007051381111145019, | |
0.006781779766082764, | |
0.007301941871643066, | |
0.007747542858123779, | |
0.00769730281829834, | |
0.007712182998657227, | |
0.0073531408309936526, | |
0.007515862941741943, | |
0.007058101177215576, | |
0.006857619762420654, | |
0.007698102951049805, | |
0.007667063236236572, | |
0.00763682222366333, | |
0.007631223201751709, | |
0.007623063087463379, | |
0.007665623188018799, | |
0.007592341899871826, | |
0.007664982795715332, | |
0.0076624231338500975, | |
0.00768306303024292, | |
0.00766578197479248, | |
0.007673142910003662, | |
0.007672342777252197, | |
0.0076483430862426755, | |
0.007688823223114013, | |
0.007682743072509765, | |
0.0076885027885437015, | |
0.007715863227844238, | |
0.007645142078399658, | |
0.007720182895660401, | |
0.007704662799835205, | |
0.007699862957000732, | |
0.0076905832290649415, | |
0.007708982944488525, | |
0.0076934628486633305, | |
0.007752023220062256, | |
0.007674102783203125, | |
0.007722902774810791, | |
0.0076923432350158695, | |
0.007710903167724609, | |
0.0076464228630065915, | |
0.007723382949829102, | |
0.00768114185333252, | |
0.00775986385345459, | |
0.010805952072143554, | |
0.007861143112182617, | |
0.007558423042297363, | |
0.00757138204574585, | |
0.007585622787475586, | |
0.007523861885070801, | |
0.007541462898254394, | |
0.007572822093963623, | |
0.007613943099975586, | |
0.007007861137390136, | |
0.006702420234680176, | |
0.006729300022125244, | |
0.006725460052490234, | |
0.006690579891204834, | |
0.006657939910888672, | |
0.006725299835205078, | |
0.006695059776306153, | |
0.006771059989929199, | |
0.006716020107269287, | |
0.0069429011344909666, | |
0.0066883392333984375, | |
0.0067446608543395995, | |
0.006853779792785644, | |
0.007473782062530517, | |
0.00672785997390747, | |
0.006744019985198975, | |
0.0067315402030944825, | |
0.006724020004272461, | |
0.006717780113220215, | |
0.006673620223999023, | |
0.006677460193634033, | |
0.006734099864959717, | |
0.007349620819091797, | |
0.00757330322265625, | |
0.00749058198928833, | |
0.007160662174224853, | |
0.006994900226593018, | |
0.0070333008766174316, | |
0.007036500930786132, | |
0.007023860931396484, | |
0.007239222049713135, | |
0.007107700824737549, | |
0.007131540775299072, | |
0.006931701183319092, | |
0.006960340976715088, | |
0.007053781032562256, | |
0.007382262229919434, | |
0.007636981964111328, | |
0.007569783210754395, | |
0.00740434217453003, | |
0.006951701164245605, | |
0.007124660968780517, | |
0.007117140769958496, | |
0.006996500968933106, | |
0.006982420921325684, | |
0.0071301012039184574, | |
0.007101621150970459, | |
0.007104980945587158, | |
0.006961940765380859, | |
0.006883059978485108, | |
0.00672737979888916, | |
0.006709939956665039, | |
0.006716340065002441, | |
0.0067393798828125, | |
0.006732981204986572, | |
0.006693138122558594, | |
0.006715380191802979, | |
0.006740661144256592, | |
0.006673779010772705, | |
0.006697939872741699, | |
0.00668593978881836, | |
0.006681459903717041, | |
0.006685619831085205, | |
0.0067172999382019045 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.6349627292398 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |