IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0e1b432 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": 947.396608,
"max_global_vram": 68702.69952,
"max_process_vram": 39337.254912,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9622099609375,
"mean": 7.9622099609375,
"stdev": 0.0,
"p50": 7.9622099609375,
"p90": 7.9622099609375,
"p95": 7.9622099609375,
"p99": 7.9622099609375,
"values": [
7.9622099609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.96896,
"max_global_vram": 68702.69952,
"max_process_vram": 235739.918336,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.005416647911072,
"mean": 0.007030885649727775,
"stdev": 0.00029368638151926505,
"p50": 0.006882411956787109,
"p90": 0.007631693077087403,
"p95": 0.0077083819389343255,
"p99": 0.007743056573867798,
"values": [
0.007633933067321777,
0.007389772891998291,
0.006847852230072021,
0.006807851791381836,
0.006825771808624268,
0.006978251934051514,
0.00697169303894043,
0.006826891899108887,
0.006876651763916016,
0.006805612087249756,
0.008187534332275391,
0.006882411956787109,
0.006841452121734619,
0.006813931941986084,
0.006852652072906494,
0.0068438520431518554,
0.006806252002716065,
0.006884652137756348,
0.006820332050323486,
0.00688817310333252,
0.0068337721824646,
0.00684033203125,
0.006853131771087646,
0.006838252067565918,
0.006829132080078125,
0.00688945198059082,
0.006855212211608887,
0.00687745189666748,
0.0068657717704772945,
0.006894571781158447,
0.00699265193939209,
0.006910892009735108,
0.006851692199707032,
0.006892811775207519,
0.006812491893768311,
0.006879372119903564,
0.006877612113952636,
0.0068315320014953615,
0.006871851921081543,
0.00685505199432373,
0.006816492080688476,
0.006803051948547363,
0.00684417200088501,
0.006835212230682373,
0.0068334522247314455,
0.006854251861572265,
0.007060492992401123,
0.0068884921073913575,
0.006863371849060058,
0.007027212142944336,
0.007068973064422607,
0.006846571922302246,
0.006840971946716309,
0.006859531879425049,
0.006884972095489502,
0.006860812187194824,
0.006976972103118897,
0.006898252964019775,
0.006857451915740967,
0.006879531860351563,
0.006860012054443359,
0.006894092082977295,
0.006881931781768799,
0.006861772060394287,
0.006853772163391113,
0.006880331993103028,
0.006859211921691894,
0.006926251888275147,
0.006868652820587158,
0.006910892009735108,
0.006892012119293213,
0.00685457181930542,
0.006896652221679687,
0.006906092166900635,
0.006892012119293213,
0.006896492004394531,
0.006873133182525634,
0.006836972236633301,
0.006909292221069336,
0.006852652072906494,
0.006852652072906494,
0.006893452167510986,
0.0068456120491027835,
0.0068792119026184085,
0.006861291885375977,
0.0068584117889404295,
0.006855532169342041,
0.006880492210388184,
0.006873133182525634,
0.006846571922302246,
0.006854092121124268,
0.006851692199707032,
0.006993452072143555,
0.007004332065582275,
0.007158732891082763,
0.007214733123779297,
0.0071422519683837895,
0.007242252826690674,
0.006853772163391113,
0.006894092082977295,
0.006833131790161133,
0.0068785719871521,
0.006839211940765381,
0.006819692134857178,
0.006873452186584473,
0.00683761215209961,
0.006884172916412353,
0.006897451877593994,
0.006826571941375733,
0.0070291318893432615,
0.007712173938751221,
0.007698412895202637,
0.0077222537994384765,
0.007697292804718018,
0.007724813938140869,
0.007393292903900147,
0.0074515328407287595,
0.007705934047698974,
0.007433133125305176,
0.007153771877288819,
0.007332492828369141,
0.007454412937164307,
0.007702253818511963,
0.007747693061828613,
0.007736653804779053,
0.007430253028869629,
0.007215053081512451,
0.007176651954650879,
0.007191213130950927,
0.007315213203430176,
0.007622733116149903,
0.007708653926849365,
0.007665772914886474,
0.007729934215545654,
0.0076566519737243655,
0.0071708931922912595,
0.007151052951812744,
0.007274571895599365,
0.007226412773132324,
0.007237133026123047,
0.0069502520561218264,
0.007063693046569825,
0.006844011783599854
]
},
"throughput": {
"unit": "samples/s",
"value": 142.22959237556628
},
"energy": null,
"efficiency": null
}
}
}