IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
16b5e38 verified
raw
history blame
9.1 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.504384,
"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.13133544921875,
"mean": 7.13133544921875,
"stdev": 0.0,
"p50": 7.13133544921875,
"p90": 7.13133544921875,
"p95": 7.13133544921875,
"p99": 7.13133544921875,
"values": [
7.13133544921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0562926530838013e-06,
"ram": 5.633221602354866e-07,
"gpu": 1.826945905999272e-06,
"total": 3.4465607193185603e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 985.677824,
"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.0085785884857175,
"mean": 0.013816145047749558,
"stdev": 0.00043776725021576183,
"p50": 0.013913087844848633,
"p90": 0.014208825492858887,
"p95": 0.014407884979248047,
"p99": 0.015264891090393067,
"values": [
0.01547059154510498,
0.015184896469116211,
0.01440665626525879,
0.014011391639709473,
0.014072832107543945,
0.013884415626525879,
0.013991935729980469,
0.014070783615112305,
0.014214143753051758,
0.01396735954284668,
0.014118911743164063,
0.014106656074523926,
0.01415167999267578,
0.01400111961364746,
0.014034943580627441,
0.013920255661010742,
0.014005248069763183,
0.013940735816955567,
0.013920255661010742,
0.01417523193359375,
0.014269439697265626,
0.014070783615112305,
0.014016511917114258,
0.014108672142028808,
0.01399500846862793,
0.013855744361877441,
0.013958144187927245,
0.014187552452087403,
0.01387929630279541,
0.013913087844848633,
0.013910016059875489,
0.014409728050231933,
0.0142807035446167,
0.0140830717086792,
0.014055423736572266,
0.014032896041870118,
0.013246399879455566,
0.013234175682067872,
0.01324131202697754,
0.013038592338562012,
0.013044735908508302,
0.0138854398727417,
0.014023679733276367,
0.014108672142028808,
0.013906975746154786,
0.01359769630432129,
0.013466624259948731,
0.013502464294433594,
0.013454336166381836,
0.013415424346923829,
0.013387776374816895,
0.013381631851196289,
0.013408255577087403,
0.01338265609741211,
0.01339084815979004,
0.013410304069519043,
0.013411328315734864,
0.013396991729736327,
0.013409279823303222,
0.013409279823303222,
0.01337548828125,
0.013401087760925292,
0.013396991729736327,
0.013421567916870117,
0.013405183792114257,
0.013407232284545899,
0.013460479736328124,
0.013466624259948731,
0.013442048072814941,
0.01344921588897705,
0.013938688278198242,
0.014123071670532226,
0.014459903717041016
]
},
"throughput": {
"unit": "samples/s",
"value": 72.37908957556037
},
"energy": {
"unit": "kWh",
"cpu": 1.5936626328362358e-07,
"ram": 8.705683081067389e-08,
"gpu": 3.65648440666666e-07,
"total": 6.120715347609635e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1633795.9588180112
}
}
}
}