IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
3b47b07 verified
raw
history blame
7.98 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_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": {},
"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.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 977.727488,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0054134082794188,
"mean": 0.013964075114991932,
"stdev": 0.00048452950488947103,
"p50": 0.013945856094360352,
"p90": 0.014506656169891358,
"p95": 0.014775244665145874,
"p99": 0.015397242612838747,
"values": [
0.015508480072021484,
0.015351807594299317,
0.014829567909240723,
0.014742527961730957,
0.0140697603225708,
0.014285823822021485,
0.014215167999267577,
0.014203904151916504,
0.014248959541320801,
0.014112768173217773,
0.014070783615112305,
0.014263296127319336,
0.014172160148620605,
0.01477017593383789,
0.014510144233703613,
0.014246912002563476,
0.014369791984558105,
0.014346240043640136,
0.014115872383117676,
0.014164959907531739,
0.01447116756439209,
0.01417523193359375,
0.014225407600402832,
0.013937664031982423,
0.014053376197814941,
0.013881343841552735,
0.013858816146850587,
0.014052351951599122,
0.014575615882873535,
0.014781439781188965,
0.014459903717041016,
0.014475263595581055,
0.01429094409942627,
0.01399500846862793,
0.014006272315979004,
0.013950976371765136,
0.013911040306091308,
0.013899776458740234,
0.013953023910522461,
0.013915136337280273,
0.013876223564147949,
0.013430784225463867,
0.013430784225463867,
0.01346560001373291,
0.013398015975952148,
0.013431808471679688,
0.013451264381408692,
0.013424639701843261,
0.01342972755432129,
0.013460479736328124,
0.01343283176422119,
0.014407615661621093,
0.013944831848144532,
0.013946880340576171,
0.013883392333984374,
0.013922304153442382,
0.01388646411895752,
0.013930496215820312,
0.013429759979248047,
0.013411328315734864,
0.013492223739624023,
0.01347379207611084,
0.013392895698547362,
0.01338265609741211,
0.013392895698547362,
0.013420543670654296,
0.013371456146240234,
0.01335807991027832,
0.013455360412597657,
0.013389823913574218,
0.01338368034362793,
0.013435903549194337
]
},
"throughput": {
"unit": "samples/s",
"value": 71.6123332025329
},
"energy": {
"unit": "kWh",
"cpu": 1.611029108365377e-07,
"ram": 8.807571214787856e-08,
"gpu": 3.5670073581079516e-07,
"total": 6.058793587952113e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1650493.5932930543
}
}
}
}