
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d5f7396
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 878.46912, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 1.0050324482917787, | |
"mean": 0.006745184216723347, | |
"stdev": 0.00018555445592316214, | |
"p50": 0.00667852783203125, | |
"p90": 0.007027916717529297, | |
"p95": 0.007127244853973389, | |
"p99": 0.007338147907257082, | |
"values": [ | |
0.007632895946502686, | |
0.007415808200836181, | |
0.0072540159225463864, | |
0.0072427520751953125, | |
0.007204864025115967, | |
0.0072427520751953125, | |
0.0071526398658752445, | |
0.00709222412109375, | |
0.007116799831390381, | |
0.0070830078125, | |
0.007036928176879883, | |
0.007017471790313721, | |
0.007002111911773682, | |
0.006951935768127441, | |
0.006929408073425293, | |
0.006605823993682861, | |
0.006651904106140137, | |
0.006743040084838867, | |
0.00674508810043335, | |
0.006866943836212158, | |
0.006776832103729248, | |
0.0066979842185974124, | |
0.00672051191329956, | |
0.00673689603805542, | |
0.006684671878814697, | |
0.0067645440101623535, | |
0.006750207901000976, | |
0.006744063854217529, | |
0.006731776237487793, | |
0.006755328178405762, | |
0.006749184131622315, | |
0.006717440128326416, | |
0.006718463897705078, | |
0.006713344097137451, | |
0.006707200050354004, | |
0.006650879859924317, | |
0.006603775978088379, | |
0.00658739185333252, | |
0.0066375679969787596, | |
0.006662144184112549, | |
0.006595583915710449, | |
0.006744063854217529, | |
0.006676479816436768, | |
0.0067051520347595215, | |
0.006747136116027832, | |
0.006758399963378906, | |
0.0067051520347595215, | |
0.00673689603805542, | |
0.006667263984680176, | |
0.006620160102844238, | |
0.006714367866516113, | |
0.006731776237487793, | |
0.006729728221893311, | |
0.006684671878814697, | |
0.006717440128326416, | |
0.006603775978088379, | |
0.006608895778656006, | |
0.006645760059356689, | |
0.006628352165222168, | |
0.006663167953491211, | |
0.006730751991271973, | |
0.006702079772949219, | |
0.006622208118438721, | |
0.006639616012573242, | |
0.0066344962120056155, | |
0.006642687797546387, | |
0.00667852783203125, | |
0.006676479816436768, | |
0.006687744140625, | |
0.00667852783203125, | |
0.006668288230895996, | |
0.006744063854217529, | |
0.006737919807434082, | |
0.0067123198509216305, | |
0.006759424209594727, | |
0.0070256638526916505, | |
0.007064576148986816, | |
0.006855679988861084, | |
0.007008255958557129, | |
0.007134208202362061, | |
0.006946815967559815, | |
0.006918144226074219, | |
0.006853631973266602, | |
0.006880256175994873, | |
0.006968319892883301, | |
0.007050240039825439, | |
0.006721536159515381, | |
0.006632448196411133, | |
0.006865920066833496, | |
0.006819839954376221, | |
0.006913023948669434, | |
0.006815743923187256, | |
0.006825984001159668, | |
0.0069550080299377445, | |
0.007037951946258545, | |
0.006700032234191895, | |
0.006684671878814697, | |
0.0066713600158691405, | |
0.006608895778656006, | |
0.006642687797546387, | |
0.0066344962120056155, | |
0.006598656177520752, | |
0.006667263984680176, | |
0.0066447358131408694, | |
0.006638591766357422, | |
0.006645760059356689, | |
0.006639616012573242, | |
0.006620160102844238, | |
0.006703104019165039, | |
0.0066109437942504885, | |
0.006625279903411865, | |
0.006583295822143555, | |
0.006598656177520752, | |
0.006590464115142822, | |
0.006609920024871826, | |
0.00659660816192627, | |
0.0066119680404663084, | |
0.006622208118438721, | |
0.006594560146331787, | |
0.006598656177520752, | |
0.006653952121734619, | |
0.006582272052764892, | |
0.006622208118438721, | |
0.0066109437942504885, | |
0.006616064071655273, | |
0.006622208118438721, | |
0.006631423950195312, | |
0.006608895778656006, | |
0.006624256134033203, | |
0.00683622407913208, | |
0.006650879859924317, | |
0.0066109437942504885, | |
0.00659660816192627, | |
0.006575104236602783, | |
0.006627327919006347, | |
0.0066078720092773435, | |
0.006594560146331787, | |
0.006599679946899414, | |
0.006615039825439453, | |
0.006591487884521485, | |
0.0066119680404663084, | |
0.006589439868927002, | |
0.006591487884521485, | |
0.006606847763061524, | |
0.006591487884521485, | |
0.006601727962493896, | |
0.006627327919006347, | |
0.00657203197479248, | |
0.006628352165222168 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.25391981448013 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.498702545206256e-08, | |
"ram": 4.099461565014672e-08, | |
"gpu": 1.5531482186076335e-07, | |
"total": 2.712964629629726e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3686004.561498773 | |
} | |
} | |
} | |
} |