IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
4d84cee verified
raw
history blame
9 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.224-212.876.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.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.167616,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.01210693359375,
"mean": 8.01210693359375,
"stdev": 0.0,
"p50": 8.01210693359375,
"p90": 8.01210693359375,
"p95": 8.01210693359375,
"p99": 8.01210693359375,
"values": [
8.01210693359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.536571912492036e-06,
"ram": 1.3701258929891944e-06,
"gpu": 3.3000026399970794e-06,
"total": 7.20670044547831e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1184.866304,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.003690050125122,
"mean": 0.014136479579227068,
"stdev": 0.0004446359797111351,
"p50": 0.014011391639709473,
"p90": 0.014504960060119629,
"p95": 0.015142399787902832,
"p99": 0.015846605014801025,
"values": [
0.015949824333190917,
0.015691776275634766,
0.0158023681640625,
0.013884415626525879,
0.013299712181091309,
0.013717503547668456,
0.014003199577331543,
0.014071807861328126,
0.014060544013977052,
0.014011391639709473,
0.013997056007385255,
0.01406156826019287,
0.014073856353759765,
0.01397760009765625,
0.0139683837890625,
0.013982720375061035,
0.014034943580627441,
0.014021632194519042,
0.014014464378356933,
0.014078975677490235,
0.014014464378356933,
0.014044159889221192,
0.014057472229003906,
0.01398476791381836,
0.013788160324096679,
0.013709312438964843,
0.013760512351989745,
0.014504960060119629,
0.014566399574279786,
0.014319616317749024,
0.015031295776367188,
0.014202879905700684,
0.013998080253601074,
0.014119935989379882,
0.01395199966430664,
0.01409945583343506,
0.013909055709838867,
0.014228480339050293,
0.013924351692199707,
0.014016511917114258,
0.013916159629821777,
0.013981696128845214,
0.013890560150146485,
0.013989888191223144,
0.014035903930664062,
0.01450598430633545,
0.015253503799438477,
0.014386176109313965,
0.014032896041870118,
0.013985792160034179,
0.013981696128845214,
0.013918208122253419,
0.014262271881103515,
0.014292991638183594,
0.014455807685852052,
0.014478336334228516,
0.014211071968078613,
0.014108672142028808,
0.01388748836517334,
0.014086208343505859,
0.013917183876037598,
0.013933568000793458,
0.013867008209228515,
0.01396735954284668,
0.013850624084472657,
0.013974528312683105,
0.013897727966308594,
0.013985792160034179,
0.013899776458740234,
0.013904895782470703,
0.013894656181335448
]
},
"throughput": {
"unit": "samples/s",
"value": 70.73896965616926
},
"energy": {
"unit": "kWh",
"cpu": 1.647175159529592e-07,
"ram": 8.992834195769263e-08,
"gpu": 3.460110792777613e-07,
"total": 6.00656937188413e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1664843.836951011
}
}
}
}