IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9996321
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": "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", | |
"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": "519f5ad32b6cd1fea2bd501503e24d19a1e23c22", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1002.377216, | |
"max_global_vram": 2556.25216, | |
"max_process_vram": 259073.347584, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9992015094757082, | |
"mean": 0.0077457481354706054, | |
"stdev": 0.00030965263315108706, | |
"p50": 0.007856778144836426, | |
"p90": 0.00805450496673584, | |
"p95": 0.008074506187438964, | |
"p99": 0.008222959098815917, | |
"values": [ | |
0.007989898204803466, | |
0.008105257034301757, | |
0.007888457775115966, | |
0.008122377395629883, | |
0.008138056755065917, | |
0.008255976676940918, | |
0.007486699104309082, | |
0.007906057834625245, | |
0.007904778003692627, | |
0.007620298862457275, | |
0.007374858856201172, | |
0.007711818218231201, | |
0.0076132588386535645, | |
0.0074977388381958, | |
0.0072903790473937986, | |
0.00739517879486084, | |
0.0075038189888000486, | |
0.007587819099426269, | |
0.007293098926544189, | |
0.007470058917999268, | |
0.007274539947509766, | |
0.0074084591865539555, | |
0.007551659107208252, | |
0.007332939147949219, | |
0.007535658836364746, | |
0.007339338779449463, | |
0.007606698989868164, | |
0.007597259044647217, | |
0.007451019763946533, | |
0.007379818916320801, | |
0.007694218158721924, | |
0.007575658798217774, | |
0.007224139213562012, | |
0.007411180019378662, | |
0.007884137153625488, | |
0.008006378173828125, | |
0.007998217105865478, | |
0.008000297546386719, | |
0.008005416870117188, | |
0.00802685832977295, | |
0.007990218162536622, | |
0.008026217460632324, | |
0.008000457763671875, | |
0.00802653694152832, | |
0.008048137664794923, | |
0.008060297012329102, | |
0.008053736686706543, | |
0.007996617794036865, | |
0.008012936592102051, | |
0.00800557804107666, | |
0.008000777244567872, | |
0.008030057907104492, | |
0.008063337326049805, | |
0.008027816772460937, | |
0.008057578086853028, | |
0.008025576591491699, | |
0.0071019001007080074, | |
0.007344460010528565, | |
0.007383499145507812, | |
0.0071726198196411135, | |
0.007370378971099854, | |
0.0074945387840270996, | |
0.008024296760559081, | |
0.00802205753326416, | |
0.007987496852874755, | |
0.008028457641601563, | |
0.007805257797241211, | |
0.00760109806060791, | |
0.007449899196624756, | |
0.007955498218536377, | |
0.0077230181694030765, | |
0.00746445894241333, | |
0.007460779190063477, | |
0.00769325876235962, | |
0.007573418140411377, | |
0.007569418907165527, | |
0.007420779228210449, | |
0.007159979820251465, | |
0.007654219150543213, | |
0.007592137813568115, | |
0.0076652588844299315, | |
0.007467019081115723, | |
0.007535977840423584, | |
0.007188459873199463, | |
0.00764781904220581, | |
0.007950376987457276, | |
0.007711338996887207, | |
0.007856778144836426, | |
0.007798697948455811, | |
0.007667178153991699, | |
0.007597739219665527, | |
0.00740109920501709, | |
0.007684937953948975, | |
0.0071959800720214845, | |
0.007112939834594726, | |
0.007235980033874512, | |
0.007261738777160644, | |
0.007207180023193359, | |
0.007201260089874268, | |
0.007637738227844238, | |
0.007972298145294189, | |
0.008023496627807616, | |
0.008034697532653809, | |
0.00829357624053955, | |
0.008025418281555176, | |
0.008006056785583497, | |
0.008008618354797364, | |
0.007990696907043456, | |
0.008013897895812989, | |
0.007990056991577149, | |
0.008037257194519042, | |
0.007978057861328125, | |
0.008030056953430176, | |
0.008057897567749023, | |
0.008041736602783203, | |
0.007958538055419922, | |
0.00802477741241455, | |
0.00799357795715332, | |
0.008002376556396485, | |
0.00808141803741455, | |
0.008038537979125977, | |
0.008015975952148438, | |
0.008064138412475585, | |
0.008026697158813477, | |
0.008107016563415528, | |
0.008044137954711914, | |
0.008035337448120117, | |
0.008063177108764648, | |
0.007277900218963623 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.10308759209911 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |