IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8d538eb
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"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.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.477888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50807.681024, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7697158203125, | |
"mean": 8.7697158203125, | |
"stdev": 0.0, | |
"p50": 8.7697158203125, | |
"p90": 8.7697158203125, | |
"p95": 8.7697158203125, | |
"p99": 8.7697158203125, | |
"values": [ | |
8.7697158203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1199.136768, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 237584.236544, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9991668825149537, | |
"mean": 0.007086289946914564, | |
"stdev": 0.0003189375328668593, | |
"p50": 0.006910093784332275, | |
"p90": 0.007736495971679688, | |
"p95": 0.007785615921020508, | |
"p99": 0.007817616653442383, | |
"values": [ | |
0.007448336124420166, | |
0.007078254222869873, | |
0.006829454898834229, | |
0.006826893806457519, | |
0.0068097739219665524, | |
0.006865293979644776, | |
0.006827054977416992, | |
0.006799054145812988, | |
0.007798096179962158, | |
0.006858893871307373, | |
0.006876655101776123, | |
0.006838573932647705, | |
0.006998254776000977, | |
0.006885933876037598, | |
0.00681697416305542, | |
0.006855374813079834, | |
0.006866414070129395, | |
0.007054415225982666, | |
0.006841773986816406, | |
0.006861454010009766, | |
0.0068334550857543945, | |
0.006850574016571045, | |
0.006912174224853515, | |
0.006861135005950928, | |
0.006860174179077148, | |
0.00702257490158081, | |
0.0068537740707397465, | |
0.0068542537689208986, | |
0.006983695030212403, | |
0.007325775146484375, | |
0.007181775093078613, | |
0.006901454925537109, | |
0.006903213977813721, | |
0.00686337423324585, | |
0.0068192148208618165, | |
0.006869614124298096, | |
0.006878253936767578, | |
0.00682833480834961, | |
0.006850734233856202, | |
0.006852973937988281, | |
0.006834253787994384, | |
0.006858253955841064, | |
0.006874094009399414, | |
0.006855534076690674, | |
0.006871214866638184, | |
0.007104175090789795, | |
0.006905613899230957, | |
0.007071215152740479, | |
0.007087695121765137, | |
0.007099853992462158, | |
0.007158895015716552, | |
0.0068993749618530276, | |
0.006869614124298096, | |
0.006930415153503418, | |
0.006872653961181641, | |
0.0068756937980651855, | |
0.007052975177764893, | |
0.0069131340980529785, | |
0.006862575054168701, | |
0.007088654994964599, | |
0.006872973918914795, | |
0.006917774200439453, | |
0.006910894870758057, | |
0.0068916940689086915, | |
0.007454256057739258, | |
0.006978414058685303, | |
0.007367536067962647, | |
0.0068897738456726075, | |
0.006860494136810303, | |
0.007151054859161377, | |
0.006934414863586426, | |
0.006910093784332275, | |
0.00717217493057251, | |
0.006908014774322509, | |
0.006885933876037598, | |
0.006907693862915039, | |
0.006859214782714844, | |
0.007250575065612793, | |
0.006959373950958252, | |
0.006906254768371582, | |
0.006871694087982177, | |
0.006928015232086182, | |
0.007152335166931152, | |
0.00715921401977539, | |
0.0073617749214172365, | |
0.00722561502456665, | |
0.007238574981689453, | |
0.007344494819641114, | |
0.006988975048065185, | |
0.0069094538688659664, | |
0.006909134864807129, | |
0.0068824138641357425, | |
0.007056654930114746, | |
0.006876813888549805, | |
0.006921935081481934, | |
0.007033295154571533, | |
0.006895214080810547, | |
0.006885134220123291, | |
0.0069000148773193356, | |
0.006875053882598877, | |
0.006914255142211914, | |
0.006863853931427002, | |
0.006844173908233642, | |
0.00687377405166626, | |
0.006899213790893555, | |
0.0068611340522766115, | |
0.006870415210723877, | |
0.006953773975372314, | |
0.006816654205322265, | |
0.006879855155944825, | |
0.006887053966522217, | |
0.006862093925476074, | |
0.006925614833831787, | |
0.006903533935546875, | |
0.007033615112304687, | |
0.007464176177978516, | |
0.007708176136016846, | |
0.007809455871582031, | |
0.007878896236419677, | |
0.007380176067352295, | |
0.007454575061798096, | |
0.007737296104431152, | |
0.00776673698425293, | |
0.007781775951385498, | |
0.007793935775756836, | |
0.007759696006774903, | |
0.007730576992034912, | |
0.007736495971679688, | |
0.0077128162384033205, | |
0.007728655815124511, | |
0.0077225761413574215, | |
0.007785615921020508, | |
0.007745456218719482, | |
0.007823057174682617, | |
0.007773775100708008, | |
0.007793776035308838, | |
0.00780769681930542, | |
0.007285614967346191, | |
0.007314734935760498, | |
0.007182415008544922, | |
0.007265934944152832 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.11756751294226 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |