IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cb16459
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": {}, | |
"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": "8bf68d01ce920e01ece8935a1cc6d7e3f17c2d2b", | |
"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": 898.428928, | |
"max_global_vram": 875.319296, | |
"max_process_vram": 47915.491328, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.8942939453125, | |
"mean": 7.8942939453125, | |
"stdev": 0.0, | |
"p50": 7.8942939453125, | |
"p90": 7.8942939453125, | |
"p95": 7.8942939453125, | |
"p99": 7.8942939453125, | |
"values": [ | |
7.8942939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.618432, | |
"max_global_vram": 938.86464, | |
"max_process_vram": 219077.476352, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 1.0009910035133363, | |
"mean": 0.007049232419108002, | |
"stdev": 0.00024115932762082916, | |
"p50": 0.006954113006591797, | |
"p90": 0.00732745475769043, | |
"p95": 0.007645860028266906, | |
"p99": 0.007890263719558716, | |
"values": [ | |
0.007328910827636719, | |
0.007146192073822021, | |
0.00710971212387085, | |
0.007314350128173828, | |
0.007060752868652344, | |
0.006997073173522949, | |
0.007554348945617676, | |
0.007036912918090821, | |
0.006925872802734375, | |
0.006962353229522705, | |
0.00715067195892334, | |
0.006954513072967529, | |
0.00692939281463623, | |
0.006890994071960449, | |
0.0069281129837036135, | |
0.006930832862854004, | |
0.006920753002166748, | |
0.0069071540832519535, | |
0.006851792812347412, | |
0.006926514148712158, | |
0.006921553134918213, | |
0.007002033233642578, | |
0.006982992172241211, | |
0.006990832805633545, | |
0.00701403284072876, | |
0.007024752140045166, | |
0.0069757928848266605, | |
0.007040593147277832, | |
0.006924273014068604, | |
0.007044112205505371, | |
0.006946513175964356, | |
0.006976753234863281, | |
0.006971473217010498, | |
0.006965073108673095, | |
0.008036425590515137, | |
0.007371311187744141, | |
0.006948273181915283, | |
0.0069116330146789555, | |
0.0071143522262573245, | |
0.007219951152801513, | |
0.0072053918838500975, | |
0.007218831062316895, | |
0.007131152153015137, | |
0.007125872135162354, | |
0.007158191204071045, | |
0.007246510982513428, | |
0.007056912899017334, | |
0.006867312908172608, | |
0.00691227388381958, | |
0.006896432876586914, | |
0.007101712226867676, | |
0.007148111820220947, | |
0.0071975507736206056, | |
0.0072380309104919435, | |
0.0071271519660949705, | |
0.007114672183990479, | |
0.007102831840515137, | |
0.007238990783691406, | |
0.007224431991577148, | |
0.0071962718963623044, | |
0.007135632038116455, | |
0.007170190811157226, | |
0.007253070831298828, | |
0.007299631118774414, | |
0.007175951957702637, | |
0.0071505107879638674, | |
0.006978672981262207, | |
0.006900594234466552, | |
0.006822992801666259, | |
0.006950833797454834, | |
0.00685499382019043, | |
0.0069428329467773435, | |
0.006890674114227295, | |
0.006878993034362793, | |
0.00688651418685913, | |
0.0068645930290222165, | |
0.006849073886871338, | |
0.006852593898773194, | |
0.006931793212890625, | |
0.006856433868408203, | |
0.006826513767242431, | |
0.006963313102722168, | |
0.006901712894439698, | |
0.006884274005889893, | |
0.006837872982025146, | |
0.0068575539588928225, | |
0.006853553771972656, | |
0.006930353164672852, | |
0.006865873813629151, | |
0.00690043306350708, | |
0.007034352779388428, | |
0.006953712940216065, | |
0.006881553173065186, | |
0.007396749973297119, | |
0.00701451301574707, | |
0.006913393020629883, | |
0.006955152988433838, | |
0.0069028339385986326, | |
0.00695995283126831, | |
0.007250511169433594, | |
0.007673707962036133, | |
0.007673068046569824, | |
0.007704108238220215, | |
0.007650187969207764, | |
0.00769898796081543, | |
0.007732428073883056, | |
0.007999946117401123, | |
0.0072185111045837405, | |
0.007225552082061768, | |
0.007101232051849365, | |
0.007563629150390625, | |
0.007301870822906494, | |
0.007427470207214355, | |
0.007350029945373535, | |
0.006805233955383301, | |
0.006912913799285889, | |
0.006832913875579834, | |
0.00689659309387207, | |
0.006823634147644043, | |
0.006907473087310791, | |
0.0068380341529846195, | |
0.006906192779541015, | |
0.006853553771972656, | |
0.006894673824310303, | |
0.006904432773590088, | |
0.006894352912902832, | |
0.006875473976135254, | |
0.0068746738433837894, | |
0.006836593151092529, | |
0.0068386740684509275, | |
0.00681835412979126, | |
0.006892754077911377, | |
0.006814833164215088, | |
0.0068479528427124025, | |
0.006917873859405518, | |
0.0068412327766418455, | |
0.0069100341796875, | |
0.00687259292602539, | |
0.006847794055938721, | |
0.006881073951721191, | |
0.006820754051208496, | |
0.006860272884368896 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.85941681953202 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |