
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7be32fe
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": true, | |
"energy": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 876.2368, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 1.0025934400558472, | |
"mean": 0.005478652677900805, | |
"stdev": 0.00020729371953207438, | |
"p50": 0.005533696174621582, | |
"p90": 0.0057298942565917966, | |
"p95": 0.005771980905532837, | |
"p99": 0.005899448223114014, | |
"values": [ | |
0.006165503978729248, | |
0.0058726401329040525, | |
0.005854207992553711, | |
0.005728256225585937, | |
0.005732351779937744, | |
0.005785600185394287, | |
0.005739520072937012, | |
0.0057415680885314945, | |
0.005730303764343261, | |
0.0057794561386108395, | |
0.005705728054046631, | |
0.005597216129302978, | |
0.005679103851318359, | |
0.005575679779052735, | |
0.005661695957183838, | |
0.005639167785644531, | |
0.005552127838134766, | |
0.005464064121246338, | |
0.005452799797058106, | |
0.005691391944885254, | |
0.005602303981781006, | |
0.005610496044158936, | |
0.005620736122131348, | |
0.005649407863616943, | |
0.005653503894805908, | |
0.0055203838348388675, | |
0.005536767959594726, | |
0.005543935775756836, | |
0.005544960021972656, | |
0.005646336078643799, | |
0.005690368175506591, | |
0.005603328227996827, | |
0.005645311832427978, | |
0.005627903938293457, | |
0.005676032066345215, | |
0.005631999969482422, | |
0.005596159934997558, | |
0.005683199882507324, | |
0.005596159934997558, | |
0.005643263816833496, | |
0.005574656009674072, | |
0.005740543842315674, | |
0.005496831893920898, | |
0.005471231937408447, | |
0.005472256183624268, | |
0.005472256183624268, | |
0.005601280212402344, | |
0.005537792205810547, | |
0.00555622386932373, | |
0.005817344188690185, | |
0.005602303981781006, | |
0.005548031806945801, | |
0.005682176113128662, | |
0.005629951953887939, | |
0.005900288105010986, | |
0.005673984050750733, | |
0.005692416191101074, | |
0.005694464206695556, | |
0.0055848960876464845, | |
0.00566374397277832, | |
0.005746687889099121, | |
0.005739520072937012, | |
0.005649407863616943, | |
0.005672959804534912, | |
0.005610496044158936, | |
0.005563392162322998, | |
0.005653503894805908, | |
0.005497856140136719, | |
0.005543935775756836, | |
0.005535744190216065, | |
0.005715968132019043, | |
0.005569536209106446, | |
0.005718016147613526, | |
0.005773312091827393, | |
0.005500927925109863, | |
0.005581823825836182, | |
0.005533696174621582, | |
0.0057077760696411135, | |
0.005541888236999512, | |
0.005577727794647217, | |
0.005624832153320313, | |
0.005582848072052002, | |
0.005670911788940429, | |
0.005710847854614258, | |
0.005677055835723877, | |
0.005610496044158936, | |
0.005760000228881836, | |
0.005899263858795166, | |
0.005650432109832764, | |
0.005543935775756836, | |
0.005682176113128662, | |
0.005706751823425293, | |
0.005469183921813964, | |
0.005599232196807862, | |
0.005549056053161621, | |
0.005540863990783691, | |
0.005471231937408447, | |
0.005401599884033203, | |
0.005392384052276611, | |
0.005454847812652588, | |
0.005477375984191894, | |
0.005433343887329102, | |
0.005191679954528809, | |
0.005249023914337158, | |
0.00531763219833374, | |
0.005231616020202637, | |
0.005413887977600097, | |
0.005319680213928223, | |
0.0055552000999450684, | |
0.005792768001556397, | |
0.005484543800354004, | |
0.0053944320678710935, | |
0.005582848072052002, | |
0.005545983791351319, | |
0.00537395191192627, | |
0.005298175811767578, | |
0.0052633600234985355, | |
0.005232639789581299, | |
0.005321728229522705, | |
0.005253119945526123, | |
0.005303296089172363, | |
0.005332992076873779, | |
0.005215231895446777, | |
0.005227519989013672, | |
0.005311488151550293, | |
0.005287936210632324, | |
0.005231616020202637, | |
0.005620736122131348, | |
0.005284863948822022, | |
0.005255167961120606, | |
0.005257215976715088, | |
0.005426176071166992, | |
0.005245952129364013, | |
0.005262335777282715, | |
0.005258240222930908, | |
0.00522547197341919, | |
0.005219327926635742, | |
0.005237760066986084, | |
0.00522547197341919, | |
0.005512191772460938, | |
0.0052705597877502446, | |
0.005265408039093018, | |
0.0053975038528442385, | |
0.005253119945526123, | |
0.0052705278396606445, | |
0.005244927883148193, | |
0.005258240222930908, | |
0.005192704200744629, | |
0.0052295680046081545, | |
0.005215231895446777, | |
0.0052070398330688475, | |
0.005197824001312256, | |
0.005232639789581299, | |
0.005219327926635742, | |
0.005239808082580567, | |
0.005212160110473632, | |
0.0057487359046936035, | |
0.005231711864471435, | |
0.005246975898742676, | |
0.005216256141662597, | |
0.005224448204040527, | |
0.005346303939819336, | |
0.005222400188446045, | |
0.005180416107177735, | |
0.005249023914337158, | |
0.005227519989013672, | |
0.00522649621963501, | |
0.005174272060394287, | |
0.005256192207336426, | |
0.0052111358642578124, | |
0.0052295680046081545, | |
0.005227519989013672, | |
0.005246975898742676, | |
0.0052070398330688475, | |
0.005224448204040527, | |
0.00526643180847168, | |
0.005212160110473632, | |
0.005228544235229492, | |
0.005248000144958496, | |
0.005185535907745361, | |
0.005185535907745361, | |
0.005239808082580567, | |
0.0052336640357971195 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.52662813134543 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.9318349593215525e-08, | |
"ram": 3.2433490469879206e-08, | |
"gpu": 1.2276537598999907e-07, | |
"total": 2.145172160530938e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4661630.513387309 | |
} | |
} | |
} | |
} |