IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5e52fb8
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": {}, | |
"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": "73dd36ea04ff1cc8259f4039b6f9d56dfb9eecd1", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1010.60608, | |
"max_global_vram": 938.909696, | |
"max_process_vram": 152918.601728, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.0007521824836731, | |
"mean": 0.006949667933914397, | |
"stdev": 0.00039032883820540445, | |
"p50": 0.006769795417785645, | |
"p90": 0.007521039056777954, | |
"p95": 0.007579727029800415, | |
"p99": 0.007598303518295288, | |
"values": [ | |
0.007278351783752441, | |
0.006773076057434082, | |
0.00682587480545044, | |
0.006829716205596924, | |
0.006824275016784668, | |
0.0068770751953125, | |
0.006882834911346436, | |
0.00675947618484497, | |
0.006813554763793945, | |
0.006739955902099609, | |
0.006742035865783692, | |
0.006769876003265381, | |
0.006773076057434082, | |
0.006790355205535888, | |
0.006767315864562988, | |
0.006763795852661133, | |
0.006734836101531983, | |
0.006728116035461426, | |
0.006769075870513916, | |
0.006809074878692627, | |
0.006731795787811279, | |
0.006784915924072266, | |
0.0067237958908081055, | |
0.006751155853271485, | |
0.006769714832305908, | |
0.006772595882415772, | |
0.006861714839935302, | |
0.006844595909118652, | |
0.0068093957901000975, | |
0.006842514991760254, | |
0.0068186759948730465, | |
0.00677483606338501, | |
0.009643776893615723, | |
0.007318832874298096, | |
0.0066834759712219236, | |
0.006701395988464355, | |
0.006916594982147217, | |
0.0066577157974243165, | |
0.0066605968475341795, | |
0.006642995834350586, | |
0.006633077144622803, | |
0.006626516819000244, | |
0.006639316082000733, | |
0.006841075897216797, | |
0.006625716209411621, | |
0.006651156902313232, | |
0.0066388359069824215, | |
0.006665876865386963, | |
0.006690515995025635, | |
0.006666196823120117, | |
0.006663795948028565, | |
0.006632437229156494, | |
0.006603476047515869, | |
0.0066649169921875, | |
0.006739635944366455, | |
0.006635156154632569, | |
0.0066551570892333985, | |
0.006640117168426513, | |
0.006658996105194092, | |
0.006619156837463379, | |
0.006673076152801514, | |
0.00669403600692749, | |
0.007586030960083008, | |
0.007518351078033447, | |
0.007565710067749023, | |
0.0072290730476379395, | |
0.007070193767547608, | |
0.0072836318016052245, | |
0.007144592761993408, | |
0.0069100351333618165, | |
0.006725875854492187, | |
0.006908915042877197, | |
0.006722836017608642, | |
0.0067685961723327635, | |
0.006855154991149902, | |
0.006753076076507569, | |
0.006935315132141113, | |
0.006696276187896729, | |
0.006742355823516846, | |
0.00667819595336914, | |
0.00711915397644043, | |
0.007574830055236816, | |
0.007580591201782227, | |
0.007348752021789551, | |
0.007079314231872558, | |
0.007275473117828369, | |
0.007598030090332031, | |
0.0075725908279418944, | |
0.007574030876159668, | |
0.007163312911987305, | |
0.00711915397644043, | |
0.007064272880554199, | |
0.006953714847564697, | |
0.0071015539169311526, | |
0.007094032764434814, | |
0.0070289139747619625, | |
0.006912435054779053, | |
0.007014994144439697, | |
0.006917075157165527, | |
0.00669355583190918, | |
0.006698357105255127, | |
0.006743636131286621, | |
0.006675635814666748, | |
0.006682196140289307, | |
0.0067641158103942875, | |
0.006676916122436523, | |
0.006700276851654053, | |
0.006743956089019776, | |
0.006702356815338135, | |
0.006687156200408936, | |
0.006684596061706543, | |
0.006703475952148438, | |
0.006702517032623291, | |
0.006693716049194336, | |
0.006692276000976562, | |
0.006761395931243896, | |
0.006690996170043945, | |
0.006713875770568848, | |
0.006724435806274414, | |
0.006733235836029053, | |
0.006707156181335449, | |
0.006734516143798828, | |
0.006726356983184814, | |
0.006717236995697021, | |
0.006678515911102295, | |
0.006713076114654541, | |
0.007073234081268311, | |
0.007586989879608154, | |
0.007583950996398926, | |
0.007572269916534423, | |
0.007598509788513183, | |
0.0075836310386657715, | |
0.0075530710220336915, | |
0.0075004310607910156, | |
0.007522191047668457, | |
0.007471951007843017, | |
0.007495151996612549, | |
0.0074562721252441405, | |
0.00746363115310669, | |
0.007491950988769531, | |
0.007501070976257324, | |
0.007492910861968994, | |
0.007475151062011719, | |
0.0074767498970031735 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.89176713321763 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |