IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
4a65f31 verified
raw
history blame
7.49 kB
{
"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": 977.36704,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 62,
"total": 1.0132828149795534,
"mean": 0.016343271209347632,
"stdev": 0.0004896172761772674,
"p50": 0.016124432563781738,
"p90": 0.017044685554504394,
"p95": 0.017242060470581057,
"p99": 0.017744330692291258,
"values": [
0.01720217514038086,
0.017539072036743163,
0.01705881690979004,
0.016917503356933594,
0.016582656860351562,
0.016442367553710938,
0.01680691146850586,
0.01660927963256836,
0.01594777584075928,
0.015989760398864745,
0.016120832443237306,
0.015804415702819825,
0.015668224334716797,
0.015734784126281737,
0.01589452838897705,
0.01659596824645996,
0.017314815521240236,
0.01806537628173828,
0.01680281639099121,
0.016645120620727538,
0.01683967971801758,
0.01656729507446289,
0.016582687377929686,
0.01724415969848633,
0.01716223907470703,
0.016703487396240235,
0.01660927963256836,
0.01644339179992676,
0.01642086410522461,
0.016236543655395508,
0.01646080017089844,
0.01665126419067383,
0.016683008193969725,
0.0164270076751709,
0.01637990379333496,
0.016192512512207033,
0.015997952461242675,
0.016013311386108398,
0.01596723175048828,
0.01593855953216553,
0.01599078369140625,
0.015953920364379884,
0.015997952461242675,
0.015970335960388184,
0.015949824333190917,
0.016285696029663087,
0.016022527694702148,
0.016012287139892577,
0.01598361587524414,
0.016128032684326173,
0.016005056381225586,
0.015952896118164063,
0.016105472564697267,
0.01601740837097168,
0.015988736152648925,
0.01600921630859375,
0.015928319931030274,
0.015921152114868165,
0.015945728302001954,
0.015924223899841307,
0.015925248146057128,
0.016
]
},
"throughput": {
"unit": "samples/s",
"value": 61.187260933909236
},
"energy": {
"unit": "kWh",
"cpu": 1.8638558427078858e-07,
"ram": 1.0190462485613505e-07,
"gpu": 3.768622806562448e-07,
"total": 6.651524897831685e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1503414.653572127
}
}
}
}