IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
601c37c
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", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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.0", | |
"optimum_benchmark_commit": "2d3261cf9b992810a685ce736f41254a91cd091e", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1005.817856, | |
"max_global_vram": 930.562048, | |
"max_process_vram": 263033.327616, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 118, | |
"total": 1.002633325576782, | |
"mean": 0.008496892589633749, | |
"stdev": 0.0014612102033860297, | |
"p50": 0.00815854835510254, | |
"p90": 0.009011987781524657, | |
"p95": 0.011803526926040647, | |
"p99": 0.01467339154243469, | |
"values": [ | |
0.008263029098510743, | |
0.011356783866882323, | |
0.008169907569885254, | |
0.007947508811950683, | |
0.008026868820190429, | |
0.013778221130371094, | |
0.00784718894958496, | |
0.009886866569519042, | |
0.01287182331085205, | |
0.008047987937927246, | |
0.007734389781951905, | |
0.014102219581604004, | |
0.00837582778930664, | |
0.008017748832702636, | |
0.007985428810119629, | |
0.011641743659973145, | |
0.00832974910736084, | |
0.008147348403930664, | |
0.012007663726806641, | |
0.009651506423950195, | |
0.008003508567810059, | |
0.008009749412536621, | |
0.008124789237976075, | |
0.008056147575378418, | |
0.007959029197692872, | |
0.007971828937530517, | |
0.015543659210205079, | |
0.008352627754211426, | |
0.008243349075317383, | |
0.00815374755859375, | |
0.007795509815216065, | |
0.007716948986053467, | |
0.007697429180145264, | |
0.007686069011688232, | |
0.007720789909362793, | |
0.007710709095001221, | |
0.007685749053955078, | |
0.007799670219421386, | |
0.007872148990631104, | |
0.007797749042510987, | |
0.007744948863983154, | |
0.007942549228668213, | |
0.01479037857055664, | |
0.008115829467773438, | |
0.008046069145202638, | |
0.007934069156646729, | |
0.01161678409576416, | |
0.008737908363342286, | |
0.00795806884765625, | |
0.011767502784729003, | |
0.007969268798828125, | |
0.007940629005432128, | |
0.007891509056091308, | |
0.008163349151611328, | |
0.008095829010009766, | |
0.008526388168334962, | |
0.008602388381958008, | |
0.008453747749328614, | |
0.008460787773132325, | |
0.008397747993469238, | |
0.0084225492477417, | |
0.008391347885131836, | |
0.008403027534484863, | |
0.008431988716125488, | |
0.00838782787322998, | |
0.008360148429870606, | |
0.008330868721008302, | |
0.008338868141174316, | |
0.008334388732910156, | |
0.008311347961425781, | |
0.008264148712158203, | |
0.008279828071594239, | |
0.008255188941955566, | |
0.00827822780609131, | |
0.008288148880004884, | |
0.008265908241271974, | |
0.008292789459228516, | |
0.008263507843017577, | |
0.008302068710327149, | |
0.008203027725219726, | |
0.008224308967590332, | |
0.008291348457336426, | |
0.008312788963317871, | |
0.008336948394775391, | |
0.008321908950805664, | |
0.008322547912597657, | |
0.008212469100952148, | |
0.00824046802520752, | |
0.00823422908782959, | |
0.008038389205932616, | |
0.007659988880157471, | |
0.007768949031829834, | |
0.007514870166778565, | |
0.007512790203094482, | |
0.007668788909912109, | |
0.007629909038543701, | |
0.00757519006729126, | |
0.007521109104156494, | |
0.007811510086059571, | |
0.008042387962341309, | |
0.008268468856811524, | |
0.0081998291015625, | |
0.008198707580566407, | |
0.008037428855895996, | |
0.008110227584838868, | |
0.00792094898223877, | |
0.008096468925476075, | |
0.007815989017486572, | |
0.0073510298728942875, | |
0.007494070053100586, | |
0.0075043091773986815, | |
0.007324950218200683, | |
0.007918549060821534, | |
0.007715349197387695, | |
0.007417910099029541, | |
0.007959507942199706, | |
0.008194068908691406, | |
0.008212628364562989 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.69008369247894 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |