IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b43776d
verified
{ | |
"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": "5", | |
"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.34624, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48941.305856, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2657734375, | |
"mean": 8.2657734375, | |
"stdev": 0.0, | |
"p50": 8.2657734375, | |
"p90": 8.2657734375, | |
"p95": 8.2657734375, | |
"p99": 8.2657734375, | |
"values": [ | |
8.2657734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1200.226304, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 207867.428864, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.0055171651840205, | |
"mean": 0.006982758091555703, | |
"stdev": 0.00039109627412791553, | |
"p50": 0.006894543170928955, | |
"p90": 0.007282061910629273, | |
"p95": 0.007676963996887207, | |
"p99": 0.008679380083084099, | |
"values": [ | |
0.007288301944732666, | |
0.007302220821380615, | |
0.007398382186889648, | |
0.007049582004547119, | |
0.007156782150268555, | |
0.0071356620788574215, | |
0.00705422306060791, | |
0.007078382015228271, | |
0.008048460006713868, | |
0.0069601421356201175, | |
0.0069329428672790525, | |
0.006963181972503662, | |
0.0069342231750488285, | |
0.006993261814117432, | |
0.006937102794647217, | |
0.006930542945861816, | |
0.006954222202301025, | |
0.006914863109588623, | |
0.006899662971496582, | |
0.006899822235107422, | |
0.006886703014373779, | |
0.006894543170928955, | |
0.0069060630798339845, | |
0.006925742149353028, | |
0.006979823112487793, | |
0.006970702171325683, | |
0.006938703060150146, | |
0.006927823066711426, | |
0.006933901786804199, | |
0.0078012609481811525, | |
0.009155337333679198, | |
0.006656784057617188, | |
0.006567183017730713, | |
0.0065371041297912595, | |
0.006526062965393067, | |
0.006507023811340332, | |
0.006519504070281982, | |
0.006538863182067871, | |
0.006514063835144043, | |
0.006564623832702636, | |
0.006543663024902344, | |
0.006535664081573487, | |
0.006609262943267823, | |
0.00662286376953125, | |
0.006636622905731201, | |
0.006642222881317139, | |
0.006616623878479004, | |
0.00972221565246582, | |
0.006946543216705322, | |
0.00681022310256958, | |
0.006820143222808838, | |
0.006825263023376465, | |
0.007001582145690918, | |
0.006839343070983887, | |
0.006809583187103271, | |
0.006832462787628174, | |
0.006838222980499267, | |
0.006811023235321045, | |
0.006807662963867187, | |
0.006795662879943848, | |
0.006856622219085694, | |
0.006876462936401367, | |
0.00685502290725708, | |
0.006907183170318604, | |
0.006870223045349121, | |
0.006904461860656738, | |
0.006919503211975098, | |
0.006869583129882812, | |
0.006958382129669189, | |
0.006876303195953369, | |
0.006881903171539307, | |
0.006869583129882812, | |
0.006929902076721192, | |
0.006940463066101074, | |
0.006885743141174317, | |
0.006862542152404785, | |
0.006848622798919677, | |
0.006846383094787598, | |
0.006896142959594727, | |
0.006847823143005371, | |
0.006911662101745606, | |
0.006879982948303223, | |
0.006907342910766601, | |
0.006928462028503418, | |
0.006875823020935059, | |
0.006880783081054688, | |
0.006881583213806153, | |
0.006886221885681152, | |
0.006855183124542237, | |
0.006894543170928955, | |
0.006914223194122314, | |
0.006858061790466308, | |
0.006869583129882812, | |
0.006858063220977783, | |
0.0068876628875732425, | |
0.006869583129882812, | |
0.006890862941741943, | |
0.006866703033447266, | |
0.006887503147125244, | |
0.006893261909484864, | |
0.006910062789916992, | |
0.0068871831893920895, | |
0.006883982181549072, | |
0.006894702911376953, | |
0.006930542945861816, | |
0.006877742767333985, | |
0.006891342163085937, | |
0.006891182899475098, | |
0.006855982780456543, | |
0.006836943149566651, | |
0.006899662017822265, | |
0.006876303195953369, | |
0.006910862922668457, | |
0.0069036631584167485, | |
0.0068487820625305175, | |
0.006910223007202149, | |
0.006924623012542724, | |
0.00689214277267456, | |
0.006893102169036865, | |
0.006871023178100586, | |
0.00690574312210083, | |
0.0077294201850891114, | |
0.007816781044006347, | |
0.007796299934387207, | |
0.007671660900115966, | |
0.007395501136779785, | |
0.007406702041625976, | |
0.007165902137756348, | |
0.007267501831054688, | |
0.007193582057952881, | |
0.0076778998374938965, | |
0.007381261825561524, | |
0.00722046184539795, | |
0.007177581787109375, | |
0.007068302154541016, | |
0.007114861965179443, | |
0.007231660842895508, | |
0.007206381797790528, | |
0.007164462089538574, | |
0.007099341869354248, | |
0.006867982864379883, | |
0.006888143062591553, | |
0.006851983070373535, | |
0.006877102851867676 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.2098873952553 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |