IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e0bdee6 verified
raw
history blame
8.99 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.670272,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.4291748046875,
"mean": 8.4291748046875,
"stdev": 0.0,
"p50": 8.4291748046875,
"p90": 8.4291748046875,
"p95": 8.4291748046875,
"p99": 8.4291748046875,
"values": [
8.4291748046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.494157313889013e-06,
"ram": 1.337272511869906e-06,
"gpu": 3.401113832001215e-06,
"total": 7.232543657760134e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1187.373056,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 0.999403392791748,
"mean": 0.014076104123827435,
"stdev": 0.0004173046565268379,
"p50": 0.013964287757873535,
"p90": 0.014209983825683593,
"p95": 0.014536704063415527,
"p99": 0.016071781921386717,
"values": [
0.016045055389404296,
0.015637503623962403,
0.016134143829345703,
0.014470144271850586,
0.014031871795654297,
0.014018560409545898,
0.014042112350463867,
0.014028800010681153,
0.01428172779083252,
0.014024703979492188,
0.014040063858032227,
0.013917183876037598,
0.01398681640625,
0.01397555160522461,
0.013953023910522461,
0.013927424430847168,
0.014603263854980468,
0.014002176284790039,
0.013958144187927245,
0.013937664031982423,
0.013945856094360352,
0.01397555160522461,
0.013971455574035644,
0.013958144187927245,
0.01395404815673828,
0.013938688278198242,
0.013957119941711426,
0.013941760063171387,
0.01399084758758545,
0.014046208381652832,
0.014169088363647461,
0.013926400184631347,
0.014018560409545898,
0.013981696128845214,
0.01395404815673828,
0.01397657585144043,
0.013949952125549316,
0.013965312004089356,
0.01397760009765625,
0.01402883243560791,
0.013939711570739746,
0.013938688278198242,
0.013920255661010742,
0.013953023910522461,
0.01397657585144043,
0.013913087844848633,
0.013948960304260254,
0.013896703720092773,
0.013944831848144532,
0.013900799751281738,
0.013964287757873535,
0.013927424430847168,
0.014120960235595703,
0.014162912368774414,
0.014209983825683593,
0.014309375762939454,
0.014152671813964844,
0.01414560031890869,
0.014049280166625976,
0.014028800010681153,
0.013858783721923828,
0.013918208122253419,
0.013847552299499511,
0.01386393642425537,
0.013930496215820312,
0.013959168434143066,
0.013806559562683106,
0.013925375938415528,
0.013829119682312012,
0.013682687759399414,
0.013733887672424316
]
},
"throughput": {
"unit": "samples/s",
"value": 71.04238439862364
},
"energy": {
"unit": "kWh",
"cpu": 1.6081929182620452e-07,
"ram": 8.78009217785322e-08,
"gpu": 3.4219997345945443e-07,
"total": 5.908201870641912e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1692562.3428153994
}
}
}
}