IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1bd58a7 verified
raw
history blame
11.9 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": 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": 1070.46912,
"max_global_vram": 68702.69952,
"max_process_vram": 47784.40704,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.5131884765625,
"mean": 8.5131884765625,
"stdev": 0.0,
"p50": 8.5131884765625,
"p90": 8.5131884765625,
"p95": 8.5131884765625,
"p99": 8.5131884765625,
"values": [
8.5131884765625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1200.365568,
"max_global_vram": 68702.69952,
"max_process_vram": 242736.316416,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 141,
"total": 1.0006983208656313,
"mean": 0.007097151211812988,
"stdev": 0.0008001373526707206,
"p50": 0.0069030518531799315,
"p90": 0.0074966540336608885,
"p95": 0.007527373790740967,
"p99": 0.007811471176147461,
"values": [
0.007845455169677735,
0.007302573204040527,
0.007207373142242432,
0.0069030518531799315,
0.00692577314376831,
0.006960652828216553,
0.007072012901306152,
0.00685073184967041,
0.007760495185852051,
0.006889612197875977,
0.00676209306716919,
0.006725612163543701,
0.006656012058258057,
0.006683692932128906,
0.00669185209274292,
0.0066969718933105465,
0.0066662530899047855,
0.006679212093353272,
0.006707851886749268,
0.0066688132286071775,
0.006679212093353272,
0.006700972080230713,
0.006699372768402099,
0.01538882827758789,
0.0074416141510009765,
0.006634891986846924,
0.006686731815338135,
0.006635531902313232,
0.006655852794647216,
0.0068510518074035645,
0.006646731853485108,
0.006591532230377197,
0.006718731880187988,
0.006537772178649902,
0.006620172023773193,
0.0066209731101989746,
0.006625932216644287,
0.006655692100524902,
0.006638411998748779,
0.006621292114257812,
0.006603053092956543,
0.006786732196807861,
0.0066473717689514164,
0.006635212898254394,
0.006815371990203857,
0.006627371788024902,
0.007113933086395264,
0.007359854221343994,
0.006804811954498291,
0.006805132865905761,
0.006847533226013183,
0.0070619330406188965,
0.007457612991333008,
0.0074251341819763185,
0.007460813999176025,
0.007399212837219238,
0.007396014213562012,
0.007417133808135986,
0.007415692806243896,
0.007423054218292236,
0.007428493976593018,
0.007419053077697754,
0.007402254104614258,
0.00745073413848877,
0.007421452999114991,
0.007438573837280273,
0.007466574192047119,
0.00745585298538208,
0.007454574108123779,
0.007436014175415039,
0.007439053058624268,
0.007417933940887451,
0.007455373764038086,
0.0074862542152404786,
0.007489933013916016,
0.007521934032440185,
0.00748129415512085,
0.007475374221801757,
0.007527053833007813,
0.007480813026428223,
0.007530094146728516,
0.007542253971099854,
0.007476173877716065,
0.007510893821716309,
0.0074907331466674805,
0.007532814025878906,
0.007527373790740967,
0.007528334140777588,
0.0074966540336608885,
0.007499214172363281,
0.00746129322052002,
0.007513294219970703,
0.0071928129196166994,
0.006573613166809082,
0.006677132129669189,
0.0066681718826293946,
0.006693132877349853,
0.0066566519737243654,
0.006657291889190673,
0.00667441177368164,
0.006668013095855713,
0.006663852214813233,
0.006624971866607666,
0.006648972034454346,
0.006611532211303711,
0.0066683320999145505,
0.0066614518165588376,
0.006650251865386963,
0.006613612174987793,
0.0066166529655456545,
0.006615372180938721,
0.006622891902923584,
0.0066371321678161625,
0.006632651805877686,
0.006645933151245117,
0.0066235318183898925,
0.00665313196182251,
0.00663505220413208,
0.006641293048858642,
0.006624812126159668,
0.006579051971435547,
0.006607532024383545,
0.006597772121429444,
0.006824812889099121,
0.007466732978820801,
0.007451694011688232,
0.00745345401763916,
0.007442093849182129,
0.007412172794342041,
0.007445134162902832,
0.007520654201507568,
0.007174892902374268,
0.007078252792358399,
0.007257613182067871,
0.007145772933959961,
0.007350253105163574,
0.007400814056396484,
0.007440332889556885,
0.007469133853912353,
0.007474413871765137,
0.007484972953796387
]
},
"throughput": {
"unit": "samples/s",
"value": 140.90160546890013
},
"energy": null,
"efficiency": null
}
}
}