IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5c2cb32 verified
raw
history blame
10.3 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 784.121856,
"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.37195703125,
"mean": 7.37195703125,
"stdev": 0.0,
"p50": 7.37195703125,
"p90": 7.37195703125,
"p95": 7.37195703125,
"p99": 7.37195703125,
"values": [
7.37195703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.300881923609142e-07,
"ram": 4.939102174806686e-07,
"gpu": 1.7586125180004374e-06,
"total": 3.18261092784202e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1039.70816,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 103,
"total": 1.00517791557312,
"mean": 0.009759008889059418,
"stdev": 0.0005365316927361935,
"p50": 0.009703424453735352,
"p90": 0.010058751678466798,
"p95": 0.010149171257019043,
"p99": 0.01151617013931275,
"values": [
0.009275391578674316,
0.014214143753051758,
0.01154150390625,
0.00982528018951416,
0.0101396484375,
0.00918015956878662,
0.009834495544433594,
0.00971059226989746,
0.010060799598693848,
0.009614336013793945,
0.009802751541137696,
0.00972390365600586,
0.009657343864440919,
0.009790464401245117,
0.009647104263305664,
0.00963276767730713,
0.010050559997558594,
0.009463808059692384,
0.009703424453735352,
0.009704447746276856,
0.01001471996307373,
0.009513983726501465,
0.00960307216644287,
0.009737215995788574,
0.010011648178100586,
0.00962559986114502,
0.010043392181396485,
0.00970956802368164,
0.009696255683898926,
0.010077183723449706,
0.009693183898925782,
0.009744383811950684,
0.0096112642288208,
0.009675775527954102,
0.0097259521484375,
0.009530367851257325,
0.00990822410583496,
0.010074111938476562,
0.009886719703674317,
0.009756671905517577,
0.009736191749572755,
0.00960307216644287,
0.009754624366760254,
0.009804800033569335,
0.010274815559387206,
0.009417728424072265,
0.00991641616821289,
0.009454591751098633,
0.009793536186218262,
0.009805824279785156,
0.010149888038635254,
0.009482239723205567,
0.009727999687194825,
0.009608192443847656,
0.009851903915405273,
0.009538559913635255,
0.010184703826904297,
0.009602047920227052,
0.010142720222473145,
0.0097259521484375,
0.00922214412689209,
0.010018815994262695,
0.009554944038391112,
0.009576448440551758,
0.0096112642288208,
0.00973516845703125,
0.009936896324157715,
0.00950374412536621,
0.009529343605041504,
0.009656319618225098,
0.010042367935180664,
0.009260031700134277,
0.009490495681762695,
0.00959488010406494,
0.009814016342163086,
0.009791487693786622,
0.0096245756149292,
0.009541631698608399,
0.009952256202697754,
0.009342975616455078,
0.00974233627319336,
0.009167872428894042,
0.010028032302856446,
0.009527296066284179,
0.00931123161315918,
0.010045439720153808,
0.009272319793701172,
0.009690112113952636,
0.009756671905517577,
0.009185279846191406,
0.009672703742980958,
0.009700351715087891,
0.009868288040161132,
0.009561087608337402,
0.00953446388244629,
0.010188799858093261,
0.009249792098999024,
0.009747455596923828,
0.009385984420776367,
0.009247743606567382,
0.009529343605041504,
0.0095283203125,
0.009649151802062989
]
},
"throughput": {
"unit": "samples/s",
"value": 102.46942198413971
},
"energy": {
"unit": "kWh",
"cpu": 1.1376828957672069e-07,
"ram": 6.218905508079443e-08,
"gpu": 2.0995254891428903e-07,
"total": 3.859098935718041e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2591278.4736987716
}
}
}
}