IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8072f48 verified
raw
history blame
8.96 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.45024,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.96623779296875,
"mean": 7.96623779296875,
"stdev": 0.0,
"p50": 7.96623779296875,
"p90": 7.96623779296875,
"p95": 7.96623779296875,
"p99": 7.96623779296875,
"values": [
7.96623779296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.460771391669899e-06,
"ram": 1.3064916920989835e-06,
"gpu": 3.539169498001024e-06,
"total": 7.306432581769907e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1186.684928,
"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.998546591758728,
"mean": 0.014264951310838972,
"stdev": 0.0005396606193544513,
"p50": 0.01413324785232544,
"p90": 0.014430895805358886,
"p95": 0.015369676351547241,
"p99": 0.016610774803161626,
"values": [
0.015640576362609862,
0.01528012752532959,
0.014725119590759277,
0.014111743927001954,
0.014033920288085937,
0.014082079887390136,
0.014026752471923828,
0.0139683837890625,
0.014081024169921874,
0.014134271621704102,
0.014107647895812989,
0.014015487670898438,
0.014240768432617188,
0.014181376457214356,
0.01416806411743164,
0.014000127792358399,
0.014146559715270996,
0.01403395175933838,
0.013914112091064454,
0.014106623649597168,
0.013948927879333496,
0.01408409595489502,
0.014140416145324707,
0.014277631759643555,
0.014224384307861328,
0.014087167739868164,
0.014235648155212402,
0.014144512176513671,
0.014109696388244629,
0.013939711570739746,
0.013959168434143066,
0.014261247634887696,
0.013972479820251465,
0.014087167739868164,
0.014034943580627441,
0.014029824256896972,
0.014437376022338867,
0.014317567825317384,
0.01428889560699463,
0.014319616317749024,
0.014010368347167968,
0.014132224082946777,
0.013919232368469238,
0.013938688278198242,
0.013961215972900391,
0.014213184356689453,
0.015442943572998047,
0.01738447952270508,
0.01626316833496094,
0.01443017578125,
0.014169088363647461,
0.014254079818725587,
0.014196736335754395,
0.014242815971374511,
0.014152704238891601,
0.014179327964782714,
0.014149632453918457,
0.01419059181213379,
0.014158847808837891,
0.014173184394836426,
0.014105600357055664,
0.014087200164794922,
0.014092288017272948,
0.014062591552734375,
0.014110719680786133,
0.014050304412841797,
0.014148608207702636,
0.014114815711975098,
0.014185471534729004,
0.014127103805541993
]
},
"throughput": {
"unit": "samples/s",
"value": 70.10188665980006
},
"energy": {
"unit": "kWh",
"cpu": 1.6992785741389889e-07,
"ram": 9.238013413149645e-08,
"gpu": 3.534275127887237e-07,
"total": 6.157355043341191e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1624073.9618895939
}
}
}
}