IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f8af94b
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": "4aa72a2fd35e7d46a674935ffaf335b1c0795600", | |
"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.826048, | |
"max_global_vram": 930.557952, | |
"max_process_vram": 241638.326272, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0024258985519408, | |
"mean": 0.007109403535829369, | |
"stdev": 0.000307831678615322, | |
"p50": 0.006954710960388183, | |
"p90": 0.007551509857177735, | |
"p95": 0.007928150177001953, | |
"p99": 0.008054644775390625, | |
"values": [ | |
0.007992309093475342, | |
0.007965590000152588, | |
0.00804158878326416, | |
0.00799103021621704, | |
0.007954870223999023, | |
0.008063348770141601, | |
0.007928150177001953, | |
0.007907349109649658, | |
0.007248470783233643, | |
0.007353750228881836, | |
0.0071265511512756344, | |
0.007142230987548828, | |
0.007088951110839844, | |
0.007041591167449951, | |
0.006991829872131348, | |
0.006954710960388183, | |
0.0069649510383605956, | |
0.006925751209259033, | |
0.006987831115722656, | |
0.006917110919952393, | |
0.006962390899658203, | |
0.007052310943603516, | |
0.006975990772247314, | |
0.00820590877532959, | |
0.0072468709945678715, | |
0.006912631034851074, | |
0.007004790782928467, | |
0.007040151119232178, | |
0.006869911193847656, | |
0.006900150775909424, | |
0.006918070793151855, | |
0.007186069965362549, | |
0.006916471004486084, | |
0.006918070793151855, | |
0.006929911136627197, | |
0.007173110961914062, | |
0.006976790904998779, | |
0.006929591178894043, | |
0.006948310852050782, | |
0.006940151214599609, | |
0.0071673507690429685, | |
0.00694911003112793, | |
0.006958870887756347, | |
0.006934071063995361, | |
0.007198071002960205, | |
0.006927990913391113, | |
0.006909111022949219, | |
0.006976790904998779, | |
0.007135830879211426, | |
0.007551509857177735, | |
0.006958230972290039, | |
0.006933751106262207, | |
0.007001750946044922, | |
0.0070548710823059085, | |
0.00698543119430542, | |
0.006944150924682617, | |
0.006893590927124023, | |
0.006932950973510742, | |
0.006952311038970947, | |
0.006928630828857422, | |
0.00695182991027832, | |
0.006936151027679444, | |
0.006937110900878906, | |
0.006970870971679688, | |
0.006929430961608887, | |
0.006930231094360351, | |
0.006955511093139648, | |
0.0069532709121704105, | |
0.006926711082458496, | |
0.006954551219940186, | |
0.00714431095123291, | |
0.006950070858001709, | |
0.006963671207427979, | |
0.006944631099700928, | |
0.006948791027069092, | |
0.0069159908294677734, | |
0.0069081511497497555, | |
0.006916151046752929, | |
0.006956311225891113, | |
0.006940310955047608, | |
0.00691071081161499, | |
0.0069465508460998535, | |
0.0069246311187744145, | |
0.0069630308151245116, | |
0.006934550762176514, | |
0.007194709777832031, | |
0.006929430961608887, | |
0.00691071081161499, | |
0.006886231899261475, | |
0.006942709922790527, | |
0.006937591075897217, | |
0.006911830902099609, | |
0.006904632091522217, | |
0.006859031200408936, | |
0.006955511093139648, | |
0.006931190967559815, | |
0.006944311141967773, | |
0.006915350914001465, | |
0.006932950973510742, | |
0.0069596700668334965, | |
0.006922711849212646, | |
0.006935030937194824, | |
0.00692031192779541, | |
0.006946391105651856, | |
0.007237431049346924, | |
0.007778870105743408, | |
0.007662710189819336, | |
0.007194711208343506, | |
0.007236149787902832, | |
0.007326711177825928, | |
0.0073607897758483885, | |
0.007531030178070068, | |
0.007797910213470459, | |
0.0077748699188232425, | |
0.007674870014190674, | |
0.007282230854034424, | |
0.007421110153198242, | |
0.007425270080566406, | |
0.007426391124725342, | |
0.007323669910430908, | |
0.00730527114868164, | |
0.00733503007888794, | |
0.007356951236724854, | |
0.007391349792480469, | |
0.006890551090240478, | |
0.0069723110198974605, | |
0.006939671039581299, | |
0.00692815113067627, | |
0.006923191070556641, | |
0.006926870822906494, | |
0.006943991184234619, | |
0.00698622989654541, | |
0.0069790310859680176, | |
0.006951351165771485, | |
0.006944470882415772, | |
0.006923830986022949, | |
0.006936151027679444, | |
0.006940151214599609, | |
0.006910231113433838, | |
0.00715822982788086, | |
0.006884312152862549 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.65877607879267 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |