IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5779e4b verified
raw
history blame
7.89 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.191488,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.004907585144043,
"mean": 0.014153627959775253,
"stdev": 0.0004936119670674675,
"p50": 0.014081024169921874,
"p90": 0.014718976020812988,
"p95": 0.015069695949554443,
"p99": 0.015791308975219725,
"values": [
0.015667200088500977,
0.016080896377563478,
0.015572992324829102,
0.015316991806030274,
0.01439846420288086,
0.013988927841186523,
0.014002240180969239,
0.01425715160369873,
0.01408614444732666,
0.014180352210998535,
0.014154751777648926,
0.014177248001098633,
0.014109696388244629,
0.01398681640625,
0.01396735954284668,
0.01397555160522461,
0.014142463684082032,
0.014422016143798828,
0.0141844482421875,
0.014819328308105468,
0.014718976020812988,
0.014503935813903808,
0.01477014446258545,
0.014553088188171387,
0.014038016319274902,
0.01406771183013916,
0.014395392417907715,
0.01437491226196289,
0.014155776023864745,
0.014113792419433594,
0.0139683837890625,
0.01397555160522461,
0.014024703979492188,
0.013801471710205078,
0.013965312004089356,
0.01460428810119629,
0.014822400093078614,
0.014631936073303223,
0.014284799575805664,
0.014132224082946777,
0.014101504325866699,
0.014139391899108887,
0.014078975677490235,
0.014139391899108887,
0.014040063858032227,
0.01408512020111084,
0.014024703979492188,
0.014072832107543945,
0.014045184135437011,
0.014029824256896972,
0.014073856353759765,
0.01409126377105713,
0.014310400009155273,
0.014081024169921874,
0.014140416145324707,
0.014036992073059081,
0.014054400444030762,
0.013623295783996582,
0.013562879562377929,
0.013586432456970214,
0.013569024085998535,
0.01356390380859375,
0.013650943756103515,
0.01354751968383789,
0.013549568176269532,
0.013531135559082032,
0.013574144363403321,
0.01353932762145996,
0.013566975593566894,
0.013544447898864746,
0.013558783531188966
]
},
"throughput": {
"unit": "samples/s",
"value": 70.65326309565361
},
"energy": {
"unit": "kWh",
"cpu": 1.6689085064919344e-07,
"ram": 9.123992078923466e-08,
"gpu": 3.508922994929543e-07,
"total": 6.090230709313824e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1641973.9213995528
}
}
}
}