IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0cc92ab verified
raw
history blame
8.94 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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0",
"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": 800.44032,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 0.21445733642578124,
"mean": 0.21445733642578124,
"stdev": 0.0,
"p50": 0.21445733642578124,
"p90": 0.21445733642578124,
"p95": 0.21445733642578124,
"p99": 0.21445733642578124,
"values": [
0.21445733642578124
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.520496193129576e-06,
"ram": 1.3520559351512317e-06,
"gpu": 3.7747252420450295e-06,
"total": 7.647277370325838e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1188.278272,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 0.9997626533508301,
"mean": 0.014489313816678697,
"stdev": 0.00035224761560837995,
"p50": 0.014559231758117675,
"p90": 0.01488710422515869,
"p95": 0.014955500984191895,
"p99": 0.015343400840759277,
"values": [
0.015458271980285645,
0.01528934383392334,
0.01497596836090088,
0.014874591827392578,
0.014738431930541992,
0.014749695777893066,
0.014652416229248047,
0.014564352035522461,
0.014725119590759277,
0.01484390354156494,
0.014660608291625977,
0.014533632278442383,
0.014765055656433105,
0.014215167999267577,
0.014150655746459961,
0.014618528366088868,
0.014738495826721192,
0.01479263973236084,
0.01456332778930664,
0.014294048309326172,
0.013935615539550781,
0.013999103546142578,
0.014222335815429688,
0.014559231758117675,
0.014924799919128418,
0.014699520111083985,
0.014887871742248536,
0.014724096298217774,
0.014676992416381835,
0.014534655570983887,
0.014731264114379883,
0.014810111999511719,
0.014575615882873535,
0.014527487754821777,
0.014561280250549317,
0.014918656349182128,
0.014632960319519044,
0.01480191993713379,
0.015102975845336914,
0.014668831825256348,
0.014721023559570312,
0.014534687995910645,
0.013837311744689941,
0.013911040306091308,
0.014356479644775391,
0.014472127914428711,
0.01447219181060791,
0.014753791809082031,
0.01488691234588623,
0.014585856437683106,
0.01438310432434082,
0.01427353572845459,
0.014152704238891601,
0.014104607582092286,
0.014064640045166015,
0.01417420768737793,
0.014045184135437011,
0.014027775764465332,
0.014158847808837891,
0.014468095779418945,
0.014143487930297852,
0.0140697603225708,
0.014053279876708985,
0.0140697603225708,
0.014038016319274902,
0.01406873607635498,
0.014040063858032227,
0.014156800270080566,
0.014039039611816406
]
},
"throughput": {
"unit": "samples/s",
"value": 69.01638080672231
},
"energy": {
"unit": "kWh",
"cpu": 1.603384239530129e-07,
"ram": 8.756012045999744e-08,
"gpu": 3.608373757583731e-07,
"total": 6.087359201713834e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1642748.4675431345
}
}
}
}