IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ad829dc
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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.3", | |
"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": 946.982912, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47096.79104, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0222158203125, | |
"mean": 8.0222158203125, | |
"stdev": 0.0, | |
"p50": 8.0222158203125, | |
"p90": 8.0222158203125, | |
"p95": 8.0222158203125, | |
"p99": 8.0222158203125, | |
"values": [ | |
8.0222158203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.862464, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 237212.884992, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 1.0030574531555176, | |
"mean": 0.0071646960939679835, | |
"stdev": 0.00037430606419756976, | |
"p50": 0.007102169990539551, | |
"p90": 0.007583194828033448, | |
"p95": 0.007632730889320373, | |
"p99": 0.008038914513587948, | |
"values": [ | |
0.007846251964569092, | |
0.007688490867614746, | |
0.007654891014099121, | |
0.007640330791473388, | |
0.007684330940246582, | |
0.007304969787597656, | |
0.007356811046600342, | |
0.007289610862731934, | |
0.007249929904937744, | |
0.007470890998840332, | |
0.008162092208862305, | |
0.006934410095214844, | |
0.006910409927368164, | |
0.006923369884490967, | |
0.006878729820251465, | |
0.006957930088043213, | |
0.006864009857177734, | |
0.006900650024414062, | |
0.007057291030883789, | |
0.007127049922943115, | |
0.007180970191955566, | |
0.006889450073242188, | |
0.006898890018463135, | |
0.0068900899887084964, | |
0.0068545699119567875, | |
0.006871530055999756, | |
0.006911690235137939, | |
0.006983689785003662, | |
0.007002729892730713, | |
0.006895209789276123, | |
0.006999050140380859, | |
0.006968810081481934, | |
0.008366251945495605, | |
0.007415209770202637, | |
0.007457291126251221, | |
0.007448970794677734, | |
0.007292651176452637, | |
0.007418409824371338, | |
0.007416650772094726, | |
0.007372011184692382, | |
0.007317131042480469, | |
0.007518089771270752, | |
0.007526731014251709, | |
0.00756273078918457, | |
0.0075163311958312985, | |
0.007611371040344238, | |
0.007517611026763916, | |
0.0076011309623718265, | |
0.007590250968933105, | |
0.007579211235046387, | |
0.007569611072540283, | |
0.007548810958862305, | |
0.007562891006469726, | |
0.007561611175537109, | |
0.007538889884948731, | |
0.0075764918327331544, | |
0.007570250988006592, | |
0.007591210842132569, | |
0.00756865119934082, | |
0.0075588908195495606, | |
0.0075779309272766115, | |
0.007391049861907959, | |
0.007177771091461182, | |
0.007008490085601807, | |
0.006701930046081543, | |
0.006764490127563477, | |
0.006726569175720215, | |
0.006678090095520019, | |
0.006694570064544678, | |
0.0067024102210998535, | |
0.006730888843536377, | |
0.006672490119934082, | |
0.006723209857940674, | |
0.006744329929351807, | |
0.006723689079284668, | |
0.006959691047668457, | |
0.007156970024108887, | |
0.006916170120239258, | |
0.006933290004730225, | |
0.007370730876922607, | |
0.007219850063323974, | |
0.006695209980010986, | |
0.0069420900344848635, | |
0.00688001012802124, | |
0.0069089698791503906, | |
0.006768330097198487, | |
0.006665929794311524, | |
0.0069635300636291505, | |
0.0067622499465942384, | |
0.006724009990692139, | |
0.006731529235839844, | |
0.006728970050811768, | |
0.006694570064544678, | |
0.006697450160980225, | |
0.006749448776245118, | |
0.0067428889274597165, | |
0.006732009887695313, | |
0.00672992992401123, | |
0.006764490127563477, | |
0.0067267298698425295, | |
0.00670288896560669, | |
0.00701521110534668, | |
0.006711369037628174, | |
0.0069139299392700195, | |
0.0067144098281860356, | |
0.006903210163116455, | |
0.006924489974975586, | |
0.006775050163269043, | |
0.006709449768066407, | |
0.006687530040740967, | |
0.006681768894195556, | |
0.006758729934692383, | |
0.006681290149688721, | |
0.006770890235900879, | |
0.0075540909767150876, | |
0.007632330894470215, | |
0.007596170902252198, | |
0.007408650875091552, | |
0.0070913701057434084, | |
0.0071011300086975095, | |
0.007200331211090088, | |
0.0070889701843261715, | |
0.0075294508934021, | |
0.007523050785064697, | |
0.007602571010589599, | |
0.00758241081237793, | |
0.007561611175537109, | |
0.00756705093383789, | |
0.007548810958862305, | |
0.0075712108612060545, | |
0.00755233097076416, | |
0.0075609698295593265, | |
0.007525771141052246, | |
0.007570411205291748, | |
0.007545451164245606, | |
0.00754033088684082, | |
0.007550411224365235, | |
0.0072220897674560545, | |
0.007169610977172851, | |
0.007103209972381592 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.57326129183738 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |