IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
9e2f93f verified
raw
history blame
7.87 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_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.14",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 959.885312,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0025584964752199,
"mean": 0.013924423562155829,
"stdev": 0.00048675710230325304,
"p50": 0.01393612813949585,
"p90": 0.014347980403900147,
"p95": 0.014643711805343629,
"p99": 0.015418695716857918,
"values": [
0.01416806411743164,
0.014784511566162109,
0.014528512001037597,
0.015007712364196778,
0.014243840217590332,
0.014041152000427246,
0.01415167999267578,
0.013958144187927245,
0.014018560409545898,
0.013723648071289063,
0.014250975608825683,
0.014004223823547364,
0.014238816261291504,
0.014345215797424317,
0.013989888191223144,
0.014053376197814941,
0.014063648223876953,
0.014000127792358399,
0.013897727966308594,
0.013801471710205078,
0.014261247634887696,
0.014424063682556153,
0.014286848068237304,
0.0140697603225708,
0.01423971176147461,
0.014016511917114258,
0.013916159629821777,
0.014004223823547364,
0.014132224082946777,
0.013883392333984374,
0.013894656181335448,
0.013944831848144532,
0.01408614444732666,
0.014446592330932618,
0.014348287582397461,
0.014152704238891601,
0.014036992073059081,
0.013924351692199707,
0.014114815711975098,
0.013927424430847168,
0.014320575714111328,
0.016151552200317384,
0.015119359970092774,
0.014119935989379882,
0.013737983703613281,
0.013697024345397948,
0.013517824172973633,
0.01355059242248535,
0.013536255836486816,
0.013575167655944824,
0.013433856010437012,
0.013421567916870117,
0.013439999580383302,
0.013533184051513672,
0.013427712440490723,
0.013421567916870117,
0.013828096389770507,
0.013633536338806153,
0.013431808471679688,
0.013399040222167969,
0.013709312438964843,
0.013415424346923829,
0.013543423652648925,
0.013690879821777344,
0.013325311660766602,
0.01325055980682373,
0.013207551956176757,
0.013238271713256837,
0.013398015975952148,
0.013467647552490235,
0.013437952041625977,
0.013195263862609862
]
},
"throughput": {
"unit": "samples/s",
"value": 71.81625835613237
},
"energy": {
"unit": "kWh",
"cpu": 1.5815010335710316e-07,
"ram": 8.645012903434691e-08,
"gpu": 3.2874100373332195e-07,
"total": 5.73341236124772e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1744162.0050897181
}
}
}
}