IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
4b1b38e verified
raw
history blame
7.79 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.536128,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0018957738876342,
"mean": 0.014312796769823345,
"stdev": 0.000471044854333861,
"p50": 0.014249471664428711,
"p90": 0.014793625259399413,
"p95": 0.01523875856399536,
"p99": 0.01614117872238159,
"values": [
0.015731712341308594,
0.01640755271911621,
0.016021503448486327,
0.015520768165588379,
0.01480191993713379,
0.014835712432861328,
0.014611424446105957,
0.014012415885925293,
0.014156800270080566,
0.014161919593811035,
0.014011360168457032,
0.014106623649597168,
0.014136256217956543,
0.01419059181213379,
0.013983743667602539,
0.014202879905700684,
0.014042112350463867,
0.014048255920410157,
0.013971455574035644,
0.014018560409545898,
0.01414252758026123,
0.01437996768951416,
0.014134271621704102,
0.014041024208068848,
0.014183423995971679,
0.01409126377105713,
0.013991935729980469,
0.013936639785766602,
0.014241791725158692,
0.013945856094360352,
0.013956095695495606,
0.013971455574035644,
0.013947903633117676,
0.014299136161804199,
0.01436569595336914,
0.014169088363647461,
0.014048255920410157,
0.014057472229003906,
0.013931520462036133,
0.01386291217803955,
0.013939711570739746,
0.01371343994140625,
0.01421820831298828,
0.014449664115905762,
0.014491647720336913,
0.014784511566162109,
0.01489408016204834,
0.013894656181335448,
0.013721599578857421,
0.014261247634887696,
0.014329855918884277,
0.014292991638183594,
0.014353407859802245,
0.014359552383422852,
0.014307328224182129,
0.01429100799560547,
0.014792703628540039,
0.014342144012451171,
0.014360544204711913,
0.014297087669372559,
0.014299136161804199,
0.014363648414611817,
0.014320639610290528,
0.014285823822021485,
0.014332927703857423,
0.014326784133911133,
0.014334976196289062,
0.014330880165100097,
0.01425715160369873,
0.014276608467102051
]
},
"throughput": {
"unit": "samples/s",
"value": 69.86754692893906
},
"energy": {
"unit": "kWh",
"cpu": 1.6576348585479056e-07,
"ram": 9.058178719290784e-08,
"gpu": 3.3549023752777475e-07,
"total": 5.918355105754732e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1689658.6671990107
}
}
}
}