IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
4661a46 verified
raw
history blame
9.03 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.931584,
"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.47715380859375,
"mean": 7.47715380859375,
"stdev": 0.0,
"p50": 7.47715380859375,
"p90": 7.47715380859375,
"p95": 7.47715380859375,
"p99": 7.47715380859375,
"values": [
7.47715380859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1268437840272664e-06,
"ram": 5.783045454123538e-07,
"gpu": 1.661390218000297e-06,
"total": 3.366538547439917e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.650752,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.007900640487671,
"mean": 0.013998620006773207,
"stdev": 0.0010095516823726176,
"p50": 0.013992448329925536,
"p90": 0.014243021011352539,
"p95": 0.0148118013381958,
"p99": 0.018825974311828628,
"values": [
0.02064793586730957,
0.018081792831420897,
0.015396863937377929,
0.014956543922424317,
0.014370783805847168,
0.014049280166625976,
0.01406156826019287,
0.01399500846862793,
0.014056447982788087,
0.014041088104248046,
0.01419878387451172,
0.014160863876342774,
0.014053376197814941,
0.014057472229003906,
0.014079999923706055,
0.014014464378356933,
0.014247936248779297,
0.013745152473449707,
0.013533184051513672,
0.01349836826324463,
0.013518848419189454,
0.013500415802001953,
0.013452287673950195,
0.013468671798706054,
0.01343283176422119,
0.013462528228759766,
0.013468671798706054,
0.013438976287841797,
0.013455360412597657,
0.013475839614868163,
0.013467647552490235,
0.013430815696716308,
0.013533184051513672,
0.013521920204162598,
0.013445119857788086,
0.013446144104003906,
0.01345638370513916,
0.013433856010437012,
0.013502464294433594,
0.013462528228759766,
0.013478912353515626,
0.013510687828063965,
0.013428735733032226,
0.013470720291137696,
0.01345638370513916,
0.01344819164276123,
0.01344102382659912,
0.013412351608276368,
0.013675519943237305,
0.014172160148620605,
0.014073792457580567,
0.014693375587463378,
0.014284799575805664,
0.01406668758392334,
0.01407692813873291,
0.014028800010681153,
0.014128128051757812,
0.01418239974975586,
0.01409331226348877,
0.014040063858032227,
0.014009344100952148,
0.014003199577331543,
0.01396224021911621,
0.01398476791381836,
0.014138367652893067,
0.014005248069763183,
0.013965312004089356,
0.013998080253601074,
0.013989888191223144,
0.01401142406463623,
0.013996031761169434,
0.014052351951599122
]
},
"throughput": {
"unit": "samples/s",
"value": 71.43561290442571
},
"energy": {
"unit": "kWh",
"cpu": 1.6356434143834756e-07,
"ram": 8.934541993676974e-08,
"gpu": 3.442544610958975e-07,
"total": 5.971642224710148e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1674581.233051915
}
}
}
}