IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
b37ab57 verified
raw
history blame
7.88 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",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.118336,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 0.9987029781341552,
"mean": 0.014066239128650074,
"stdev": 0.00043416708567492734,
"p50": 0.01406873607635498,
"p90": 0.014366720199584961,
"p95": 0.015098880290985106,
"p99": 0.015519538974761963,
"values": [
0.014836735725402832,
0.01559552001953125,
0.015284223556518555,
0.014993408203125,
0.013825023651123047,
0.013669376373291015,
0.013617152214050294,
0.013675519943237305,
0.013592576026916504,
0.013620223999023438,
0.013559807777404785,
0.013584383964538574,
0.013623295783996582,
0.01347481632232666,
0.01347481632232666,
0.01346457576751709,
0.013469696044921875,
0.0135731201171875,
0.013609984397888183,
0.013609984397888183,
0.013613056182861329,
0.013643775939941406,
0.01406771183013916,
0.014104576110839843,
0.014062591552734375,
0.014073856353759765,
0.014053376197814941,
0.013615103721618652,
0.014120960235595703,
0.014071807861328126,
0.014063615798950196,
0.014047231674194336,
0.014060544013977052,
0.014063615798950196,
0.014045184135437011,
0.01548697566986084,
0.015204352378845215,
0.014366720199584961,
0.014131199836730958,
0.014138367652893067,
0.014164992332458496,
0.014070783615112305,
0.014120960235595703,
0.014060544013977052,
0.014064640045166015,
0.014106623649597168,
0.014082048416137695,
0.01409331226348877,
0.014247936248779297,
0.01417728042602539,
0.014087167739868164,
0.014135295867919923,
0.014106623649597168,
0.014108672142028808,
0.014096384048461913,
0.014058496475219727,
0.014575615882873535,
0.014111743927001954,
0.01405951976776123,
0.014119935989379882,
0.01406873607635498,
0.014033920288085937,
0.014130175590515137,
0.0140697603225708,
0.014119872093200684,
0.014065664291381836,
0.014052351951599122,
0.014108672142028808,
0.014097408294677734,
0.014042048454284669,
0.01407692813873291
]
},
"throughput": {
"unit": "samples/s",
"value": 71.09220814845973
},
"energy": {
"unit": "kWh",
"cpu": 1.647783535314195e-07,
"ram": 9.005688865120949e-08,
"gpu": 3.438351516111135e-07,
"total": 5.986703937937426e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1670368.219919901
}
}
}
}