IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
8decad8 verified
raw
history blame
9.11 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": {},
"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,
"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": 703.410176,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.605184
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.20399560546875,
"mean": 7.20399560546875,
"stdev": 0.0,
"p50": 7.20399560546875,
"p90": 7.20399560546875,
"p95": 7.20399560546875,
"p99": 7.20399560546875,
"values": [
7.20399560546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.043395863638984e-06,
"ram": 5.562242673859904e-07,
"gpu": 1.6811124559992785e-06,
"total": 3.2807325870242526e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 985.6,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0050150089263918,
"mean": 0.013767328889402625,
"stdev": 0.000740853942299803,
"p50": 0.013569024085998535,
"p90": 0.014617804718017578,
"p95": 0.014829951858520507,
"p99": 0.01576952705383301,
"values": [
0.016056352615356446,
0.015657983779907226,
0.014817279815673828,
0.014512127876281738,
0.014619647979736328,
0.014334976196289062,
0.014403583526611329,
0.014610431671142577,
0.014541824340820313,
0.01439641571044922,
0.014657535552978516,
0.014560256004333496,
0.014515199661254884,
0.014414848327636719,
0.014534624099731445,
0.013411328315734864,
0.013486080169677735,
0.01343283176422119,
0.013569024085998535,
0.013798399925231934,
0.013660160064697266,
0.013430720329284667,
0.013636608123779297,
0.013558783531188966,
0.013486080169677735,
0.013410304069519043,
0.013811712265014648,
0.013569024085998535,
0.013623295783996582,
0.014339072227478027,
0.014549951553344726,
0.015136768341064453,
0.01478867244720459,
0.013600768089294434,
0.013510656356811524,
0.013583359718322753,
0.013399104118347167,
0.0133887996673584,
0.013711359977722168,
0.013232128143310547,
0.01368166446685791,
0.014574591636657714,
0.01445792007446289,
0.014533632278442383,
0.014418944358825684,
0.01423465633392334,
0.014848959922790528,
0.013462528228759766,
0.01306828784942627,
0.013049856185913086,
0.013005824089050292,
0.012972031593322754,
0.01296281623840332,
0.012966912269592285,
0.012958720207214355,
0.012949503898620606,
0.012922880172729492,
0.012941311836242676,
0.013148159980773925,
0.01295257568359375,
0.012933119773864746,
0.012923904418945312,
0.012918784141540527,
0.012932095527648926,
0.01305907154083252,
0.01304576015472412,
0.012918784141540527,
0.012966912269592285,
0.012973055839538575,
0.012973055839538575,
0.014515199661254884,
0.013536191940307618,
0.01344921588897705
]
},
"throughput": {
"unit": "samples/s",
"value": 72.63573115985832
},
"energy": {
"unit": "kWh",
"cpu": 1.6496111121442583e-07,
"ram": 9.012084026208522e-08,
"gpu": 3.4019317338889257e-07,
"total": 5.952751248654036e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1679895.4940811745
}
}
}
}