IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
75c8651
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"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]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 1023.762432, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 39808.077824, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.601177734375, | |
"mean": 7.601177734375, | |
"stdev": 0.0, | |
"p50": 7.601177734375, | |
"p90": 7.601177734375, | |
"p95": 7.601177734375, | |
"p99": 7.601177734375, | |
"values": [ | |
7.601177734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1155.047424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 223504.797696, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 1.004350363254547, | |
"mean": 0.007173931166103907, | |
"stdev": 0.00043545235243979075, | |
"p50": 0.007355254888534547, | |
"p90": 0.007545318222045899, | |
"p95": 0.007592630004882812, | |
"p99": 0.007652637991905212, | |
"values": [ | |
0.007475813865661621, | |
0.007361895084381104, | |
0.006965577125549316, | |
0.0070476560592651364, | |
0.007031976222991943, | |
0.007060296058654785, | |
0.006967016220092773, | |
0.007035175800323487, | |
0.007229735851287842, | |
0.006891496181488037, | |
0.007120776176452637, | |
0.006821096897125244, | |
0.00680109691619873, | |
0.006993096828460693, | |
0.006769257068634033, | |
0.006776937007904053, | |
0.006712457180023193, | |
0.0067561368942260745, | |
0.006787497043609619, | |
0.0067476568222045894, | |
0.00679725694656372, | |
0.006769736766815185, | |
0.009892927169799805, | |
0.006948135852813721, | |
0.006694857120513916, | |
0.006692617893218994, | |
0.006717096805572509, | |
0.007180295944213867, | |
0.006696456909179687, | |
0.0066926169395446775, | |
0.0066881380081176755, | |
0.006745256900787353, | |
0.006714857101440429, | |
0.006697576999664306, | |
0.006729258060455322, | |
0.006753897190093994, | |
0.0066706972122192384, | |
0.0067076578140258785, | |
0.006674377918243408, | |
0.006895176887512207, | |
0.006709257125854492, | |
0.00669517707824707, | |
0.00669501781463623, | |
0.006705417156219483, | |
0.006737896919250488, | |
0.006724297046661377, | |
0.006679337978363037, | |
0.006716617107391357, | |
0.0068081369400024416, | |
0.006757896900177002, | |
0.006747497081756592, | |
0.0066770977973937985, | |
0.006703176975250244, | |
0.0067422170639038085, | |
0.006711658000946045, | |
0.00671085786819458, | |
0.006744936943054199, | |
0.006709736824035644, | |
0.006714858055114746, | |
0.006684937000274658, | |
0.0067250971794128415, | |
0.006708776950836182, | |
0.006715978145599365, | |
0.006759497165679931, | |
0.006693256855010986, | |
0.00672333812713623, | |
0.0067638177871704105, | |
0.006752457141876221, | |
0.006905255794525146, | |
0.006895496845245362, | |
0.006755977153778076, | |
0.007453414916992187, | |
0.007370375156402588, | |
0.0074319748878479, | |
0.00745325517654419, | |
0.007351974964141846, | |
0.00759213399887085, | |
0.007358534812927246, | |
0.007366374969482422, | |
0.007424294948577881, | |
0.0073498950004577636, | |
0.007407495021820068, | |
0.007565094947814942, | |
0.007518054008483887, | |
0.007556934833526611, | |
0.007632773876190185, | |
0.007522694110870361, | |
0.007400294780731201, | |
0.007628934860229492, | |
0.0075458941459655765, | |
0.007518855094909668, | |
0.007455813884735108, | |
0.0075486149787902836, | |
0.007629893779754639, | |
0.007533575057983398, | |
0.0075394949913024905, | |
0.007545254230499268, | |
0.007531654834747314, | |
0.007485894203186036, | |
0.007504455089569092, | |
0.00753533411026001, | |
0.007542214870452881, | |
0.0074618949890136715, | |
0.007522853851318359, | |
0.007514054775238037, | |
0.007495974063873291, | |
0.007506855010986328, | |
0.007488934993743896, | |
0.007518854141235352, | |
0.007475494861602783, | |
0.0075439739227294925, | |
0.007528295040130615, | |
0.007529253959655762, | |
0.007493895053863525, | |
0.007483335018157959, | |
0.00765981388092041, | |
0.007510694026947021, | |
0.007492935180664063, | |
0.007513734817504883, | |
0.007602054119110108, | |
0.007577414035797119, | |
0.007540935039520263, | |
0.007560773849487305, | |
0.007641414165496826, | |
0.007522375106811524, | |
0.0075343742370605465, | |
0.007511654853820801, | |
0.007489735126495361, | |
0.007486215114593506, | |
0.007506054878234863, | |
0.007486214160919189, | |
0.007466854095458985, | |
0.007477254867553711, | |
0.007497414112091065, | |
0.007495814800262451, | |
0.007484934806823731, | |
0.007508934020996094, | |
0.007478694915771484, | |
0.00749469518661499, | |
0.007457735061645508 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.39358726006432 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |