IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e59fd37
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": "2516ce57a5b64eefeb78dc75a171e0cdff88823e", | |
"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": 1001.951232, | |
"max_global_vram": 1910.931456, | |
"max_process_vram": 247186.640896, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0058728914260862, | |
"mean": 0.007450910306859899, | |
"stdev": 0.0004764917965855499, | |
"p50": 0.007299685955047607, | |
"p90": 0.007964614105224609, | |
"p95": 0.008017973709106445, | |
"p99": 0.008421238422393796, | |
"values": [ | |
0.008513446807861327, | |
0.008200965881347656, | |
0.008218405723571777, | |
0.0082422456741333, | |
0.008033765792846679, | |
0.007416325092315674, | |
0.007366565227508545, | |
0.00737376594543457, | |
0.00729920482635498, | |
0.007346405029296875, | |
0.0072100858688354495, | |
0.007351524829864502, | |
0.007407526016235352, | |
0.007126245021820068, | |
0.007128005027770996, | |
0.007766726016998291, | |
0.0072969651222229, | |
0.007147844791412354, | |
0.007171364784240722, | |
0.007179366111755371, | |
0.007159045219421387, | |
0.00717312479019165, | |
0.00716272497177124, | |
0.007216166019439698, | |
0.007167204856872559, | |
0.007225124835968017, | |
0.007318406105041504, | |
0.007185764789581299, | |
0.0071382451057434085, | |
0.0073924860954284665, | |
0.007125285148620606, | |
0.007121284961700439, | |
0.007197764873504639, | |
0.007299685955047607, | |
0.007293284893035889, | |
0.01082864761352539, | |
0.008208005905151368, | |
0.007915686130523682, | |
0.007934245109558105, | |
0.007842566013336182, | |
0.00798176622390747, | |
0.007987525939941406, | |
0.007951045989990234, | |
0.008011205673217774, | |
0.007921925067901611, | |
0.007970406055450439, | |
0.007968966007232667, | |
0.007911526203155517, | |
0.007958566188812256, | |
0.00792448616027832, | |
0.008010404586791992, | |
0.00791200590133667, | |
0.007943686008453368, | |
0.0078100857734680175, | |
0.007780805110931397, | |
0.007896805763244629, | |
0.007890406131744385, | |
0.007968646049499511, | |
0.007949446201324463, | |
0.007897284984588623, | |
0.007896805763244629, | |
0.0077528061866760254, | |
0.007747206211090088, | |
0.007699844837188721, | |
0.007236965179443359, | |
0.0070700860023498536, | |
0.007054244995117188, | |
0.007032485008239746, | |
0.0070654449462890625, | |
0.007070565223693847, | |
0.0074308857917785645, | |
0.007125444889068603, | |
0.0070084848403930665, | |
0.007104165077209472, | |
0.00710704517364502, | |
0.007193924903869629, | |
0.007030405044555664, | |
0.007239524841308594, | |
0.007390726089477539, | |
0.00793680477142334, | |
0.007553286075592041, | |
0.007643045902252198, | |
0.0070299248695373535, | |
0.007281125068664551, | |
0.007102244853973388, | |
0.007133444786071777, | |
0.007138246059417724, | |
0.007127685070037842, | |
0.007124324798583984, | |
0.007094085216522217, | |
0.007071044921875, | |
0.007092165946960449, | |
0.007017924785614014, | |
0.0069987249374389646, | |
0.00705680513381958, | |
0.007074244976043701, | |
0.007063525199890137, | |
0.007042565822601318, | |
0.007099044799804687, | |
0.0070262451171875, | |
0.00699184513092041, | |
0.007044165134429931, | |
0.007050564765930176, | |
0.007107525825500488, | |
0.007000325202941894, | |
0.0070249648094177245, | |
0.007623845100402832, | |
0.007946566104888916, | |
0.007887045860290527, | |
0.007843366146087646, | |
0.007376325130462646, | |
0.0073955259323120115, | |
0.007361764907836914, | |
0.007356164932250976, | |
0.00740592622756958, | |
0.007366885185241699, | |
0.007426566123962403, | |
0.007187524795532227, | |
0.007463685035705566, | |
0.007871205806732178, | |
0.00783504581451416, | |
0.007721765041351318, | |
0.00751616621017456, | |
0.007497604846954346, | |
0.0074468860626220705, | |
0.007386244773864746, | |
0.0069915251731872555, | |
0.007053445816040039, | |
0.006974404811859131, | |
0.007047045230865479, | |
0.007034084796905518, | |
0.007104323863983154, | |
0.007025444984436035, | |
0.007102245807647705, | |
0.007092804908752442 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.21178873664883 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |