IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ac6a191
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", | |
"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.1", | |
"optimum_benchmark_commit": "eee61510ab9c7b38bd9807712fa942e2f5ba255c", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.536384, | |
"max_global_vram": 3129.52832, | |
"max_process_vram": 232136.015872, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9993401737213136, | |
"mean": 0.007746823052103205, | |
"stdev": 0.0004566627936021311, | |
"p50": 0.0077734231948852536, | |
"p90": 0.008199310111999512, | |
"p95": 0.00847943706512451, | |
"p99": 0.008785727615356445, | |
"values": [ | |
0.00806638240814209, | |
0.008211981773376465, | |
0.008307182312011718, | |
0.00854702091217041, | |
0.008737900733947753, | |
0.008729740142822266, | |
0.008800780296325684, | |
0.008747020721435546, | |
0.00865902042388916, | |
0.008343341827392579, | |
0.008086221694946289, | |
0.0083409423828125, | |
0.008378061294555664, | |
0.008248941421508789, | |
0.008015023231506348, | |
0.0080518217086792, | |
0.008089901924133301, | |
0.008009422302246093, | |
0.007889421939849853, | |
0.007859821796417237, | |
0.008006543159484862, | |
0.008123181343078613, | |
0.007839502811431885, | |
0.010037258148193359, | |
0.008196142196655274, | |
0.008002222061157227, | |
0.007938541889190675, | |
0.008041583061218261, | |
0.008010382652282716, | |
0.008071182250976562, | |
0.008016302108764648, | |
0.00804670238494873, | |
0.008026382446289063, | |
0.00810190200805664, | |
0.00807086181640625, | |
0.008028462409973144, | |
0.008015981674194336, | |
0.007833422183990479, | |
0.007392464160919189, | |
0.007162384033203125, | |
0.0071271839141845705, | |
0.0071748638153076175, | |
0.0076052632331848145, | |
0.007681743144989013, | |
0.007616622924804688, | |
0.007578224182128906, | |
0.0076524620056152345, | |
0.007659822940826416, | |
0.007764303207397461, | |
0.007597582817077637, | |
0.007434863090515137, | |
0.007292304039001465, | |
0.007445104122161865, | |
0.007235023021697998, | |
0.007186223983764648, | |
0.007200143814086914, | |
0.007154543876647949, | |
0.007223184108734131, | |
0.00738366413116455, | |
0.007230544090270996, | |
0.007197103977203369, | |
0.007170864105224609, | |
0.007184463977813721, | |
0.007163983821868896, | |
0.00711902379989624, | |
0.007151023864746094, | |
0.00720462417602539, | |
0.007194223880767822, | |
0.007157104015350342, | |
0.007236783981323242, | |
0.007233903884887695, | |
0.007275983810424804, | |
0.007856462001800537, | |
0.008076461791992187, | |
0.00767870283126831, | |
0.007671022891998291, | |
0.007829102039337158, | |
0.007663183212280274, | |
0.00795550298690796, | |
0.0077755022048950195, | |
0.007521742820739746, | |
0.007795022964477539, | |
0.00793486213684082, | |
0.007481423854827881, | |
0.007718862056732178, | |
0.0078027029037475585, | |
0.007799181938171387, | |
0.007960943222045899, | |
0.008027981758117676, | |
0.007628142833709717, | |
0.007213263988494873, | |
0.007337583065032959, | |
0.007149903774261474, | |
0.007407504081726074, | |
0.007303022861480713, | |
0.007140143871307373, | |
0.007207503795623779, | |
0.007230544090270996, | |
0.0075459032058715824, | |
0.007161903858184815, | |
0.007151023864746094, | |
0.007158544063568115, | |
0.00765790319442749, | |
0.007178864002227783, | |
0.007511343002319336, | |
0.00803470230102539, | |
0.008008622169494628, | |
0.008062381744384766, | |
0.007914062976837158, | |
0.007955502033233643, | |
0.00804414176940918, | |
0.007999981880187988, | |
0.007843342781066895, | |
0.007634062767028809, | |
0.007603982925415039, | |
0.008061101913452148, | |
0.007828941822052002, | |
0.0077073431015014645, | |
0.0077734231948852536, | |
0.007735501766204834, | |
0.007740783214569092, | |
0.007565902233123779, | |
0.007731503009796143, | |
0.007467503070831299, | |
0.007809583187103271, | |
0.007830701828002929, | |
0.007806703090667725, | |
0.008019661903381348, | |
0.008014862060546874 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.08517378985536 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |