IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
655c6d3 verified
raw
history blame
8.87 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.224-212.876.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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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": 798.8224,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9963994140625,
"mean": 7.9963994140625,
"stdev": 0.0,
"p50": 7.9963994140625,
"p90": 7.9963994140625,
"p95": 7.9963994140625,
"p99": 7.9963994140625,
"values": [
7.9963994140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3706079840271364e-06,
"ram": 1.2803090066783062e-06,
"gpu": 3.460836102000403e-06,
"total": 7.111753092705845e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1186.435072,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 68,
"total": 1.0035178871154786,
"mean": 0.014757615986992333,
"stdev": 0.0005816836680074246,
"p50": 0.014801408290863037,
"p90": 0.015261798858642579,
"p95": 0.01589856123924255,
"p99": 0.016552775840759277,
"values": [
0.016093183517456054,
0.016500736236572267,
0.015367168426513672,
0.014896127700805664,
0.014807040214538575,
0.014816255569458007,
0.014726143836975097,
0.014790656089782715,
0.015058943748474121,
0.015023103713989258,
0.014952447891235352,
0.01511737632751465,
0.015537119865417481,
0.015030271530151367,
0.014931967735290527,
0.014928895950317383,
0.014927871704101562,
0.014728192329406739,
0.014788607597351074,
0.01477222442626953,
0.014850048065185547,
0.014883872032165527,
0.01521664047241211,
0.014940159797668457,
0.0147957763671875,
0.01489408016204834,
0.014824480056762694,
0.014889984130859376,
0.014759936332702638,
0.014751744270324708,
0.015033344268798828,
0.014780415534973144,
0.01472713565826416,
0.014731264114379883,
0.014927871704101562,
0.015418368339538574,
0.015113216400146484,
0.01490227222442627,
0.014809056282043457,
0.015012831687927245,
0.014854144096374512,
0.014675968170166016,
0.01476915168762207,
0.014647295951843262,
0.014756832122802734,
0.01486847972869873,
0.014963711738586426,
0.016109567642211914,
0.01665843200683594,
0.014710783958435059,
0.014542847633361817,
0.014330880165100097,
0.014012351989746093,
0.01396224021911621,
0.013966336250305175,
0.013954079627990723,
0.014029824256896972,
0.013987839698791504,
0.013922304153442382,
0.013999103546142578,
0.013918208122253419,
0.013964287757873535,
0.013921279907226563,
0.014031871795654297,
0.01398681640625,
0.013953023910522461,
0.013958144187927245,
0.014005248069763183
]
},
"throughput": {
"unit": "samples/s",
"value": 67.76162226212016
},
"energy": {
"unit": "kWh",
"cpu": 1.6766060096829375e-07,
"ram": 9.153332295601483e-08,
"gpu": 3.524063852112521e-07,
"total": 6.116003091355607e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1635054.7654454354
}
}
}
}