IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
2fd7e3e verified
raw
history blame
7.74 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.519744,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 69,
"total": 0.9981963205337527,
"mean": 0.014466613341068876,
"stdev": 0.0004957345187993836,
"p50": 0.014575615882873535,
"p90": 0.014918886184692384,
"p95": 0.015037235069274903,
"p99": 0.015897436599731446,
"values": [
0.01458892822265625,
0.016097280502319337,
0.01580339241027832,
0.01495961570739746,
0.014659584045410156,
0.014672896385192872,
0.014619647979736328,
0.01456332778930664,
0.014627840042114258,
0.01491155242919922,
0.01460223960876465,
0.014655488014221191,
0.01476198387145996,
0.014722047805786133,
0.014664704322814942,
0.014731264114379883,
0.014450688362121582,
0.014575615882873535,
0.014565376281738282,
0.014609408378601075,
0.014919679641723632,
0.015058943748474121,
0.014622719764709472,
0.014826496124267579,
0.014394368171691894,
0.0146627197265625,
0.014698495864868164,
0.014749695777893066,
0.014746623992919922,
0.014691328048706055,
0.014918687820434571,
0.014718976020812988,
0.01486847972869873,
0.01511526393890381,
0.015004672050476075,
0.014763008117675782,
0.014643199920654297,
0.014478336334228516,
0.014529536247253418,
0.014470080375671386,
0.014322688102722168,
0.014534655570983887,
0.014621696472167968,
0.014914560317993163,
0.014568448066711426,
0.014261247634887696,
0.01415167999267578,
0.01416806411743164,
0.014111743927001954,
0.014034943580627441,
0.01347382354736328,
0.013394944190979004,
0.013392895698547362,
0.013431808471679688,
0.01335910415649414,
0.01358131217956543,
0.014057472229003906,
0.013873151779174805,
0.01448140811920166,
0.014158847808837891,
0.014014464378356933,
0.014082048416137695,
0.014221311569213867,
0.014028767585754394,
0.014027775764465332,
0.014048255920410157,
0.01406668758392334,
0.014090239524841308,
0.013998080253601074
]
},
"throughput": {
"unit": "samples/s",
"value": 69.12467876369703
},
"energy": {
"unit": "kWh",
"cpu": 1.6693196059765765e-07,
"ram": 9.118821385591601e-08,
"gpu": 3.349181083098603e-07,
"total": 5.93038282763434e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1686231.7814293704
}
}
}
}