IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
aa52186 verified
raw
history blame
9.04 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": 797.71648,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.00407470703125,
"mean": 8.00407470703125,
"stdev": 0.0,
"p50": 8.00407470703125,
"p90": 8.00407470703125,
"p95": 8.00407470703125,
"p99": 8.00407470703125,
"values": [
8.00407470703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.478134164610108e-06,
"ram": 1.3196445141167425e-06,
"gpu": 3.363891580066003e-06,
"total": 7.161670258792854e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.529856,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0028331203460694,
"mean": 0.013928237782584297,
"stdev": 0.0007978175905501297,
"p50": 0.013634560108184816,
"p90": 0.014394777488708495,
"p95": 0.016284160327911378,
"p99": 0.016605757846832277,
"values": [
0.016357376098632814,
0.01604915237426758,
0.01622425651550293,
0.01382812786102295,
0.013558783531188966,
0.013559807777404785,
0.013636608123779297,
0.013632512092590332,
0.013584383964538574,
0.01358847999572754,
0.0134901762008667,
0.01358131217956543,
0.013953023910522461,
0.01368064022064209,
0.013518848419189454,
0.013509632110595703,
0.013467647552490235,
0.014194751739501953,
0.013438048362731934,
0.013567999839782715,
0.013728768348693847,
0.01335200023651123,
0.013377535820007324,
0.014015487670898438,
0.01377791976928711,
0.013352959632873536,
0.013322239875793456,
0.013371392250061035,
0.013356032371520997,
0.013384736061096192,
0.013493247985839844,
0.013395968437194825,
0.013413375854492187,
0.01335091209411621,
0.014195712089538574,
0.013562879562377929,
0.014130175590515137,
0.013917183876037598,
0.013664256095886231,
0.013489151954650879,
0.013519871711730956,
0.013554688453674316,
0.01349836826324463,
0.013551615715026855,
0.013931520462036133,
0.013981696128845214,
0.013657088279724122,
0.013423616409301758,
0.013511679649353027,
0.013535231590270995,
0.01338060760498047,
0.013421567916870117,
0.014416895866394042,
0.016527360916137695,
0.01679769515991211,
0.01639116859436035,
0.014489567756652832,
0.014129152297973633,
0.014023679733276367,
0.014125056266784668,
0.014011391639709473,
0.014090239524841308,
0.014019583702087402,
0.013693920135498047,
0.013421567916870117,
0.013509632110595703,
0.01386393642425537,
0.014027775764465332,
0.014051327705383301,
0.01407487964630127,
0.013958144187927245,
0.014169088363647461
]
},
"throughput": {
"unit": "samples/s",
"value": 71.79659161551565
},
"energy": {
"unit": "kWh",
"cpu": 1.6093001022823415e-07,
"ram": 8.786255350634181e-08,
"gpu": 3.4423450962090136e-07,
"total": 5.930270733554773e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1686263.654611552
}
}
}
}