IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
dbf6f80
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": "b6683a24439f2dd9ea7e05cec40bf36c11a71f7a", | |
"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.347008, | |
"max_global_vram": 1160.093696, | |
"max_process_vram": 45671.694336, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.28969873046875, | |
"mean": 7.28969873046875, | |
"stdev": 0.0, | |
"p50": 7.28969873046875, | |
"p90": 7.28969873046875, | |
"p95": 7.28969873046875, | |
"p99": 7.28969873046875, | |
"values": [ | |
7.28969873046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1018.179584, | |
"max_global_vram": 1223.630848, | |
"max_process_vram": 238262.792192, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.0045290589332583, | |
"mean": 0.007847883272916079, | |
"stdev": 0.00010372567542761972, | |
"p50": 0.007819506883621215, | |
"p90": 0.007984674978256225, | |
"p95": 0.008021314764022828, | |
"p99": 0.008134639177322387, | |
"values": [ | |
0.008042866706848145, | |
0.008015187263488769, | |
0.00801902675628662, | |
0.007978705883026124, | |
0.007990386962890625, | |
0.008022546768188477, | |
0.007926547050476074, | |
0.008003347396850586, | |
0.007920466899871826, | |
0.007946546077728272, | |
0.008108627319335938, | |
0.007910706996917725, | |
0.007889906883239746, | |
0.007893746852874755, | |
0.007987027168273925, | |
0.007909266948699952, | |
0.007983666896820068, | |
0.00793406581878662, | |
0.007922546863555908, | |
0.007929266929626465, | |
0.00801198673248291, | |
0.008111347198486328, | |
0.008136626243591308, | |
0.008129266738891602, | |
0.007926386833190918, | |
0.00783870792388916, | |
0.007789906978607178, | |
0.00779854679107666, | |
0.007773266792297363, | |
0.007789426803588867, | |
0.007756786823272705, | |
0.007727986812591553, | |
0.007799508094787598, | |
0.007743506908416748, | |
0.007803027153015137, | |
0.007758546829223633, | |
0.007786706924438476, | |
0.007782066822052002, | |
0.00784382677078247, | |
0.007765428066253662, | |
0.00779854679107666, | |
0.007773266792297363, | |
0.0078068671226501464, | |
0.007845586776733398, | |
0.007770866870880127, | |
0.00782574701309204, | |
0.007791667938232422, | |
0.007919506072998047, | |
0.007801427841186524, | |
0.007801587104797363, | |
0.007777106761932373, | |
0.007870546817779541, | |
0.007802387237548828, | |
0.007824626922607422, | |
0.007812787055969238, | |
0.007826706886291505, | |
0.007802387237548828, | |
0.007823348045349121, | |
0.007853267192840576, | |
0.007816146850585938, | |
0.007844467163085938, | |
0.007822227001190186, | |
0.007816627025604247, | |
0.0078001470565795894, | |
0.007749106884002686, | |
0.007816946983337403, | |
0.00778958797454834, | |
0.007856468200683593, | |
0.007844946861267089, | |
0.007842546939849853, | |
0.007839827060699463, | |
0.007843186855316162, | |
0.007821267127990722, | |
0.007775506973266602, | |
0.007828947067260741, | |
0.007854866981506347, | |
0.0077479867935180665, | |
0.007792148113250732, | |
0.007872467041015624, | |
0.0077756671905517575, | |
0.007774066925048828, | |
0.007864306926727295, | |
0.0077425470352172855, | |
0.007858226776123047, | |
0.0077591872215270995, | |
0.007811347007751465, | |
0.007805747985839844, | |
0.00785742712020874, | |
0.007819666862487792, | |
0.007830226898193359, | |
0.007850226879119872, | |
0.007801426887512207, | |
0.007783186912536621, | |
0.007806066989898682, | |
0.007869747161865235, | |
0.007805906772613526, | |
0.007825907230377196, | |
0.007803347110748291, | |
0.007848307132720948, | |
0.007822547912597656, | |
0.007834066867828369, | |
0.007763667106628418, | |
0.007808466911315918, | |
0.007827826976776123, | |
0.007819346904754639, | |
0.0077852668762207035, | |
0.008535825729370117, | |
0.007782866954803467, | |
0.0077601480484008785, | |
0.0077761468887329105, | |
0.00775102710723877, | |
0.007841746807098388, | |
0.00774558687210083, | |
0.007811347007751465, | |
0.0077995071411132814, | |
0.007812627792358398, | |
0.00780446720123291, | |
0.007767827033996582, | |
0.00779470682144165, | |
0.007745427131652832, | |
0.00781982707977295, | |
0.007832626819610595, | |
0.007805107116699218, | |
0.007795667171478272, | |
0.007780147075653076, | |
0.007856146812438965, | |
0.007836466789245605, | |
0.007809106826782227 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.42289420270963 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |