IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7239626
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": "6", | |
"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.2", | |
"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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1036.361728, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 40722.82112, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.958953125, | |
"mean": 7.958953125, | |
"stdev": 0.0, | |
"p50": 7.958953125, | |
"p90": 7.958953125, | |
"p95": 7.958953125, | |
"p99": 7.958953125, | |
"values": [ | |
7.958953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1165.754368, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 233946.980352, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0039284887313846, | |
"mean": 0.007222507113175428, | |
"stdev": 0.0014163668193017118, | |
"p50": 0.006940970897674561, | |
"p90": 0.007456458854675293, | |
"p95": 0.007775691127777099, | |
"p99": 0.014101434431076096, | |
"values": [ | |
0.007342570781707763, | |
0.007252009868621826, | |
0.00719265079498291, | |
0.0072027301788330075, | |
0.007018569946289062, | |
0.006877130031585694, | |
0.007020970821380615, | |
0.006875370025634766, | |
0.007147689819335937, | |
0.006918089866638184, | |
0.006907849788665771, | |
0.006909930229187012, | |
0.006925769805908203, | |
0.006881609916687011, | |
0.006878089904785156, | |
0.00692864990234375, | |
0.00691008996963501, | |
0.006918570041656494, | |
0.006932010173797607, | |
0.0069446501731872555, | |
0.006931210041046142, | |
0.006937610149383545, | |
0.006938250064849854, | |
0.0069230499267578125, | |
0.006915530204772949, | |
0.0069280099868774415, | |
0.00698705005645752, | |
0.00694064998626709, | |
0.006941289901733399, | |
0.00697921085357666, | |
0.006932169914245606, | |
0.006933450222015381, | |
0.0069304099082946775, | |
0.006923369884490967, | |
0.006921770095825196, | |
0.01953890800476074, | |
0.007171690940856934, | |
0.006948329925537109, | |
0.006973130226135254, | |
0.006958409786224366, | |
0.006917769908905029, | |
0.006891049861907959, | |
0.00696081018447876, | |
0.006953289985656738, | |
0.006921450138092041, | |
0.006939849853515625, | |
0.0069206500053405765, | |
0.006944009780883789, | |
0.006898890018463135, | |
0.006931529998779297, | |
0.006975850105285644, | |
0.006948969841003418, | |
0.006935850143432617, | |
0.006935689926147461, | |
0.006906889915466309, | |
0.006911530017852783, | |
0.006966249942779541, | |
0.006954730987548828, | |
0.006922249794006348, | |
0.006917290210723877, | |
0.0069401698112487795, | |
0.006969610214233399, | |
0.006946889877319336, | |
0.006976650238037109, | |
0.006937449932098389, | |
0.006921130180358887, | |
0.006964330196380615, | |
0.006953929901123047, | |
0.006942249774932861, | |
0.006923369884490967, | |
0.006893449783325195, | |
0.006925610065460205, | |
0.006893610000610352, | |
0.006948329925537109, | |
0.006911049842834473, | |
0.006946889877319336, | |
0.006924650192260742, | |
0.006883369922637939, | |
0.006882410049438476, | |
0.0069280099868774415, | |
0.006923689842224121, | |
0.00687520980834961, | |
0.007632650852203369, | |
0.007029129981994629, | |
0.00695697021484375, | |
0.006972330093383789, | |
0.00693248987197876, | |
0.006962250232696534, | |
0.006948490142822266, | |
0.006930089950561523, | |
0.006907690048217774, | |
0.006922729969024658, | |
0.006919370174407959, | |
0.006907849788665771, | |
0.006949769973754883, | |
0.0069464101791381835, | |
0.006890250205993652, | |
0.00691008996963501, | |
0.006908810138702393, | |
0.00690241003036499, | |
0.006974569797515869, | |
0.006891530036926269, | |
0.006886889934539795, | |
0.006967689990997315, | |
0.006971529960632324, | |
0.006920169830322265, | |
0.006920169830322265, | |
0.006931529998779297, | |
0.006895528793334961, | |
0.006940970897674561, | |
0.007775051116943359, | |
0.00782033109664917, | |
0.007781451225280762, | |
0.007611690998077392, | |
0.007289930820465088, | |
0.007220489978790283, | |
0.007195371150970459, | |
0.00758241081237793, | |
0.007742411136627198, | |
0.007388650894165039, | |
0.007348810195922852, | |
0.007337450981140137, | |
0.007833771228790283, | |
0.007820332050323486, | |
0.007781930923461914, | |
0.0074360108375549315, | |
0.007282410144805908, | |
0.007370891094207764, | |
0.01794290542602539, | |
0.007724010944366455, | |
0.007538250923156738, | |
0.007332009792327881, | |
0.007312329769134521, | |
0.0074024109840393065, | |
0.007372651100158691, | |
0.0072240099906921386, | |
0.007065289974212646, | |
0.00693297004699707, | |
0.006926730155944825 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.45607686225492 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |