IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9c66706
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": "48414f58841d7ba7c7fd42d74fd524d1d23c3081", | |
"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": 1002.74176, | |
"max_global_vram": 1910.939648, | |
"max_process_vram": 243229.085696, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0034460887908936, | |
"mean": 0.007219036610006429, | |
"stdev": 0.0003817196593918351, | |
"p50": 0.007159689903259278, | |
"p90": 0.00756250696182251, | |
"p95": 0.007683562850952148, | |
"p99": 0.007852066087722778, | |
"values": [ | |
0.007811212062835694, | |
0.007254730224609375, | |
0.007078410148620606, | |
0.007023049831390381, | |
0.007147211074829102, | |
0.00721953010559082, | |
0.007221130847930908, | |
0.007398250102996826, | |
0.007204811096191407, | |
0.007138249874114991, | |
0.007173449993133545, | |
0.007225770950317383, | |
0.007161449909210205, | |
0.007781771183013916, | |
0.007440491199493408, | |
0.007399691104888916, | |
0.007417931079864502, | |
0.0072001700401306155, | |
0.0070630497932434085, | |
0.006896810054779053, | |
0.006884650230407715, | |
0.006895689964294433, | |
0.006888810157775879, | |
0.006886410236358643, | |
0.00692864990234375, | |
0.006904329776763916, | |
0.006896490097045898, | |
0.007104330062866211, | |
0.006910409927368164, | |
0.007022570133209229, | |
0.006900169849395752, | |
0.006893610000610352, | |
0.006881289958953858, | |
0.006976490020751953, | |
0.007123209953308105, | |
0.007400970935821533, | |
0.007370410919189453, | |
0.007093130111694336, | |
0.01058753490447998, | |
0.007208651065826416, | |
0.007586091041564941, | |
0.007511051177978516, | |
0.007628810882568359, | |
0.007486091136932373, | |
0.007466249942779541, | |
0.007652491092681885, | |
0.007557930946350097, | |
0.00739953088760376, | |
0.0076726508140563966, | |
0.007420331001281738, | |
0.007589770793914795, | |
0.0075163311958312985, | |
0.007612010955810547, | |
0.007466090202331543, | |
0.007455531120300293, | |
0.007360490798950195, | |
0.007418251037597657, | |
0.007399209976196289, | |
0.007470090866088867, | |
0.00747265100479126, | |
0.0073836898803710934, | |
0.007202731132507324, | |
0.00753649091720581, | |
0.007580811023712158, | |
0.007088170051574707, | |
0.007144169807434082, | |
0.007167211055755615, | |
0.007175690174102784, | |
0.007099850177764893, | |
0.007266410827636719, | |
0.0071860899925231935, | |
0.006984169960021973, | |
0.006998250007629395, | |
0.007034249782562256, | |
0.0073100910186767575, | |
0.006950409889221192, | |
0.007107530117034912, | |
0.006963210105895996, | |
0.006978730201721192, | |
0.006905290126800537, | |
0.0069323301315307615, | |
0.007325291156768799, | |
0.00747313117980957, | |
0.007405449867248535, | |
0.006953609943389893, | |
0.006986731052398681, | |
0.007295209884643555, | |
0.007128170013427734, | |
0.007181450843811035, | |
0.007291369915008545, | |
0.006953609943389893, | |
0.006964169979095459, | |
0.006962729930877686, | |
0.006953289985656738, | |
0.007008009910583496, | |
0.006943049907684326, | |
0.0072270498275756835, | |
0.0069782500267028804, | |
0.006961450099945068, | |
0.006985290050506592, | |
0.006982890129089356, | |
0.006996650218963623, | |
0.00695681095123291, | |
0.006957930088043213, | |
0.0069752101898193355, | |
0.006985770225524902, | |
0.0072502498626708985, | |
0.007023369789123535, | |
0.0072147312164306645, | |
0.006926249980926513, | |
0.007159689903259278, | |
0.007253450870513916, | |
0.006977930068969727, | |
0.00695920991897583, | |
0.0071696100234985355, | |
0.006978409767150879, | |
0.0069780898094177245, | |
0.006971049785614014, | |
0.006935530185699463, | |
0.00732689094543457, | |
0.007810891151428223, | |
0.0078011307716369625, | |
0.007468010902404785, | |
0.007332971096038818, | |
0.007263689994812012, | |
0.00734225082397461, | |
0.00743169116973877, | |
0.007329929828643799, | |
0.007142251014709473, | |
0.00694497013092041, | |
0.006937930107116699, | |
0.006906889915466309, | |
0.007080009937286377, | |
0.0069752101898193355, | |
0.0069156899452209476, | |
0.006981770038604737, | |
0.006971529006958008, | |
0.007841451168060303, | |
0.007858572006225585 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.52263868753388 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |