IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7f94d44 verified
raw
history blame
8.79 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.228-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": 816.4352,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07825520324707032
],
"count": 1,
"total": 0.07825520324707032,
"mean": 0.07825520324707032,
"p50": 0.07825520324707032,
"p90": 0.07825520324707032,
"p95": 0.07825520324707032,
"p99": 0.07825520324707032,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1202.630656,
"max_global_vram": 1444.41344,
"max_process_vram": 0.0,
"max_reserved": 796.91776,
"max_allocated": 757.115392
},
"latency": {
"unit": "s",
"values": [
0.014751744270324708,
0.014681216239929198,
0.014492671966552734,
0.01460223960876465,
0.014652416229248047,
0.014416000366210938,
0.014652416229248047,
0.014395263671875,
0.01477017593383789,
0.015264767646789551,
0.015597536087036132,
0.014727168083190918,
0.014755680084228515,
0.014540800094604492,
0.01460531234741211,
0.014849023818969726,
0.014583904266357422,
0.01462662410736084,
0.014464991569519043,
0.014594176292419433,
0.014728192329406739,
0.014630911827087402,
0.01451417636871338,
0.014470239639282227,
0.01440665626525879,
0.014529536247253418,
0.014655488014221191,
0.01511740779876709,
0.014732288360595704,
0.014931967735290527,
0.014538751602172852,
0.015047552108764649,
0.015527968406677245,
0.015152128219604492,
0.015147007942199708,
0.015265791893005372,
0.015366144180297851,
0.015195136070251464,
0.015509504318237305,
0.015443967819213868,
0.01529535961151123,
0.015346688270568848,
0.015247360229492187,
0.015130623817443848,
0.01510707187652588,
0.014858240127563477,
0.014872575759887695,
0.014893983840942383,
0.014972000122070313,
0.01477017593383789,
0.01477129554748535,
0.014863360404968261,
0.014733311653137206,
0.014849023818969726,
0.014750720024108887,
0.014740480422973632,
0.014763008117675782,
0.014714879989624024,
0.014911487579345703,
0.01477734375,
0.014728192329406739,
0.014862336158752442,
0.014866432189941407,
0.014723039627075196,
0.014775296211242676,
0.014927807807922364,
0.015110112190246583,
0.015076319694519042
],
"count": 68,
"total": 1.0103734731674192,
"mean": 0.014858433428932638,
"p50": 0.01477073574066162,
"p90": 0.01527466220855713,
"p95": 0.015416729545593262,
"p99": 0.015550925741195678,
"stdev": 0.00029273055469879736,
"stdev_": 1.9701306742660136
},
"throughput": {
"unit": "samples/s",
"value": 134.60369221061757
},
"energy": {
"unit": "kWh",
"cpu": 1.7383146123189885e-07,
"ram": 9.497690944738346e-08,
"gpu": 3.8916697800001104e-07,
"total": 6.579753486792935e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3039627.55445847
}
}
}
}