IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
716d9c3 verified
raw
history blame
7.94 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": 982.474752,
"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.0058228139877323,
"mean": 0.014166518506869466,
"stdev": 0.0004659233586016609,
"p50": 0.014097408294677734,
"p90": 0.014696512222290039,
"p95": 0.015152128219604492,
"p99": 0.015635536003112793,
"values": [
0.014941184043884278,
0.015498208045959474,
0.015251456260681152,
0.015345600128173828,
0.01468825626373291,
0.014220288276672363,
0.014106623649597168,
0.014131199836730958,
0.014430208206176758,
0.014393343925476074,
0.013562879562377929,
0.013674495697021484,
0.013785087585449218,
0.013562879562377929,
0.013940735816955567,
0.014224384307861328,
0.014178272247314452,
0.014337023735046387,
0.014751744270324708,
0.014223360061645507,
0.014330880165100097,
0.014474240303039551,
0.01447321605682373,
0.01429196834564209,
0.014557184219360352,
0.014235648155212402,
0.014268351554870605,
0.014153727531433105,
0.014637056350708008,
0.014201855659484864,
0.014017536163330077,
0.014171135902404786,
0.014696512222290039,
0.01451417636871338,
0.014333951950073242,
0.013565952301025391,
0.01367852783203125,
0.01425100803375244,
0.014097408294677734,
0.014038016319274902,
0.013884415626525879,
0.01377791976928711,
0.015955967903137205,
0.015052800178527831,
0.014414848327636719,
0.014150655746459961,
0.013888544082641601,
0.013890560150146485,
0.013894656181335448,
0.013834239959716797,
0.013884415626525879,
0.013889535903930664,
0.013850624084472657,
0.013884415626525879,
0.014098431587219238,
0.013834239959716797,
0.013828096389770507,
0.013808639526367187,
0.013730815887451172,
0.013837311744689941,
0.013775872230529786,
0.013855744361877441,
0.013808639526367187,
0.013820927619934082,
0.013888511657714844,
0.013841407775878906,
0.01380352020263672,
0.013825023651123047,
0.013888511657714844,
0.013816831588745117,
0.01387110424041748
]
},
"throughput": {
"unit": "samples/s",
"value": 70.58897353750616
},
"energy": {
"unit": "kWh",
"cpu": 1.5463291265575745e-07,
"ram": 8.44605713322377e-08,
"gpu": 3.326193137142871e-07,
"total": 5.717127977022822e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1749129.9897763475
}
}
}
}