IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
2801b9f verified
raw
history blame
9.05 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"model_type": "deberta-v2",
"model": "microsoft/deberta-v3-base",
"processor": "microsoft/deberta-v3-base",
"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-212.873.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.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 797.773824,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.83820068359375,
"mean": 7.83820068359375,
"stdev": 0.0,
"p50": 7.83820068359375,
"p90": 7.83820068359375,
"p95": 7.83820068359375,
"p99": 7.83820068359375,
"values": [
7.83820068359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.466797437503438e-07,
"ram": 5.031451344015959e-07,
"gpu": 1.7802792019998986e-06,
"total": 3.2301040801518385e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.865728,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0023484115600583,
"mean": 0.013921505716111924,
"stdev": 0.0005006937407330655,
"p50": 0.013623295783996582,
"p90": 0.014561075019836426,
"p95": 0.014950502109527588,
"p99": 0.015364484834671023,
"values": [
0.015598591804504394,
0.015268863677978516,
0.01511526393890381,
0.013908991813659668,
0.013652992248535157,
0.013596672058105469,
0.013652992248535157,
0.013626336097717285,
0.013622271537780761,
0.013553664207458497,
0.013566975593566894,
0.013628416061401367,
0.013579263687133789,
0.013567935943603516,
0.01356390380859375,
0.013594623565673827,
0.013603839874267578,
0.01366220760345459,
0.013820927619934082,
0.013659135818481445,
0.013682720184326171,
0.013624320030212403,
0.013883392333984374,
0.014003199577331543,
0.013692928314208984,
0.013620223999023438,
0.013549568176269532,
0.013594623565673827,
0.013560832023620606,
0.013558783531188966,
0.013586432456970214,
0.013576255798339844,
0.013609984397888183,
0.013557760238647461,
0.013570015907287597,
0.013570048332214356,
0.013558783531188966,
0.013593600273132325,
0.013576191902160644,
0.013534208297729493,
0.013579232215881348,
0.0135731201171875,
0.013572031974792481,
0.013604864120483399,
0.013586432456970214,
0.013648896217346192,
0.013601792335510255,
0.013584383964538574,
0.013558783531188966,
0.013530112266540528,
0.013565952301025391,
0.013594623565673827,
0.013595647811889648,
0.014411775588989258,
0.01438003158569336,
0.014377984046936035,
0.014403583526611329,
0.014424063682556153,
0.014418944358825684,
0.01436569595336914,
0.014352383613586426,
0.014332927703857423,
0.014342144012451171,
0.014318592071533203,
0.014753791809082031,
0.01486847972869873,
0.015050751686096191,
0.014701567649841308,
0.014467071533203125,
0.014423040390014649,
0.014440447807312011,
0.01457151985168457
]
},
"throughput": {
"unit": "samples/s",
"value": 71.83131052000067
},
"energy": {
"unit": "kWh",
"cpu": 1.6765938083919705e-07,
"ram": 9.156234445241707e-08,
"gpu": 3.711661811267508e-07,
"total": 6.303879064183649e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1586324.8482694358
}
}
}
}