IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
fd97029 verified
raw
history blame
8.98 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.696,
"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.9137587890625,
"mean": 7.9137587890625,
"stdev": 0.0,
"p50": 7.9137587890625,
"p90": 7.9137587890625,
"p95": 7.9137587890625,
"p99": 7.9137587890625,
"values": [
7.9137587890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.879826368054822e-07,
"ram": 4.97481738067504e-07,
"gpu": 0.0,
"total": 1.4854643748729862e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.558528,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0025191984176636,
"mean": 0.014119988710107938,
"stdev": 0.00031121788049334634,
"p50": 0.014034943580627441,
"p90": 0.014678943634033203,
"p95": 0.014763008117675782,
"p99": 0.015045631980895997,
"values": [
0.014953472137451173,
0.014739456176757813,
0.014678943634033203,
0.015260671615600586,
0.013946880340576171,
0.014111743927001954,
0.01406873607635498,
0.014475263595581055,
0.013797375679016113,
0.013875200271606445,
0.014112768173217773,
0.014024703979492188,
0.014244864463806153,
0.013825023651123047,
0.0139683837890625,
0.014043999671936034,
0.014137344360351562,
0.013820927619934082,
0.013955103874206542,
0.01427558422088623,
0.013815808296203613,
0.013902848243713378,
0.013944992065429688,
0.013882304191589355,
0.013806655883789062,
0.013888511657714844,
0.014321503639221191,
0.013986975669860839,
0.013864959716796875,
0.013873120307922364,
0.014163968086242675,
0.013896703720092773,
0.014098431587219238,
0.013998080253601074,
0.014059328079223632,
0.013957119941711426,
0.013903871536254882,
0.013792096138000488,
0.013925375938415528,
0.01376460838317871,
0.014112768173217773,
0.014665727615356445,
0.014140416145324707,
0.013963232040405274,
0.013924351692199707,
0.013924351692199707,
0.013869088172912597,
0.013906944274902343,
0.014034943580627441,
0.01399295997619629,
0.013974528312683105,
0.013894720077514649,
0.014722047805786133,
0.014682111740112304,
0.01486847972869873,
0.014495743751525878,
0.014369791984558105,
0.01478656005859375,
0.014217215538024902,
0.01397862434387207,
0.014129152297973633,
0.014054400444030762,
0.014014464378356933,
0.014056544303894043,
0.014284799575805664,
0.013989888191223144,
0.014035967826843262,
0.014073792457580567,
0.014050304412841797,
0.014062591552734375,
0.014078975677490235
]
},
"throughput": {
"unit": "samples/s",
"value": 70.82158637167605
},
"energy": {
"unit": "kWh",
"cpu": 1.643544238774682e-07,
"ram": 8.97711578787653e-08,
"gpu": 3.3912888621917203e-07,
"total": 5.932544679754054e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1685617.3092344194
}
}
}
}