IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
122b063 verified
raw
history blame
8.79 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.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 798.621696,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07776665496826173
],
"count": 1,
"total": 0.07776665496826173,
"mean": 0.07776665496826173,
"p50": 0.07776665496826173,
"p90": 0.07776665496826173,
"p95": 0.07776665496826173,
"p99": 0.07776665496826173,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1187.721216,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.015779840469360353,
0.01488691234588623,
0.014988287925720215,
0.014846976280212403,
0.014736384391784667,
0.014857215881347656,
0.014853055953979493,
0.014987263679504394,
0.014833663940429688,
0.015162367820739747,
0.015019935607910156,
0.01487667179107666,
0.014946304321289062,
0.015484928131103515,
0.015047679901123047,
0.01501696014404297,
0.01478553581237793,
0.014931967735290527,
0.015225728034973145,
0.01613209533691406,
0.014874752044677735,
0.014914624214172363,
0.014886879920959472,
0.015069184303283691,
0.015249407768249512,
0.015333375930786132,
0.014826496124267579,
0.014996479988098145,
0.01484607982635498,
0.015325183868408204,
0.014699520111083985,
0.015253503799438477,
0.01479475212097168,
0.01464627170562744,
0.014653471946716309,
0.015219712257385254,
0.014938112258911132,
0.015068160057067872,
0.015211520195007324,
0.014344191551208496,
0.014312447547912598,
0.014329855918884277,
0.014448479652404785,
0.014254079818725587,
0.014147520065307617,
0.014149632453918457,
0.014119935989379882,
0.014372832298278808,
0.014186495780944825,
0.014124032020568847,
0.014435263633728027,
0.01418239974975586,
0.01419264030456543,
0.014116864204406738,
0.01430016040802002,
0.01417632007598877,
0.014117888450622559,
0.01425920009613037,
0.014162943840026856,
0.014216192245483398,
0.01407487964630127,
0.014132224082946777,
0.014194687843322755,
0.014171135902404786,
0.014107647895812989,
0.014190560340881347,
0.014285856246948243,
0.01438822364807129
],
"count": 68,
"total": 0.9987018556594852,
"mean": 0.014686791994992425,
"p50": 0.014790143966674805,
"p90": 0.015232831954956056,
"p95": 0.015330508708953857,
"p99": 0.015896084575653075,
"stdev": 0.0004612073917555967,
"stdev_": 3.140286809487388
},
"throughput": {
"unit": "samples/s",
"value": 68.0883885562591
},
"energy": {
"unit": "kWh",
"cpu": 1.6757974272302382e-07,
"ram": 9.148870294076734e-08,
"gpu": 3.362835241127e-07,
"total": 5.953519697764912e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1679678.661977759
}
}
}
}