IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1367142
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", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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", | |
"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.2.0", | |
"optimum_benchmark_commit": "bb03882362b0d86ebdf2f3e66d54ac5dde388b89", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1005.740032, | |
"max_global_vram": 930.578432, | |
"max_process_vram": 254322.343936, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9993476376533508, | |
"mean": 0.007687289520410392, | |
"stdev": 0.00040338416415069137, | |
"p50": 0.0074984700679779056, | |
"p90": 0.008191524982452392, | |
"p95": 0.008207077121734619, | |
"p99": 0.008294501266479492, | |
"values": [ | |
0.0089969482421875, | |
0.007719190120697022, | |
0.007616310119628906, | |
0.007622069835662841, | |
0.007615190029144287, | |
0.007490869998931885, | |
0.007330550193786621, | |
0.0075670299530029295, | |
0.008252148628234863, | |
0.008199189186096191, | |
0.008202230453491211, | |
0.008191028594970702, | |
0.008167669296264649, | |
0.008172948837280274, | |
0.008170389175415039, | |
0.008177109718322754, | |
0.008160148620605469, | |
0.008188629150390625, | |
0.008146868705749512, | |
0.008155829429626464, | |
0.00810750961303711, | |
0.00815182876586914, | |
0.00818190860748291, | |
0.008156469345092773, | |
0.008169268608093262, | |
0.008168950080871581, | |
0.00813774871826172, | |
0.008191349029541016, | |
0.00816110897064209, | |
0.008127509117126465, | |
0.008147669792175292, | |
0.008153589248657226, | |
0.008208949089050293, | |
0.008193108558654785, | |
0.008252469062805176, | |
0.008199989318847656, | |
0.008204789161682128, | |
0.008167349815368652, | |
0.008140149116516114, | |
0.008176149368286133, | |
0.00822046947479248, | |
0.008187349319458009, | |
0.008179509162902832, | |
0.008162710189819336, | |
0.007679348945617676, | |
0.0076782298088073735, | |
0.007984149932861328, | |
0.007790548801422119, | |
0.007818389892578125, | |
0.007728149890899658, | |
0.007990068912506103, | |
0.00779679012298584, | |
0.007865909099578858, | |
0.007821269989013672, | |
0.007931509971618652, | |
0.007506070137023926, | |
0.007311669826507569, | |
0.007343830108642578, | |
0.0073343911170959475, | |
0.007339190006256104, | |
0.00728046989440918, | |
0.0072639908790588376, | |
0.007355030059814453, | |
0.007312469959259034, | |
0.007306230068206787, | |
0.007345591068267822, | |
0.007346869945526123, | |
0.007308469772338867, | |
0.007356630802154541, | |
0.007363510131835937, | |
0.0073529500961303715, | |
0.007339829921722412, | |
0.007317750930786133, | |
0.007372950077056885, | |
0.007398550033569336, | |
0.007326231002807617, | |
0.007310389995574951, | |
0.00726239013671875, | |
0.007329590797424316, | |
0.007268149852752686, | |
0.007316470146179199, | |
0.007265110969543457, | |
0.007377749919891358, | |
0.007323669910430908, | |
0.007286070823669433, | |
0.0073326311111450194, | |
0.007297269821166992, | |
0.0073107099533081055, | |
0.0073129510879516605, | |
0.00734542989730835, | |
0.007323190212249756, | |
0.007370871067047119, | |
0.007263350009918213, | |
0.007263669967651367, | |
0.0073257508277893065, | |
0.007272150039672852, | |
0.00732574987411499, | |
0.0072995109558105465, | |
0.007282390117645264, | |
0.007347350120544434, | |
0.007327351093292236, | |
0.007257269859313965, | |
0.007338230133056641, | |
0.0073398308753967285, | |
0.007300310134887696, | |
0.007239990234375, | |
0.007326231002807617, | |
0.008191028594970702, | |
0.008153268814086914, | |
0.008183348655700683, | |
0.007785109996795654, | |
0.007737269878387451, | |
0.007777109146118164, | |
0.007775829792022705, | |
0.007348309993743896, | |
0.0072995109558105465, | |
0.007308949947357177, | |
0.007257269859313965, | |
0.00732879114151001, | |
0.007334229946136475, | |
0.007337430000305176, | |
0.00736846923828125, | |
0.007336471080780029, | |
0.007340950012207031, | |
0.007357749938964844, | |
0.007403030872344971, | |
0.00819438934326172, | |
0.00831166934967041, | |
0.008235508918762208, | |
0.007882870197296143 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.08486246614194 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |