
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
02726ca
verified
{ | |
"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": "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, | |
"latency": true, | |
"memory": 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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.564224, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.607168 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 73, | |
"total": 0.9996178541183476, | |
"mean": 0.013693395261895166, | |
"stdev": 0.0007549113929564292, | |
"p50": 0.013345791816711425, | |
"p90": 0.01502146587371826, | |
"p95": 0.015442329788208004, | |
"p99": 0.016295403060913087, | |
"values": [ | |
0.015071231842041016, | |
0.015310848236083984, | |
0.015033344268798828, | |
0.01580031967163086, | |
0.016675840377807616, | |
0.015138815879821778, | |
0.014973952293395995, | |
0.0161474552154541, | |
0.01563955211639404, | |
0.013751296043395997, | |
0.013321215629577637, | |
0.0133570556640625, | |
0.013167615890502929, | |
0.013322239875793456, | |
0.01335910415649414, | |
0.013535231590270995, | |
0.013378560066223144, | |
0.013334527969360351, | |
0.013396991729736327, | |
0.01406156826019287, | |
0.01384447956085205, | |
0.01386905574798584, | |
0.013784064292907714, | |
0.013758463859558106, | |
0.01377280044555664, | |
0.01344819164276123, | |
0.013325311660766602, | |
0.013271072387695312, | |
0.013255680084228515, | |
0.013198335647583008, | |
0.013355008125305176, | |
0.013322239875793456, | |
0.013296640396118165, | |
0.013281279563903809, | |
0.013120512008666992, | |
0.013301759719848634, | |
0.013318143844604492, | |
0.01345740795135498, | |
0.013365247726440429, | |
0.013345791816711425, | |
0.013318143844604492, | |
0.01386291217803955, | |
0.014149632453918457, | |
0.014183423995971679, | |
0.014205951690673829, | |
0.013743103981018067, | |
0.013339648246765137, | |
0.0133570556640625, | |
0.01334169578552246, | |
0.013328384399414063, | |
0.01320143985748291, | |
0.013280256271362305, | |
0.01327616024017334, | |
0.013327360153198242, | |
0.013291520118713379, | |
0.013339648246765137, | |
0.013291520118713379, | |
0.01336729621887207, | |
0.013201408386230469, | |
0.013296640396118165, | |
0.013306879997253418, | |
0.013668352127075196, | |
0.013359231948852539, | |
0.013301759719848634, | |
0.013303808212280274, | |
0.0133089599609375, | |
0.013295616149902344, | |
0.013373439788818359, | |
0.013342720031738281, | |
0.013245599746704102, | |
0.013308927536010743, | |
0.013254591941833496, | |
0.013376511573791505 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 73.02790731402578 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6007624320439749e-07, | |
"ram": 8.750631552024095e-08, | |
"gpu": 3.419034266756745e-07, | |
"total": 5.894859854003129e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1696393.170943516 | |
} | |
} | |
} | |
} |