IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
57ed2fa verified
raw
history blame
7.93 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": "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",
"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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.379904,
"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.0052177286148074,
"mean": 0.013961357341872323,
"stdev": 0.0006157268333519445,
"p50": 0.01400268793106079,
"p90": 0.014582879734039307,
"p95": 0.015084646654129029,
"p99": 0.01597340756416321,
"values": [
0.015462400436401368,
0.015742976188659667,
0.014993408203125,
0.01471180820465088,
0.01406771183013916,
0.014029824256896972,
0.014005248069763183,
0.014100480079650878,
0.014140416145324707,
0.014047231674194336,
0.014227456092834472,
0.014223360061645507,
0.014008319854736329,
0.014172160148620605,
0.01398476791381836,
0.014082048416137695,
0.014127103805541993,
0.016537567138671876,
0.015196160316467285,
0.014438400268554688,
0.014234623908996581,
0.014147583961486816,
0.014041088104248046,
0.014234623908996581,
0.014007295608520508,
0.014000127792358399,
0.014005248069763183,
0.014269439697265626,
0.01438003158569336,
0.01406873607635498,
0.014204928398132324,
0.013980671882629395,
0.01439641571044922,
0.01498624038696289,
0.013807616233825683,
0.014208000183105468,
0.014355456352233887,
0.014586879730224609,
0.014546879768371582,
0.014071776390075683,
0.013727744102478028,
0.01363046360015869,
0.013625344276428223,
0.013645824432373046,
0.013363200187683106,
0.013363200187683106,
0.013352959632873536,
0.013350975990295411,
0.01338060760498047,
0.013385727882385253,
0.013385727882385253,
0.013362175941467285,
0.01344102382659912,
0.013415424346923829,
0.0134717435836792,
0.01338060760498047,
0.013406208038330078,
0.01344102382659912,
0.01337548828125,
0.013386752128601074,
0.013385727882385253,
0.013439999580383302,
0.013378560066223144,
0.013386752128601074,
0.01336729621887207,
0.013458432197570801,
0.013378560066223144,
0.013353983879089355,
0.013612031936645508,
0.013660160064697266,
0.013656064033508301,
0.013415424346923829
]
},
"throughput": {
"unit": "samples/s",
"value": 71.62627354296288
},
"energy": {
"unit": "kWh",
"cpu": 1.6156246175279133e-07,
"ram": 8.825076518058361e-08,
"gpu": 3.525453270810337e-07,
"total": 6.023585540144086e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1660140.780496129
}
}
}
}