IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
dcb5549 verified
raw
history blame
11.8 kB
{
"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": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1094.443008,
"max_global_vram": 68702.69952,
"max_process_vram": 4911.816704,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07879838562011719
],
"count": 1,
"total": 0.07879838562011719,
"mean": 0.07879838562011719,
"p50": 0.07879838562011719,
"p90": 0.07879838562011719,
"p95": 0.07879838562011719,
"p99": 0.07879838562011719,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1224.368128,
"max_global_vram": 68702.69952,
"max_process_vram": 242735.886336,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"values": [
0.007998573780059814,
0.007838573932647705,
0.009296336174011231,
0.007396173000335693,
0.006682091236114502,
0.006725931167602539,
0.007334893226623535,
0.00799601411819458,
0.008006254196166991,
0.007974413871765137,
0.007960494041442872,
0.007963374137878418,
0.00797585391998291,
0.008036654472351074,
0.007981774806976318,
0.007980814933776855,
0.008014893531799317,
0.007990094184875488,
0.00799329376220703,
0.0079785737991333,
0.007982573986053466,
0.007787693977355957,
0.007591533184051514,
0.007583054065704345,
0.007575532913208008,
0.007556653022766114,
0.007587533950805664,
0.007572652816772461,
0.00756865406036377,
0.007601772785186768,
0.00757569408416748,
0.007617773056030274,
0.0075584139823913574,
0.007599213123321533,
0.007569293975830078,
0.007596972942352295,
0.007590892791748047,
0.007582893848419189,
0.007571053028106689,
0.007603854179382324,
0.007566893100738525,
0.007594734191894531,
0.007582413196563721,
0.007565133094787598,
0.00759537410736084,
0.0074747328758239745,
0.007153293132781982,
0.006914892196655273,
0.007087532997131348,
0.006693450927734375,
0.0066963319778442386,
0.006660171985626221,
0.006684011936187744,
0.00667169189453125,
0.00664545202255249,
0.006679211139678955,
0.006660491943359375,
0.006647851943969727,
0.006878411769866944,
0.006670251846313476,
0.006659852027893066,
0.006854092121124268,
0.006658092021942139,
0.006693451881408691,
0.006691531181335449,
0.006678572177886963,
0.0067638521194458,
0.007599534034729004,
0.007583373069763184,
0.007624653816223145,
0.007619052886962891,
0.00761233377456665,
0.007631853103637696,
0.007615694046020508,
0.007475852966308594,
0.0071971330642700195,
0.007247692108154297,
0.007271693229675293,
0.007596653938293457,
0.007616172790527344,
0.007613453865051269,
0.0076380929946899415,
0.00760353422164917,
0.007630413055419922,
0.0076299338340759274,
0.0075952129364013675,
0.00762545394897461,
0.007601933002471924,
0.007288332939147949,
0.0068865718841552735,
0.007026732921600342,
0.007107532024383545,
0.007178092956542969,
0.007081772804260254,
0.006697132110595703,
0.00670465087890625,
0.006889772891998291,
0.006688811779022217,
0.006650890827178955,
0.006881612777709961,
0.006874092102050781,
0.006866092205047607,
0.006814891815185547,
0.006680012226104736,
0.006649611949920654,
0.006648810863494873,
0.006693771839141846,
0.0067281718254089354,
0.006677772045135498,
0.006660171985626221,
0.0066681718826293946,
0.006682570934295654,
0.006668972015380859,
0.00667217206954956,
0.00666945219039917,
0.006835852146148682,
0.006659532070159912,
0.006640010833740234,
0.006663850784301758,
0.006838091850280762,
0.00685985279083252,
0.006912171840667725,
0.007897453784942627,
0.007705772876739502,
0.007486894130706787,
0.006878252029418945,
0.006866412162780762,
0.006948812007904053,
0.0068054509162902834,
0.006844653129577637,
0.006900492191314697,
0.006895051956176758,
0.00696257209777832,
0.0069340929985046386,
0.0068785719871521,
0.006904012203216553,
0.006640652179718018
],
"count": 137,
"total": 0.9918454322814944,
"mean": 0.007239747680886818,
"p50": 0.0071971330642700195,
"p90": 0.007967790031433105,
"p95": 0.007990734100341797,
"p99": 0.00802882053375244,
"stdev": 0.0005026265828641663,
"stdev_": 6.942598071354306
},
"throughput": {
"unit": "samples/s",
"value": 138.12636076254898
},
"energy": null,
"efficiency": null
}
}
}