IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3a8a1a5 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "0",
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "1173614d292a81ced361d45dc81b00032c019f3c",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.10944,
"max_global_vram": 3161.952256,
"max_process_vram": 49548.12416,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.420392578125,
"mean": 8.420392578125,
"stdev": 0.0,
"p50": 8.420392578125,
"p90": 8.420392578125,
"p95": 8.420392578125,
"p99": 8.420392578125,
"values": [
8.420392578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.823232,
"max_global_vram": 3225.493504,
"max_process_vram": 236084.703232,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.004850525856018,
"mean": 0.007126599474156157,
"stdev": 0.0004770220985355258,
"p50": 0.007038053989410401,
"p90": 0.0077489309310913084,
"p95": 0.007970850944519043,
"p99": 0.008181409263610839,
"values": [
0.007970850944519043,
0.007933890819549561,
0.008092289924621581,
0.008103810310363769,
0.008209889411926269,
0.008109410285949708,
0.008026849746704102,
0.007954211235046386,
0.007915650844573975,
0.007655652046203614,
0.008138689041137695,
0.007565892219543457,
0.0076942119598388675,
0.007366373062133789,
0.007378052234649659,
0.007265412807464599,
0.007553731918334961,
0.0075719718933105465,
0.007738051891326904,
0.007766530990600586,
0.007702530860900879,
0.007722372055053711,
0.007690530776977539,
0.007699972152709961,
0.007463491916656494,
0.007511651992797851,
0.00783293104171753,
0.007774052143096924,
0.0077489309310913084,
0.0077006111145019535,
0.008966206550598144,
0.007577571868896484,
0.0073676519393920895,
0.007360292911529541,
0.007350693225860596,
0.0073588528633117675,
0.007305412769317627,
0.0073297319412231445,
0.007302372932434082,
0.007352773189544678,
0.007326532840728759,
0.007324452877044678,
0.007311973094940185,
0.007324613094329834,
0.007346532821655274,
0.007335813045501709,
0.0073442931175231934,
0.007351172924041748,
0.007318693161010742,
0.007332773208618164,
0.007268613815307618,
0.007323812007904053,
0.007319333076477051,
0.007312613010406494,
0.00731885290145874,
0.0073350129127502444,
0.007279973030090332,
0.007332452774047852,
0.007296772956848144,
0.00732429313659668,
0.006896295070648193,
0.007001574039459228,
0.006682694911956787,
0.006651014804840088,
0.006998213768005371,
0.006756454944610596,
0.006605576038360596,
0.006997893810272217,
0.006842054843902588,
0.0064849362373352055,
0.00645197582244873,
0.006661894798278808,
0.006913734912872315,
0.006832135200500488,
0.006916614055633545,
0.006736615180969238,
0.006783174991607666,
0.006959973812103271,
0.006616615772247315,
0.006624135017395019,
0.006874855041503906,
0.006735175132751465,
0.006723814964294433,
0.006699655055999756,
0.006465576171875,
0.006627816200256348,
0.006473415851593017,
0.0067009348869323734,
0.006619656085968017,
0.006801414966583252,
0.006955655097961426,
0.006782215118408203,
0.006627814769744873,
0.006455175876617432,
0.006442377090454102,
0.006670536041259766,
0.0067218952178955075,
0.006725094795227051,
0.006988773822784424,
0.0064567761421203615,
0.0065038161277771,
0.006643655776977539,
0.0066897358894348145,
0.006476136207580566,
0.006422376155853272,
0.006693894863128662,
0.007146374225616455,
0.006857894897460938,
0.007011973857879638,
0.007044134140014649,
0.006737895011901855,
0.007346531867980957,
0.007329893112182617,
0.007350372791290283,
0.007311013221740723,
0.007345413208007813,
0.006991494178771973,
0.007218052864074707,
0.006903174877166748,
0.00693165397644043,
0.007042213916778565,
0.00679981517791748,
0.006939973831176758,
0.006964294910430908,
0.006654695034027099,
0.0069022150039672854,
0.00687101411819458,
0.007038053989410401,
0.0070319738388061525,
0.0066985349655151365,
0.0066346960067749025,
0.006667015075683594,
0.0068404550552368165,
0.006467175960540771,
0.006682374954223633,
0.0064695758819580075,
0.006476615905761719,
0.006678696155548096,
0.006652935028076172,
0.006663654804229736,
0.007198214054107666
]
},
"throughput": {
"unit": "samples/s",
"value": 140.31937723263275
},
"energy": null,
"efficiency": null
}
}
}