IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7a3ad6a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": {}, | |
"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, | |
"memory": true, | |
"latency": 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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1380.610048, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.803873046875, | |
"mean": 7.803873046875, | |
"stdev": 0.0, | |
"p50": 7.803873046875, | |
"p90": 7.803873046875, | |
"p95": 7.803873046875, | |
"p99": 7.803873046875, | |
"values": [ | |
7.803873046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1479.753728, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.002315646648407, | |
"mean": 0.006960525323947271, | |
"stdev": 0.003916376624115386, | |
"p50": 0.006557100057601928, | |
"p90": 0.00699897050857544, | |
"p95": 0.007232826066017151, | |
"p99": 0.007638065500259399, | |
"values": [ | |
0.0076327757835388185, | |
0.007301097869873047, | |
0.05367535781860352, | |
0.007525257110595703, | |
0.006696619033813476, | |
0.0065849399566650394, | |
0.006598380088806153, | |
0.006553100109100342, | |
0.0065238199234008785, | |
0.006938698768615722, | |
0.006508140087127685, | |
0.006449739933013916, | |
0.006442379951477051, | |
0.006431019783020019, | |
0.006460461139678955, | |
0.006454219818115234, | |
0.006432139873504638, | |
0.006469900131225586, | |
0.006435181140899658, | |
0.00641565990447998, | |
0.00644782018661499, | |
0.006407979965209961, | |
0.00645534086227417, | |
0.0076420559883117675, | |
0.007114218235015869, | |
0.006395980834960937, | |
0.006369740009307861, | |
0.006371981143951416, | |
0.006364299774169922, | |
0.00635374116897583, | |
0.006351019859313965, | |
0.006408780097961426, | |
0.006368300914764404, | |
0.006354219913482666, | |
0.006385900974273682, | |
0.006404300212860107, | |
0.0063748607635498045, | |
0.006586538791656494, | |
0.006503819942474365, | |
0.006570219993591309, | |
0.006877418994903565, | |
0.006514860153198242, | |
0.006800619125366211, | |
0.006645420074462891, | |
0.006575500011444092, | |
0.006726539134979248, | |
0.006643340110778808, | |
0.006559500217437744, | |
0.006666698932647705, | |
0.0065041399002075196, | |
0.0069111790657043455, | |
0.006611499786376953, | |
0.006746058940887451, | |
0.006644619941711426, | |
0.006681579113006592, | |
0.006913739204406738, | |
0.0065342202186584476, | |
0.006733579158782959, | |
0.006833579063415527, | |
0.006707339763641357, | |
0.006572939872741699, | |
0.0066364588737487795, | |
0.006554699897766113, | |
0.006625420093536377, | |
0.006532780170440674, | |
0.006780619144439697, | |
0.006599979877471924, | |
0.006690218925476075, | |
0.006934379100799561, | |
0.006616779804229736, | |
0.006762059211730957, | |
0.006634860038757324, | |
0.006653899192810058, | |
0.006362220764160156, | |
0.006583020210266113, | |
0.006420139789581299, | |
0.0064191799163818355, | |
0.0069705390930175784, | |
0.0069798178672790525, | |
0.006851338863372803, | |
0.006739659786224365, | |
0.007152937889099121, | |
0.006869578838348388, | |
0.00697885799407959, | |
0.006837258815765381, | |
0.006884298801422119, | |
0.00720317792892456, | |
0.0068353390693664555, | |
0.00695789909362793, | |
0.006963179111480713, | |
0.006939817905426025, | |
0.007095179080963135, | |
0.006919497966766357, | |
0.006836618900299072, | |
0.007238058090209961, | |
0.007042219161987304, | |
0.006844618797302246, | |
0.006968138217926026, | |
0.006910058975219726, | |
0.007007178783416748, | |
0.006592138767242432, | |
0.006602220058441162, | |
0.006631499767303467, | |
0.006619819164276123, | |
0.00640286111831665, | |
0.006409739971160889, | |
0.006591819763183594, | |
0.006435979843139648, | |
0.006413101196289062, | |
0.006413259983062744, | |
0.006407340049743652, | |
0.006413900852203369, | |
0.0064044599533081056, | |
0.006417419910430908, | |
0.006428299903869629, | |
0.00640286111831665, | |
0.006419819831848144, | |
0.00644782018661499, | |
0.006411820888519287, | |
0.006411019802093506, | |
0.006395659923553467, | |
0.006406061172485352, | |
0.0064187002182006835, | |
0.006403180122375488, | |
0.006404780864715577, | |
0.006392139911651612, | |
0.0064006209373474125, | |
0.006379660129547119, | |
0.006387340068817139, | |
0.006408781051635742, | |
0.006428619861602783, | |
0.006401420116424561, | |
0.006382061004638672, | |
0.006399179935455322, | |
0.006402700901031494, | |
0.006388460159301758, | |
0.00640638017654419, | |
0.006396621227264404, | |
0.006423980236053467, | |
0.006437739849090576, | |
0.0064006209373474125, | |
0.0070838179588317875, | |
0.00724109697341919, | |
0.007252458095550537 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.66731725830516 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |