IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e69bd77 verified
raw
history blame
9.2 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_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.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.506176,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1495068359375,
"mean": 7.1495068359375,
"stdev": 0.0,
"p50": 7.1495068359375,
"p90": 7.1495068359375,
"p95": 7.1495068359375,
"p99": 7.1495068359375,
"values": [
7.1495068359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0669686728053623e-06,
"ram": 5.691257405223383e-07,
"gpu": 1.8736126100012476e-06,
"total": 3.509707023328948e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.827072,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 76,
"total": 1.00026851272583,
"mean": 0.013161427799024081,
"stdev": 0.0006196371408862982,
"p50": 0.01312614393234253,
"p90": 0.013550591945648192,
"p95": 0.014394623756408691,
"p99": 0.015293696165084839,
"values": [
0.017039360046386717,
0.014623744010925293,
0.01471180820465088,
0.014530559539794922,
0.01315225601196289,
0.013191167831420898,
0.012919808387756348,
0.012725248336791992,
0.012690431594848632,
0.012720128059387208,
0.012721152305603027,
0.012725248336791992,
0.013117440223693847,
0.013020159721374512,
0.012734463691711426,
0.012693440437316895,
0.012803071975708008,
0.012733440399169921,
0.012694527626037597,
0.012850175857543946,
0.013667327880859375,
0.013230079650878907,
0.013131775856018067,
0.013149184226989746,
0.013124608039855956,
0.012876768112182618,
0.012685312271118163,
0.012767231941223145,
0.012735487937927246,
0.012683263778686523,
0.01265766429901123,
0.012788703918457031,
0.012701696395874023,
0.012686335563659668,
0.01267302417755127,
0.012717056274414062,
0.01265766429901123,
0.01323519992828369,
0.013757439613342285,
0.01434931182861328,
0.013587455749511718,
0.013187071800231934,
0.013140992164611816,
0.013158432006835937,
0.012878848075866698,
0.01267302417755127,
0.012677120208740235,
0.01294431972503662,
0.013513728141784668,
0.013044735908508302,
0.013071359634399414,
0.013406208038330078,
0.013463552474975587,
0.013244383811950684,
0.013286399841308593,
0.013214719772338868,
0.013229056358337403,
0.013181952476501465,
0.013109248161315918,
0.013108223915100097,
0.01316044807434082,
0.013127679824829102,
0.013145088195800781,
0.013147135734558106,
0.013159423828125,
0.013131744384765625,
0.013148159980773925,
0.013394944190979004,
0.013137920379638672,
0.013112319946289062,
0.013210623741149903,
0.013175807952880859,
0.01315833568572998,
0.013084671974182128,
0.013131775856018067,
0.013048831939697265
]
},
"throughput": {
"unit": "samples/s",
"value": 75.97959851089635
},
"energy": {
"unit": "kWh",
"cpu": 1.607052825234674e-07,
"ram": 8.774853788382316e-08,
"gpu": 3.5134037116215984e-07,
"total": 5.997941915694504e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1667238.5529165461
}
}
}
}