IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ec60272 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": "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": 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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1094.49216,
"max_global_vram": 68702.69952,
"max_process_vram": 3901.50144,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.0750770263671875
],
"count": 1,
"total": 0.0750770263671875,
"mean": 0.0750770263671875,
"p50": 0.0750770263671875,
"p90": 0.0750770263671875,
"p95": 0.0750770263671875,
"p99": 0.0750770263671875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1224.167424,
"max_global_vram": 68702.69952,
"max_process_vram": 245149.835264,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"values": [
0.007408295154571533,
0.007091976165771484,
0.007086855888366699,
0.007131015777587891,
0.007235176086425781,
0.0072623748779296875,
0.007155176162719727,
0.018510175704956056,
0.007489574909210205,
0.006829896926879883,
0.006820617198944091,
0.006774537086486817,
0.0068228569030761715,
0.006793736934661865,
0.006948777198791504,
0.006810536861419678,
0.006954535961151123,
0.006742218017578125,
0.006771656990051269,
0.0067798171043396,
0.006767336845397949,
0.006781897068023682,
0.006759336948394775,
0.006754217147827149,
0.006769577980041504,
0.00676013708114624,
0.006756937026977539,
0.006918696880340576,
0.006763337135314941,
0.006767977237701416,
0.006714217185974121,
0.00678365707397461,
0.006743337154388428,
0.0067470169067382815,
0.006764616966247559,
0.0067468581199645996,
0.00672301721572876,
0.006735177040100098,
0.006721897125244141,
0.006727337837219238,
0.006760937213897705,
0.006747817039489746,
0.006773097038269043,
0.006756937026977539,
0.00674573802947998,
0.00674541711807251,
0.007012775897979736,
0.006716777801513672,
0.006965897083282471,
0.006781096935272217,
0.006719017028808593,
0.006806217193603516,
0.006798536777496338,
0.006775177955627441,
0.0067732567787170414,
0.006838057041168213,
0.006746216773986817,
0.00675741720199585,
0.006771976947784424,
0.006738216876983643,
0.006925096988677978,
0.0067916569709777835,
0.0067426967620849605,
0.006739498138427735,
0.006712296962738037,
0.006730377197265625,
0.006767336845397949,
0.006931817054748535,
0.0067777371406555174,
0.007050695896148681,
0.007627655029296875,
0.007575493812561035,
0.007673893928527832,
0.007652133941650391,
0.007615814208984375,
0.007664134979248047,
0.007662213802337646,
0.007577414035797119,
0.007641734123229981,
0.007629895210266113,
0.007634853839874268,
0.0076494140625,
0.007620294094085694,
0.00764893388748169,
0.0076532549858093265,
0.007579174041748047,
0.007597253799438476,
0.007594214916229248,
0.007608294010162353,
0.007502055168151856,
0.0076748538017272945,
0.007379654884338379,
0.007403494834899903,
0.007441895008087158,
0.007471815109252929,
0.007477574825286866,
0.0074740548133850095,
0.007462055206298828,
0.00745069408416748,
0.007433255195617675,
0.007468935012817383,
0.007412614822387695,
0.007422214984893799,
0.007449735164642334,
0.007430854797363281,
0.007444455146789551,
0.007425574779510498,
0.007436133861541748,
0.007412934780120849,
0.007424135208129883,
0.007438214778900146,
0.007433414936065674,
0.0074374151229858396,
0.0074042949676513675,
0.007431175231933594,
0.006897896766662598,
0.006538057804107666,
0.0065409369468688965,
0.0065522980690002446,
0.006540617942810059,
0.006532457828521729,
0.006542218208312988,
0.006550057888031006,
0.006525897979736328,
0.006548297882080078,
0.006552137851715088,
0.006551817893981933,
0.006556296825408935,
0.006518537998199463,
0.006561898231506348,
0.006550858020782471,
0.006562057971954346,
0.006589898109436035,
0.006554057121276855,
0.006556938171386719,
0.006561576843261719,
0.00656397819519043,
0.006532137870788574,
0.006579977989196777,
0.0065578980445861815,
0.006554697990417481
],
"count": 141,
"total": 0.9997492632865902,
"mean": 0.007090420306997095,
"p50": 0.006793736934661865,
"p90": 0.007615814208984375,
"p95": 0.0076494140625,
"p99": 0.00767446985244751,
"stdev": 0.001040946283908759,
"stdev_": 14.681023674739194
},
"throughput": {
"unit": "samples/s",
"value": 141.0353627433288
},
"energy": null,
"efficiency": null
}
}
}