IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
6f897d1 verified
raw
history blame
7.55 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": 977.195008,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 63,
"total": 1.0085469436645509,
"mean": 0.01600868164546906,
"stdev": 0.0005896508505360261,
"p50": 0.015840319633483885,
"p90": 0.01625804786682129,
"p95": 0.017713869094848633,
"p99": 0.01825701961517334,
"values": [
0.01679769515991211,
0.0182476806640625,
0.017854400634765625,
0.017351680755615235,
0.015264767646789551,
0.015827967643737794,
0.01586176013946533,
0.01594979190826416,
0.01621708869934082,
0.015905792236328126,
0.015895551681518554,
0.015805439949035646,
0.015879167556762695,
0.01586892795562744,
0.01593446445465088,
0.015791104316711425,
0.01587507152557373,
0.015846400260925292,
0.015911935806274414,
0.015937536239624024,
0.01586995220184326,
0.015851519584655763,
0.01581875228881836,
0.015852543830871584,
0.015877087593078612,
0.015880191802978515,
0.015887359619140624,
0.015871999740600586,
0.015823871612548827,
0.015804415702819825,
0.015968255996704102,
0.015884287834167482,
0.01587097644805908,
0.015851519584655763,
0.015839232444763183,
0.017754112243652344,
0.018272256851196288,
0.016268287658691406,
0.016088064193725587,
0.015828991889953615,
0.015837183952331545,
0.015790080070495604,
0.015678463935852052,
0.015593503952026367,
0.015555583953857421,
0.015840319633483885,
0.015766528129577635,
0.01579315185546875,
0.015783935546875,
0.015766528129577635,
0.01578598403930664,
0.015752256393432616,
0.01577676773071289,
0.015762432098388672,
0.015786016464233398,
0.01576966381072998,
0.015749119758605958,
0.015736831665039062,
0.015788031578063966,
0.01575321578979492,
0.015739904403686524,
0.015782912254333495,
0.015770624160766602
]
},
"throughput": {
"unit": "samples/s",
"value": 62.466105713522644
},
"energy": {
"unit": "kWh",
"cpu": 1.867559324536059e-07,
"ram": 1.0210548724038186e-07,
"gpu": 3.699178306562474e-07,
"total": 6.587792503502352e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1517959.1638145212
}
}
}
}