IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
729c686 verified
raw
history blame
11.8 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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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": "e185b4a299427f88d515b3c18d3c0c0dc8e91cd8",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.27328,
"max_global_vram": 875.33568,
"max_process_vram": 39609.11872,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.85311767578125,
"mean": 6.85311767578125,
"stdev": 0.0,
"p50": 6.85311767578125,
"p90": 6.85311767578125,
"p95": 6.85311767578125,
"p99": 6.85311767578125,
"values": [
6.85311767578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.015744,
"max_global_vram": 938.876928,
"max_process_vram": 227818.43456,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.0009951004981992,
"mean": 0.006763480408771618,
"stdev": 0.0012971021887702627,
"p50": 0.006525171518325806,
"p90": 0.0068588861942291265,
"p95": 0.007281545305252076,
"p99": 0.013096994991302499,
"values": [
0.007285017013549805,
0.007372858047485352,
0.0073229379653930666,
0.007386938095092773,
0.007275097846984864,
0.008477987289428711,
0.006989335060119629,
0.007006296157836914,
0.006905814170837402,
0.006838774204254151,
0.006807414054870606,
0.006762613773345947,
0.006728212833404541,
0.006690453052520752,
0.006729012966156006,
0.006681492805480957,
0.006672051906585694,
0.006715572834014892,
0.006732213020324707,
0.0066819720268249515,
0.006700532913208008,
0.006656692981719971,
0.007873342037200928,
0.006908374786376953,
0.006497170925140381,
0.00647973108291626,
0.006487570762634278,
0.006488690853118897,
0.00642789077758789,
0.006443251132965088,
0.006416689872741699,
0.006543412208557129,
0.006457651138305664,
0.00646725082397461,
0.006467091083526611,
0.006478291034698486,
0.006497651100158691,
0.006464211940765381,
0.0064950909614562985,
0.006493491172790527,
0.01803358459472656,
0.006396369934082031,
0.006526291847229004,
0.006513330936431885,
0.006553651809692383,
0.006680053234100342,
0.006517651081085205,
0.006534292221069336,
0.006515730857849121,
0.006492531776428222,
0.006626932144165039,
0.006509490966796875,
0.006482771873474121,
0.006484371185302734,
0.006499411106109619,
0.006574771881103516,
0.00651397180557251,
0.006499250888824463,
0.0065061311721801756,
0.0065378122329711914,
0.006521652221679688,
0.006537651062011719,
0.006667733192443848,
0.006540371894836426,
0.0065232510566711425,
0.006530131816864014,
0.006546771049499512,
0.006519092082977295,
0.006567091941833496,
0.006548692226409912,
0.006523410797119141,
0.006516692161560059,
0.006504051208496094,
0.006525170803070068,
0.006501010894775391,
0.00649781084060669,
0.00648197078704834,
0.006507252216339111,
0.006515730857849121,
0.006526772022247314,
0.006530930995941162,
0.006515411853790283,
0.006554612159729004,
0.006546771049499512,
0.006514291763305664,
0.006547892093658447,
0.006536371231079101,
0.006501651763916015,
0.006500210762023926,
0.006547252178192139,
0.006496370792388916,
0.006525172233581543,
0.006503410816192627,
0.006501491069793701,
0.00655317211151123,
0.0065230908393859866,
0.006519571781158447,
0.0065547719001770016,
0.006488531112670898,
0.006684213161468506,
0.006492850780487061,
0.006504530906677246,
0.006940854072570801,
0.006834134101867676,
0.00701253604888916,
0.006824374198913574,
0.006806132793426514,
0.017193096160888672,
0.006702932834625244,
0.006558931827545166,
0.006643092155456543,
0.0066243729591369625,
0.006533650875091552,
0.006589171886444092,
0.006586932182312012,
0.006588051795959473,
0.006518771171569824,
0.006505011081695556,
0.006481010913848877,
0.006503571033477784,
0.006484850883483887,
0.006537012100219727,
0.006616211891174316,
0.006691253185272217,
0.006665493011474609,
0.006533491134643555,
0.006530131816864014,
0.006527091979980469,
0.006506930828094482,
0.006511570930480957,
0.006515252113342285,
0.006512691020965576,
0.006481812000274658,
0.006500370979309082,
0.006488690853118897,
0.0065218119621276854,
0.006493171215057373,
0.00649781084060669,
0.006474930763244629,
0.006538131237030029,
0.006455410957336425,
0.006493970870971679,
0.006486452102661132,
0.006541650772094726,
0.0065096521377563474,
0.006416049957275391,
0.006475090980529785,
0.006492051124572754
]
},
"throughput": {
"unit": "samples/s",
"value": 147.85287153387642
},
"energy": null,
"efficiency": null
}
}
}