IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3803a99 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",
"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.332416,
"max_global_vram": 68702.69952,
"max_process_vram": 4158.656512,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07064780426025391
],
"count": 1,
"total": 0.07064780426025391,
"mean": 0.07064780426025391,
"p50": 0.07064780426025391,
"p90": 0.07064780426025391,
"p95": 0.07064780426025391,
"p99": 0.07064780426025391,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1224.146944,
"max_global_vram": 68702.69952,
"max_process_vram": 248362.561536,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"values": [
0.007199532985687256,
0.00690177297592163,
0.006973292827606201,
0.006916333198547364,
0.006871372222900391,
0.006927692890167236,
0.006930412769317627,
0.006905932903289795,
0.006930411815643311,
0.00696401309967041,
0.006955692768096924,
0.00694769287109375,
0.006927052974700928,
0.006932652950286865,
0.006906891822814941,
0.006970572948455811,
0.006918252944946289,
0.006924172878265381,
0.006957452774047851,
0.006905611991882324,
0.006920813083648681,
0.006934412956237793,
0.006953292846679687,
0.006961452960968018,
0.006956171989440918,
0.00697553300857544,
0.0069700927734375,
0.006974092960357666,
0.006970892906188965,
0.006965133190155029,
0.006919692993164062,
0.006977453231811524,
0.006950411796569824,
0.006983373165130615,
0.006926252841949463,
0.006917293071746826,
0.006948653221130371,
0.0069414529800415035,
0.006998732089996338,
0.006984652996063233,
0.007051053047180175,
0.007003852844238281,
0.006987213134765625,
0.00698593282699585,
0.006980173110961914,
0.007031532764434814,
0.0070008130073547364,
0.00713873291015625,
0.007039692878723145,
0.006992652893066407,
0.007056653022766113,
0.00701041316986084,
0.00700225305557251,
0.006959212779998779,
0.006950092792510986,
0.007007692813873291,
0.0073468928337097165,
0.007236493110656738,
0.007244654178619385,
0.00710817289352417,
0.007167212963104248,
0.006993612766265869,
0.007038893222808838,
0.006993133068084717,
0.007080333232879639,
0.006938733100891113,
0.006978892803192139,
0.0069321727752685545,
0.006965772151947021,
0.006990572929382324,
0.006998733043670654,
0.006962893009185791,
0.006970413208007812,
0.006966893196105957,
0.006993133068084717,
0.0069531331062316895,
0.006912812232971192,
0.007192813873291016,
0.007335372924804687,
0.006976172924041748,
0.006996653079986572,
0.0069745731353759765,
0.006992493152618408,
0.007000332832336426,
0.0070100932121276854,
0.006965932846069336,
0.007001132965087891,
0.006991211891174316,
0.006969293117523193,
0.0070006527900695805,
0.006995052814483643,
0.006980813026428222,
0.006954732894897461,
0.006917772769927978,
0.007327373027801514,
0.007776975154876709,
0.007845613956451416,
0.007893455028533936,
0.007421133995056152,
0.0077168140411376955,
0.007816174030303956,
0.007861774921417236,
0.0075107340812683105,
0.007338572978973388,
0.00741249418258667,
0.007379053115844726,
0.007308012962341308,
0.00780497407913208,
0.007501294136047363,
0.0073467340469360355,
0.007384172916412354,
0.007420494079589844,
0.007368494033813477,
0.00741761302947998,
0.007830894947052002,
0.007692654132843018,
0.007370254039764404,
0.007392333030700683,
0.007404493808746338,
0.007432653903961182,
0.007500813961029053,
0.007310092926025391,
0.0073259339332580565,
0.007044493198394775,
0.007264973163604737,
0.007177933216094971,
0.007088653087615967,
0.006950413227081299,
0.006926093101501465,
0.00693569278717041,
0.006948012828826905,
0.00710209321975708,
0.0070294528007507325,
0.006928493022918701,
0.0071334528923034666,
0.007176652908325195,
0.006931053161621094,
0.007013613224029541,
0.006993772983551025,
0.006962092876434326,
0.0069809708595275875
],
"count": 141,
"total": 1.0019232869148256,
"mean": 0.00710583891428954,
"p50": 0.006992652893066407,
"p90": 0.007420494079589844,
"p95": 0.0077168140411376955,
"p99": 0.007855310535430909,
"stdev": 0.00024326093902392616,
"stdev_": 3.423395069296305
},
"throughput": {
"unit": "samples/s",
"value": 140.72933710740932
},
"energy": null,
"efficiency": null
}
}
}