IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
11a5dcf verified
raw
history blame
8.88 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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 798.916608,
"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.3755,
"mean": 8.3755,
"stdev": 0.0,
"p50": 8.3755,
"p90": 8.3755,
"p95": 8.3755,
"p99": 8.3755,
"values": [
8.3755
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.617141759721796e-06,
"ram": 1.4151534416133543e-06,
"gpu": 3.45472498600001e-06,
"total": 7.48702018733516e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1188.204544,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 0.999291647911072,
"mean": 0.01427559497015817,
"stdev": 0.00046258922597778234,
"p50": 0.014135807991027833,
"p90": 0.014742115116119385,
"p95": 0.014911436939239502,
"p99": 0.016325917987823485,
"values": [
0.016529407501220703,
0.016234495162963866,
0.014958592414855957,
0.014183423995971679,
0.014645248413085938,
0.01469542407989502,
0.01448960018157959,
0.014039999961853027,
0.014407679557800293,
0.01420902442932129,
0.014145536422729492,
0.014098431587219238,
0.01440454387664795,
0.01489510440826416,
0.014193663597106934,
0.014137344360351562,
0.01407590389251709,
0.014092288017272948,
0.013949952125549316,
0.014167039871215821,
0.014006272315979004,
0.01406873607635498,
0.0142673921585083,
0.014322688102722168,
0.014221311569213867,
0.014058496475219727,
0.01436569595336914,
0.01410044765472412,
0.014148575782775879,
0.014018560409545898,
0.014054400444030762,
0.01419878387451172,
0.014114815711975098,
0.014081024169921874,
0.01409945583343506,
0.014924799919128418,
0.014527487754821777,
0.014402560234069824,
0.014160896301269531,
0.014738431930541992,
0.014693375587463378,
0.014438400268554688,
0.014014464378356933,
0.014027775764465332,
0.013882368087768555,
0.013720576286315917,
0.014660608291625977,
0.014781439781188965,
0.014775263786315917,
0.01439641571044922,
0.014105600357055664,
0.01409331226348877,
0.01419059181213379,
0.014134271621704102,
0.014206975936889648,
0.014086175918579101,
0.01406771183013916,
0.014003199577331543,
0.01408409595489502,
0.013644800186157227,
0.013620223999023438,
0.013647871971130371,
0.014063615798950196,
0.014016511917114258,
0.014051327705383301,
0.014028800010681153,
0.014060480117797852,
0.014199808120727539,
0.014097408294677734,
0.014064640045166015
]
},
"throughput": {
"unit": "samples/s",
"value": 70.04961979451006
},
"energy": {
"unit": "kWh",
"cpu": 1.6510837969715025e-07,
"ram": 8.993717641743709e-08,
"gpu": 3.5014302702778713e-07,
"total": 6.051885831423744e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1652377.5032364477
}
}
}
}