IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1e1ad00
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": "8ebe8531a5b12ea7926cab66905381c76b24fcc4", | |
"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": 1010.720768, | |
"max_global_vram": 938.897408, | |
"max_process_vram": 205756.379136, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0022569980621336, | |
"mean": 0.007315744511402437, | |
"stdev": 0.00033651219114432315, | |
"p50": 0.007327847003936768, | |
"p90": 0.00748349494934082, | |
"p95": 0.007500967597961426, | |
"p99": 0.00791646827697753, | |
"values": [ | |
0.007089127063751221, | |
0.007324007034301758, | |
0.007377767086029053, | |
0.0070944070816040036, | |
0.007418568134307861, | |
0.007305127143859863, | |
0.00726384687423706, | |
0.0072876877784729, | |
0.007100487232208252, | |
0.007283687114715576, | |
0.007191047191619873, | |
0.00718032693862915, | |
0.007162567138671875, | |
0.007238246917724609, | |
0.007430247783660889, | |
0.007150887012481689, | |
0.007182726860046387, | |
0.007133286952972412, | |
0.007095207214355468, | |
0.007085607051849365, | |
0.006927846908569336, | |
0.0071635270118713375, | |
0.007178727149963379, | |
0.007193286895751953, | |
0.007360007762908936, | |
0.007457447052001953, | |
0.007256486892700195, | |
0.010434571266174317, | |
0.007504967212677002, | |
0.007428008079528809, | |
0.007506086826324463, | |
0.0073755278587341305, | |
0.007498726844787597, | |
0.00748272705078125, | |
0.007514088153839111, | |
0.007481767177581787, | |
0.007500487804412842, | |
0.0075028867721557615, | |
0.007459847927093506, | |
0.007465607166290284, | |
0.00748256778717041, | |
0.007444807052612305, | |
0.007484646797180175, | |
0.007471047878265381, | |
0.0074712071418762205, | |
0.007462567806243896, | |
0.007495847225189209, | |
0.007497447967529297, | |
0.007420327186584473, | |
0.007478247165679932, | |
0.007123847007751465, | |
0.007395847797393799, | |
0.007174567222595215, | |
0.0072582468986511234, | |
0.007474088191986084, | |
0.00744832706451416, | |
0.0074240069389343265, | |
0.007154407024383545, | |
0.007275368213653564, | |
0.007418406963348389, | |
0.00717984676361084, | |
0.007324166774749756, | |
0.007257607936859131, | |
0.007414886951446533, | |
0.007327847003936768, | |
0.007080807209014893, | |
0.007287528038024902, | |
0.00725456714630127, | |
0.006837926864624024, | |
0.007135207176208496, | |
0.007150567054748535, | |
0.0071115269660949705, | |
0.007199687004089355, | |
0.007183366775512695, | |
0.006782247066497803, | |
0.006966247081756592, | |
0.007055047035217285, | |
0.007353766918182373, | |
0.007214087009429932, | |
0.007198246955871582, | |
0.007086087226867676, | |
0.0068363270759582515, | |
0.0070302472114562985, | |
0.007069927215576172, | |
0.00701984691619873, | |
0.006885286808013916, | |
0.00813920783996582, | |
0.007469448089599609, | |
0.0070564870834350585, | |
0.007245767116546631, | |
0.007472967147827149, | |
0.0074764881134033205, | |
0.0074809670448303224, | |
0.0074547271728515625, | |
0.007491528034210205, | |
0.007457447052001953, | |
0.007436488151550293, | |
0.007461767196655273, | |
0.007380807876586914, | |
0.007217287063598633, | |
0.007092166900634766, | |
0.007432967185974121, | |
0.007454728126525879, | |
0.00745216703414917, | |
0.007468327045440674, | |
0.007463528156280518, | |
0.007153127193450928, | |
0.007392807006835938, | |
0.007474408149719238, | |
0.007441446781158447, | |
0.007445607185363769, | |
0.007434408187866211, | |
0.007479526996612549, | |
0.007405288219451904, | |
0.007520486831665039, | |
0.007500008106231689, | |
0.00744176721572876, | |
0.007438247203826904, | |
0.007473127841949463, | |
0.007414566993713379, | |
0.007412487983703613, | |
0.007456167221069336, | |
0.007443367004394531, | |
0.007359208106994629, | |
0.0072177667617797855, | |
0.007117766857147217, | |
0.007150567054748535, | |
0.007152966976165772, | |
0.007274086952209473, | |
0.006695527076721192, | |
0.006987687110900879, | |
0.007208326816558838, | |
0.00728736686706543, | |
0.0068937668800354, | |
0.006970086097717285, | |
0.0070974469184875485, | |
0.006726087093353272 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.69148757742755 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |