IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
a6e1af4 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": "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.2.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.101376,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 73,
"total": 0.9979040594100952,
"mean": 0.0136699186220561,
"stdev": 0.0005464524057608967,
"p50": 0.013645824432373046,
"p90": 0.014329446220397949,
"p95": 0.014507212448120118,
"p99": 0.0151649076461792,
"values": [
0.014483455657958985,
0.015059967994689942,
0.014542847633361817,
0.01434931182861328,
0.014353407859802245,
0.013663167953491212,
0.013631487846374512,
0.013766655921936035,
0.013785087585449218,
0.013682687759399414,
0.013818880081176758,
0.013744128227233888,
0.013651007652282715,
0.014218239784240723,
0.013961215972900391,
0.014144512176513671,
0.014115839958190919,
0.014417920112609863,
0.014206975936889648,
0.013717503547668456,
0.013819904327392578,
0.014043135643005371,
0.014728192329406739,
0.015434752464294434,
0.014119935989379882,
0.014223360061645507,
0.01410044765472412,
0.014164992332458496,
0.01405951976776123,
0.013999103546142578,
0.014210047721862793,
0.01406771183013916,
0.013774847984313965,
0.013598719596862792,
0.013377535820007324,
0.01334169578552246,
0.014033920288085937,
0.014249983787536622,
0.014235648155212402,
0.013860799789428712,
0.013584383964538574,
0.013645824432373046,
0.013635583877563476,
0.013634559631347656,
0.013126655578613282,
0.013320192337036133,
0.013120512008666992,
0.013149184226989746,
0.013128704071044921,
0.013110239982604981,
0.013138943672180176,
0.013129728317260742,
0.013129728317260742,
0.01316659164428711,
0.013147135734558106,
0.013136896133422851,
0.013124608039855956,
0.01315225601196289,
0.013107199668884278,
0.013114303588867187,
0.013097984313964844,
0.013146112442016602,
0.013190143585205078,
0.013133824348449707,
0.013179903984069824,
0.013107199668884278,
0.013115391731262208,
0.013211647987365722,
0.013022144317626954,
0.013003775596618652,
0.013151231765747071,
0.013010944366455078,
0.012971967697143554
]
},
"throughput": {
"unit": "samples/s",
"value": 73.15332502320261
},
"energy": {
"unit": "kWh",
"cpu": 1.5623979324214215e-07,
"ram": 8.50517201407046e-08,
"gpu": 3.323054606493631e-07,
"total": 5.735969740322098e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1743384.3713824158
}
}
}
}