
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4be6b9a
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": {}, | |
"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": 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.4.0", | |
"optimum_benchmark_commit": null, | |
"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": 713.555968, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.27992431640625, | |
"mean": 7.27992431640625, | |
"stdev": 0.0, | |
"p50": 7.27992431640625, | |
"p90": 7.27992431640625, | |
"p95": 7.27992431640625, | |
"p99": 7.27992431640625, | |
"values": [ | |
7.27992431640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.663078520033094e-07, | |
"ram": 4.915487490590446e-07, | |
"gpu": 1.7436125059992758e-06, | |
"total": 3.2014691070616297e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.295936, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 179, | |
"total": 1.0042282562255864, | |
"mean": 0.005610213721930648, | |
"stdev": 0.00022569161396957676, | |
"p50": 0.005659647941589355, | |
"p90": 0.005851136207580566, | |
"p95": 0.005923635005950928, | |
"p99": 0.0061801881980896, | |
"values": [ | |
0.005692416191101074, | |
0.005825535774230957, | |
0.005661695957183838, | |
0.005649407863616943, | |
0.005578752040863037, | |
0.00581324815750122, | |
0.005608448028564453, | |
0.005567488193511963, | |
0.0056483840942382815, | |
0.005444608211517334, | |
0.006247424125671387, | |
0.005775360107421875, | |
0.00573747205734253, | |
0.005754879951477051, | |
0.005836863994598388, | |
0.0057784318923950195, | |
0.005694464206695556, | |
0.005659647941589355, | |
0.005641215801239013, | |
0.005732351779937744, | |
0.005730303764343261, | |
0.005791744232177734, | |
0.005850111961364746, | |
0.005856256008148194, | |
0.005883903980255127, | |
0.005867519855499268, | |
0.005839903831481933, | |
0.005617663860321045, | |
0.005679103851318359, | |
0.0057825279235839844, | |
0.00581324815750122, | |
0.005922815799713135, | |
0.005847040176391601, | |
0.005799935817718506, | |
0.005831679821014404, | |
0.005987328052520752, | |
0.005823488235473633, | |
0.005799935817718506, | |
0.005792768001556397, | |
0.0057487359046936035, | |
0.005763072013854981, | |
0.005785600185394287, | |
0.005692416191101074, | |
0.005670911788940429, | |
0.005645311832427978, | |
0.005710847854614258, | |
0.005774335861206055, | |
0.005684224128723145, | |
0.005617663860321045, | |
0.005851136207580566, | |
0.005701632022857666, | |
0.005728256225585937, | |
0.005760000228881836, | |
0.006032383918762207, | |
0.005850111961364746, | |
0.005921792030334472, | |
0.005829631805419922, | |
0.00582041597366333, | |
0.005736447811126709, | |
0.005695487976074219, | |
0.005732351779937744, | |
0.0058122239112854005, | |
0.005810175895690918, | |
0.005732351779937744, | |
0.005777408123016357, | |
0.005744639873504639, | |
0.0058000640869140625, | |
0.0056258559226989744, | |
0.005586944103240967, | |
0.005637119770050049, | |
0.005847040176391601, | |
0.005715968132019043, | |
0.005966847896575928, | |
0.005742591857910156, | |
0.005641215801239013, | |
0.005728256225585937, | |
0.005659647941589355, | |
0.005705728054046631, | |
0.00573747205734253, | |
0.0056780800819396975, | |
0.0057149438858032225, | |
0.005617663860321045, | |
0.005805056095123291, | |
0.005816319942474365, | |
0.005931007862091065, | |
0.00586956787109375, | |
0.005885119915008545, | |
0.005848063945770264, | |
0.005974016189575195, | |
0.006169600009918213, | |
0.005822463989257813, | |
0.006217728137969971, | |
0.0061296639442443845, | |
0.005682176113128662, | |
0.005646336078643799, | |
0.005859327793121338, | |
0.0057292799949646, | |
0.005698560237884521, | |
0.005611519813537597, | |
0.005385216236114502, | |
0.0054917120933532714, | |
0.005652480125427246, | |
0.00566374397277832, | |
0.0054271998405456545, | |
0.005328896045684814, | |
0.005370880126953125, | |
0.005385216236114502, | |
0.005389311790466309, | |
0.005682176113128662, | |
0.005504000186920166, | |
0.00563097620010376, | |
0.0057825279235839844, | |
0.005739520072937012, | |
0.005773312091827393, | |
0.005851136207580566, | |
0.005686272144317627, | |
0.0055582718849182125, | |
0.005496831893920898, | |
0.00538316822052002, | |
0.005320703983306885, | |
0.005426176071166992, | |
0.005774335861206055, | |
0.00538316822052002, | |
0.005362688064575195, | |
0.00536575984954834, | |
0.005359615802764893, | |
0.005377024173736572, | |
0.005328896045684814, | |
0.005349376201629639, | |
0.005477375984191894, | |
0.005350399971008301, | |
0.005356544017791748, | |
0.005349376201629639, | |
0.005325823783874512, | |
0.005331967830657959, | |
0.0052971520423889164, | |
0.0053647360801696775, | |
0.00537497615814209, | |
0.005325823783874512, | |
0.00550707197189331, | |
0.0053340158462524415, | |
0.005348351955413819, | |
0.005385216236114502, | |
0.00531763219833374, | |
0.005340159893035889, | |
0.005384191989898681, | |
0.005262335777282715, | |
0.0052633600234985355, | |
0.005261312007904053, | |
0.00532480001449585, | |
0.005326848030090332, | |
0.005366943836212158, | |
0.0053647360801696775, | |
0.005331967830657959, | |
0.005402624130249023, | |
0.005321728229522705, | |
0.005315680027008057, | |
0.005431295871734619, | |
0.0055511040687561035, | |
0.005305344104766845, | |
0.005369855880737305, | |
0.005339136123657226, | |
0.00531660795211792, | |
0.005295104026794434, | |
0.0053309440612792965, | |
0.005322751998901368, | |
0.005302271842956543, | |
0.005356544017791748, | |
0.005318655967712403, | |
0.005292031764984131, | |
0.0053821439743042, | |
0.00530944013595581, | |
0.005339136123657226, | |
0.005384191989898681, | |
0.005352447986602784, | |
0.0053012480735778805, | |
0.005384191989898681, | |
0.005417984008789062, | |
0.005285888195037842 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.24632885035064 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.271370241461187e-08, | |
"ram": 3.428979417409268e-08, | |
"gpu": 1.3237664911111557e-07, | |
"total": 2.2938014569982016e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4359575.223692885 | |
} | |
} | |
} | |
} |