IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
c71acdf 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": {},
"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": 707.473408,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.18692138671875,
"mean": 7.18692138671875,
"stdev": 0.0,
"p50": 7.18692138671875,
"p90": 7.18692138671875,
"p95": 7.18692138671875,
"p99": 7.18692138671875,
"values": [
7.18692138671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0533400707774693e-06,
"ram": 5.615280177916778e-07,
"gpu": 0.0,
"total": 1.6148680885691471e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.7984,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 0.9999756479263305,
"mean": 0.013513184431436898,
"stdev": 0.0003973068175124097,
"p50": 0.013369376182556153,
"p90": 0.013962016105651856,
"p95": 0.014057523107528686,
"p99": 0.015108128042221069,
"values": [
0.01528012752532959,
0.015044511795043946,
0.013793279647827148,
0.013346816062927246,
0.01335807991027832,
0.013271039962768554,
0.01323408031463623,
0.01386188793182373,
0.01398681640625,
0.013408063888549804,
0.013370431900024415,
0.013335552215576172,
0.013489151954650879,
0.013347840309143067,
0.013322175979614258,
0.013381631851196289,
0.013180928230285644,
0.013254591941833496,
0.013313023567199708,
0.0133570556640625,
0.013530112266540528,
0.013503487586975099,
0.013782015800476074,
0.013951935768127442,
0.013848575592041015,
0.013966336250305175,
0.013732864379882812,
0.013835424423217774,
0.014027775764465332,
0.013856927871704101,
0.013732864379882812,
0.013807616233825683,
0.01435750389099121,
0.013760512351989745,
0.013446144104003906,
0.013261823654174805,
0.013395968437194825,
0.013155327796936036,
0.013088768005371093,
0.013187071800231934,
0.012931072235107421,
0.01284812831878662,
0.01346560001373291,
0.013999135971069335,
0.014112768173217773,
0.013841504096984864,
0.013702943801879882,
0.013593600273132325,
0.013551615715026855,
0.013417471885681152,
0.013461503982543945,
0.013381600379943848,
0.013348863601684571,
0.013363200187683106,
0.01325772762298584,
0.013348863601684571,
0.013282303810119628,
0.013219840049743652,
0.013379584312438965,
0.013408255577087403,
0.013215744018554687,
0.013322239875793456,
0.013364224433898926,
0.013261823654174805,
0.013264896392822266,
0.013343744277954102,
0.013368320465087891,
0.013306879997253418,
0.013271039962768554,
0.013200384140014648,
0.013260800361633301,
0.013175807952880859,
0.013317119598388672,
0.013220895767211914
]
},
"throughput": {
"unit": "samples/s",
"value": 74.00180209733635
},
"energy": {
"unit": "kWh",
"cpu": 1.5720308306272966e-07,
"ram": 8.59518416712272e-08,
"gpu": 3.430156252894591e-07,
"total": 5.861705500234159e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1705988.129154651
}
}
}
}