IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
504cdd3 verified
raw
history blame
9.04 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.886528,
"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.42455419921875,
"mean": 7.42455419921875,
"stdev": 0.0,
"p50": 7.42455419921875,
"p90": 7.42455419921875,
"p95": 7.42455419921875,
"p99": 7.42455419921875,
"values": [
7.42455419921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1252684152781554e-06,
"ram": 5.742349074075967e-07,
"gpu": 1.6880569060004347e-06,
"total": 3.3875602286861866e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.577024,
"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.0092000026702879,
"mean": 0.014016666703753998,
"stdev": 0.00033440034815651566,
"p50": 0.013904384136199951,
"p90": 0.014458777809143066,
"p95": 0.014745139122009277,
"p99": 0.015167487783432009,
"values": [
0.015385600090026855,
0.014938112258911132,
0.0142673921585083,
0.01430835247039795,
0.014466048240661621,
0.014551039695739745,
0.014393343925476074,
0.015078399658203125,
0.014699520111083985,
0.014800895690917968,
0.014502880096435546,
0.014019583702087402,
0.013894687652587891,
0.014021632194519042,
0.013840383529663085,
0.013876223564147949,
0.01387110424041748,
0.01377894401550293,
0.013783040046691895,
0.013830143928527832,
0.014106623649597168,
0.014035967826843262,
0.01389568042755127,
0.013837311744689941,
0.013997056007385255,
0.013851648330688476,
0.013765631675720215,
0.01386291217803955,
0.014016511917114258,
0.013763584136962891,
0.013731840133666993,
0.01381984043121338,
0.01377791976928711,
0.014323712348937988,
0.014034943580627441,
0.013997056007385255,
0.013821951866149903,
0.013894656181335448,
0.013741024017333984,
0.013706208229064942,
0.013784064292907714,
0.013613056182861329,
0.013455360412597657,
0.01364076805114746,
0.013784064292907714,
0.013832192420959472,
0.014193663597106934,
0.014271488189697265,
0.01409222412109375,
0.01396224021911621,
0.014055392265319825,
0.01386905574798584,
0.013791232109069825,
0.013856767654418945,
0.01396016025543213,
0.013923328399658203,
0.013953023910522461,
0.014026752471923828,
0.014021632194519042,
0.0139202880859375,
0.013969408035278321,
0.013881343841552735,
0.013880319595336914,
0.013931520462036133,
0.013906944274902343,
0.01391312026977539,
0.01387007999420166,
0.013964287757873535,
0.01390182399749756,
0.013900799751281738,
0.01389568042755127,
0.013888511657714844
]
},
"throughput": {
"unit": "samples/s",
"value": 71.34363833679345
},
"energy": {
"unit": "kWh",
"cpu": 1.6366904216134117e-07,
"ram": 8.939369942318906e-08,
"gpu": 3.4646907473972963e-07,
"total": 5.995318163242598e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1667968.1924656103
}
}
}
}