IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0148440
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": "79990507b694d513bac81e140baff3af23a6bff7", | |
"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.315264, | |
"max_global_vram": 65464.815616, | |
"max_process_vram": 199354.5728, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.004580500125885, | |
"mean": 0.007496869403924516, | |
"stdev": 0.0004362749488083415, | |
"p50": 0.0074983260631561275, | |
"p90": 0.007921285963058472, | |
"p95": 0.008135222244262696, | |
"p99": 0.008779348306655882, | |
"values": [ | |
0.008819687843322753, | |
0.008697446823120117, | |
0.008285286903381348, | |
0.007384006023406982, | |
0.00739776611328125, | |
0.007492966175079345, | |
0.007315845966339112, | |
0.007235365867614746, | |
0.007256005764007568, | |
0.007195365905761719, | |
0.00713216495513916, | |
0.007160006046295166, | |
0.007066885948181153, | |
0.007141446113586426, | |
0.007121285915374756, | |
0.0072156858444213864, | |
0.007260166168212891, | |
0.007166086196899414, | |
0.007087524890899658, | |
0.00709488582611084, | |
0.007139686107635498, | |
0.007141285896301269, | |
0.007255045890808105, | |
0.007243686199188233, | |
0.007206406116485596, | |
0.007212326049804687, | |
0.007171525955200196, | |
0.007524645805358886, | |
0.0075036859512329105, | |
0.007880166053771972, | |
0.007864326953887939, | |
0.007928485870361329, | |
0.007904486179351806, | |
0.008026086807250976, | |
0.008012966156005859, | |
0.008181607246398926, | |
0.008216326713562011, | |
0.00811024570465088, | |
0.008074727058410645, | |
0.0080782470703125, | |
0.00903360652923584, | |
0.008434086799621583, | |
0.00783008623123169, | |
0.007787366867065429, | |
0.0077196860313415525, | |
0.007810885906219482, | |
0.007781606197357177, | |
0.007767045974731445, | |
0.00775296688079834, | |
0.00778592586517334, | |
0.007706086158752442, | |
0.0077676868438720705, | |
0.0077552061080932615, | |
0.007784165859222412, | |
0.007784166812896729, | |
0.007732165813446045, | |
0.007761126041412354, | |
0.007357766151428222, | |
0.007229925155639649, | |
0.0069612860679626465, | |
0.006981766223907471, | |
0.006930406093597412, | |
0.006990725040435791, | |
0.006954885959625244, | |
0.007078246116638183, | |
0.00705392599105835, | |
0.007022725105285644, | |
0.006969126224517822, | |
0.006983526229858398, | |
0.006979846000671387, | |
0.007017445087432861, | |
0.006906725883483887, | |
0.006995686054229736, | |
0.006937924861907959, | |
0.0070022459030151364, | |
0.006947366237640381, | |
0.0068892850875854495, | |
0.006941926002502441, | |
0.007058566093444824, | |
0.006942086219787598, | |
0.006939205169677734, | |
0.007073445796966553, | |
0.006910245895385742, | |
0.007042565822601318, | |
0.007021444797515869, | |
0.006934566020965576, | |
0.007720645904541016, | |
0.0069686460494995115, | |
0.0070395259857177735, | |
0.007012166023254394, | |
0.0070158448219299315, | |
0.007020326137542725, | |
0.00740976619720459, | |
0.007628965854644776, | |
0.007271046161651611, | |
0.007514246940612793, | |
0.007755526065826416, | |
0.007825766086578369, | |
0.00799584722518921, | |
0.00790384578704834, | |
0.00772128677368164, | |
0.007323046207427978, | |
0.007230405807495117, | |
0.007188005924224854, | |
0.0078153657913208, | |
0.007761606216430664, | |
0.007785127162933349, | |
0.007720645904541016, | |
0.007763686180114746, | |
0.007773606777191162, | |
0.007751205921173096, | |
0.007790087223052978, | |
0.007796165943145752, | |
0.007809286117553711, | |
0.007791526794433594, | |
0.00775696611404419, | |
0.007796966075897217, | |
0.007807686805725098, | |
0.007796326160430908, | |
0.007739847183227539, | |
0.007841926097869873, | |
0.00785472583770752, | |
0.007855047225952148, | |
0.0077760062217712405, | |
0.007821446895599365, | |
0.007788005828857422, | |
0.007808005809783936, | |
0.0077716860771179196, | |
0.007433765888214111, | |
0.007756805896759033, | |
0.007777287006378174, | |
0.007184966087341309, | |
0.0074020857810974125, | |
0.007257125854492188 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.38901161550348 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |