IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fd4de43
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": {}, | |
"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.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": "d0c0a5c5918412583a4f2490ab7e3d1b48375998", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.29376, | |
"max_global_vram": 2580.799488, | |
"max_process_vram": 42777.31328, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.16177001953125, | |
"mean": 7.16177001953125, | |
"stdev": 0.0, | |
"p50": 7.16177001953125, | |
"p90": 7.16177001953125, | |
"p95": 7.16177001953125, | |
"p99": 7.16177001953125, | |
"values": [ | |
7.16177001953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1018.118144, | |
"max_global_vram": 2644.332544, | |
"max_process_vram": 235352.756224, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0004334383010862, | |
"mean": 0.007755297971326252, | |
"stdev": 0.0004187907057844244, | |
"p50": 0.007784770965576172, | |
"p90": 0.008085376930236816, | |
"p95": 0.008317056083679199, | |
"p99": 0.008442706527709962, | |
"values": [ | |
0.008030208587646484, | |
0.008218368530273438, | |
0.008338848114013671, | |
0.008365887641906739, | |
0.00837980842590332, | |
0.008339167594909668, | |
0.008286527633666992, | |
0.008314847946166992, | |
0.00814892864227295, | |
0.0081198091506958, | |
0.008318528175354004, | |
0.00807676887512207, | |
0.007989728927612304, | |
0.008076289176940917, | |
0.00791836977005005, | |
0.007956449031829835, | |
0.007926849842071534, | |
0.010993877410888671, | |
0.008153409004211425, | |
0.007782529830932617, | |
0.00778557014465332, | |
0.00779164981842041, | |
0.007782050132751465, | |
0.007783010005950928, | |
0.007777891159057617, | |
0.007748129844665527, | |
0.007773250102996826, | |
0.007756929874420166, | |
0.0077932500839233395, | |
0.007727331161499024, | |
0.007717090129852295, | |
0.00772973108291626, | |
0.007753089904785156, | |
0.007786210060119629, | |
0.007743169784545898, | |
0.007784770965576172, | |
0.007745410919189453, | |
0.007788929939270019, | |
0.007777890205383301, | |
0.007845570087432861, | |
0.007807650089263916, | |
0.007828289985656739, | |
0.007752610206604004, | |
0.007762849807739258, | |
0.0077625298500061035, | |
0.007744290828704834, | |
0.007638689994812012, | |
0.007558530807495118, | |
0.007783010005950928, | |
0.007607651233673096, | |
0.0074244518280029296, | |
0.007493731021881104, | |
0.0077614102363586426, | |
0.007774849891662597, | |
0.007797249794006348, | |
0.007733410835266114, | |
0.0071921319961547854, | |
0.00724045181274414, | |
0.007192132949829101, | |
0.007145411968231201, | |
0.007377091884613037, | |
0.007194851875305176, | |
0.007803009986877441, | |
0.007883009910583496, | |
0.007425890922546387, | |
0.007490851879119873, | |
0.00743165111541748, | |
0.007795169830322266, | |
0.007786690235137939, | |
0.007859330177307128, | |
0.007833730220794678, | |
0.007872290134429931, | |
0.007815489768981934, | |
0.007836609840393067, | |
0.007868770122528077, | |
0.007842850208282471, | |
0.007799170017242432, | |
0.00778925085067749, | |
0.007814050197601318, | |
0.007814209938049316, | |
0.007857409000396729, | |
0.007777890205383301, | |
0.0077788510322570805, | |
0.007904609203338624, | |
0.00782652997970581, | |
0.007884610176086425, | |
0.00784621000289917, | |
0.007814050197601318, | |
0.007873089790344238, | |
0.00788076877593994, | |
0.0078609299659729, | |
0.007879330158233642, | |
0.007756770133972168, | |
0.007766530036926269, | |
0.00781997013092041, | |
0.007783649921417236, | |
0.007751329898834229, | |
0.007867010116577148, | |
0.007808770179748535, | |
0.00782765007019043, | |
0.007791810035705567, | |
0.007886209964752196, | |
0.007818369865417481, | |
0.00769612979888916, | |
0.007481250762939453, | |
0.007447651863098145, | |
0.008467166900634766, | |
0.007885250091552734, | |
0.007819330215454102, | |
0.007839970111846924, | |
0.00743165111541748, | |
0.007440132141113281, | |
0.007460131168365479, | |
0.0072105321884155275, | |
0.007362691879272461, | |
0.007367331981658936, | |
0.00722573184967041, | |
0.0070292530059814454, | |
0.006959173202514648, | |
0.006973413944244384, | |
0.006992932796478272, | |
0.006951813220977783, | |
0.006960292816162109, | |
0.007231651782989502, | |
0.007419490814208984, | |
0.007652131080627442, | |
0.0077222099304199215, | |
0.007530210971832275, | |
0.007352131843566895 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.94411068373014 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |