IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
679ab70 verified
raw
history blame
8.8 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.227-219.884.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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 813.744128,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.08085606384277344
],
"count": 1,
"total": 0.08085606384277344,
"mean": 0.08085606384277344,
"p50": 0.08085606384277344,
"p90": 0.08085606384277344,
"p95": 0.08085606384277344,
"p99": 0.08085606384277344,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.90272,
"max_global_vram": 1444.41344,
"max_process_vram": 0.0,
"max_reserved": 796.91776,
"max_allocated": 757.115392
},
"latency": {
"unit": "s",
"values": [
0.014484479904174804,
0.01416102409362793,
0.014214143753051758,
0.014240768432617188,
0.014177087783813477,
0.014145503997802735,
0.014519295692443847,
0.014262271881103515,
0.014515168190002441,
0.014698495864868164,
0.01460428810119629,
0.014470239639282227,
0.015354911804199218,
0.014576640129089356,
0.014944128036499024,
0.014672896385192872,
0.014851072311401366,
0.014883839607238769,
0.01495043182373047,
0.014755840301513673,
0.01487667179107666,
0.01451417636871338,
0.014133248329162598,
0.014496767997741699,
0.014050304412841797,
0.014167039871215821,
0.014364671707153321,
0.01430016040802002,
0.014342144012451171,
0.014270463943481445,
0.014525440216064453,
0.014272512435913086,
0.014117888450622559,
0.014240768432617188,
0.014370816230773926,
0.015067135810852051,
0.014954496383666992,
0.015042559623718262,
0.014977024078369141,
0.014869503974914551,
0.014835712432861328,
0.014937088012695313,
0.015116288185119628,
0.01521459197998047,
0.015160320281982421,
0.01548083209991455,
0.014859392166137695,
0.015223808288574218,
0.01519820785522461,
0.015226911544799805,
0.01488486385345459,
0.014841856002807617,
0.014948351860046387,
0.014990336418151855,
0.015141887664794922,
0.014981120109558106,
0.014911487579345703,
0.014945280075073243,
0.014840928077697754,
0.01488588809967041,
0.014810175895690917,
0.014811936378479005,
0.014912511825561523,
0.014887935638427734,
0.015376383781433106,
0.014834688186645508,
0.01489408016204834,
0.014709759712219238
],
"count": 68,
"total": 1.0012989463806152,
"mean": 0.014724984505597283,
"p50": 0.014838320255279541,
"p90": 0.015171686553955078,
"p95": 0.01522582540512085,
"p99": 0.015410851726531982,
"stdev": 0.0003575857656486214,
"stdev_": 2.4284288076004112
},
"throughput": {
"unit": "samples/s",
"value": 135.82357246214806
},
"energy": {
"unit": "kWh",
"cpu": 1.762518225694423e-07,
"ram": 9.631045127162888e-08,
"gpu": 3.922225360000044e-07,
"total": 6.647848098410756e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3008492.327732523
}
}
}
}