IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9925746 verified
raw
history blame
12 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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1094.10304,
"max_global_vram": 68702.69952,
"max_process_vram": 3907.989504,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.06904043579101563
],
"count": 1,
"total": 0.06904043579101563,
"mean": 0.06904043579101563,
"p50": 0.06904043579101563,
"p90": 0.06904043579101563,
"p95": 0.06904043579101563,
"p99": 0.06904043579101563,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1223.852032,
"max_global_vram": 68702.69952,
"max_process_vram": 243537.547264,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"values": [
0.007063371181488037,
0.0069124908447265624,
0.006945611000061035,
0.006962891101837158,
0.006933290958404541,
0.006966890811920166,
0.0069638509750366215,
0.006909770965576172,
0.0068574509620666505,
0.0068739309310913085,
0.0069144110679626464,
0.0068665709495544435,
0.006978411197662354,
0.006916491031646729,
0.006973772048950195,
0.0069094510078430175,
0.006949611186981201,
0.00694257116317749,
0.006960491180419922,
0.006936171054840088,
0.0069803309440612795,
0.006955211162567139,
0.006988811016082764,
0.0069880118370056156,
0.006923211097717285,
0.006952651023864746,
0.006916650772094727,
0.0069588909149169926,
0.006983691215515136,
0.006942251205444336,
0.006913771152496338,
0.006910571098327637,
0.007009931087493896,
0.006982892036437988,
0.006973771095275879,
0.0069944109916687015,
0.006963531017303467,
0.007007211208343506,
0.006982730865478516,
0.007000811100006103,
0.006990732192993164,
0.006952651023864746,
0.006991850852966309,
0.006974891185760498,
0.007012331008911133,
0.006974571228027344,
0.006993610858917237,
0.007124170780181884,
0.007022891044616699,
0.0070324912071228025,
0.007008810997009277,
0.00698609209060669,
0.007004490852355957,
0.006973451137542725,
0.006992811203002929,
0.00695025110244751,
0.006963050842285156,
0.007003370761871338,
0.007015532016754151,
0.006950571060180664,
0.006971371173858642,
0.006995690822601318,
0.006970410823822022,
0.00696065092086792,
0.0069731311798095705,
0.007001771926879883,
0.006985130786895752,
0.006971850872039795,
0.007002730846405029,
0.0077918519973754884,
0.00790945291519165,
0.007830732822418213,
0.0076731319427490235,
0.007486092090606689,
0.007880331993103028,
0.007866413116455077,
0.007503851890563965,
0.0073049721717834476,
0.007371370792388916,
0.007377932071685791,
0.00744401216506958,
0.007943693161010743,
0.007329610824584961,
0.007311532020568848,
0.007394251823425293,
0.007425131797790527,
0.007833452224731445,
0.0075233721733093265,
0.007464171886444092,
0.007377612113952637,
0.007325292110443115,
0.007472811222076416,
0.007348491191864014,
0.007355532169342041,
0.00750897216796875,
0.007234251976013183,
0.007030731201171875,
0.007154251098632812,
0.007093292236328125,
0.007120810985565186,
0.007106571197509765,
0.007027852058410645,
0.007053290843963623,
0.007066891193389892,
0.00703761100769043,
0.0070248122215271,
0.007008171081542969,
0.007101291179656982,
0.007030410766601563,
0.007060811996459961,
0.007031210899353027,
0.007066411018371582,
0.007046411037445069,
0.0070017709732055665,
0.007099691867828369,
0.007059851169586182,
0.007079851150512695,
0.00709201192855835,
0.007119370937347412,
0.007015531063079834,
0.007108491897583008,
0.007077451229095459,
0.007063850879669189,
0.0070806508064270015,
0.007215531826019287,
0.00727921199798584,
0.007017770767211914,
0.007078411102294922,
0.007019210815429688,
0.0070208110809326174,
0.0070260920524597165,
0.007111851215362549,
0.00703105115890503,
0.0070401721000671385,
0.007052650928497314,
0.007042410850524902,
0.007100650787353516,
0.007033452033996582,
0.007020491123199463,
0.007057290077209472,
0.007062730789184571
],
"count": 141,
"total": 1.002175678730011,
"mean": 0.007107628927163199,
"p50": 0.007020491123199463,
"p90": 0.00744401216506958,
"p95": 0.0076731319427490235,
"p99": 0.007897804546356201,
"stdev": 0.00023414062590896095,
"stdev_": 3.294215670350299
},
"throughput": {
"unit": "samples/s",
"value": 140.69389528458692
},
"energy": null,
"efficiency": null
}
}
}