IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7c414ed verified
raw
history blame
9.08 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_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.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 708.251648,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.2158349609375,
"mean": 7.2158349609375,
"stdev": 0.0,
"p50": 7.2158349609375,
"p90": 7.2158349609375,
"p95": 7.2158349609375,
"p99": 7.2158349609375,
"values": [
7.2158349609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1315961678822836e-06,
"ram": 6.04607491345727e-07,
"gpu": 1.7219458220002481e-06,
"total": 3.4581494812282587e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.57664,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0074204807281495,
"mean": 0.013800280557919856,
"stdev": 0.0005866072437501239,
"p50": 0.013771776199340821,
"p90": 0.013880940437316894,
"p95": 0.01410826263427734,
"p99": 0.016204349441528324,
"values": [
0.01801215934753418,
0.014447615623474122,
0.015501312255859375,
0.013527039527893067,
0.01305190372467041,
0.013038592338562012,
0.013094911575317383,
0.0133570556640625,
0.014325759887695312,
0.013722687721252442,
0.013628416061401367,
0.01345740795135498,
0.013478912353515626,
0.01348300838470459,
0.01347379207611084,
0.013521856307983398,
0.013472767829895019,
0.013415424346923829,
0.012883968353271484,
0.013730815887451172,
0.013963264465332031,
0.013942784309387207,
0.013884415626525879,
0.013864959716796875,
0.013831168174743653,
0.013836288452148437,
0.013836288452148437,
0.013834239959716797,
0.013819904327392578,
0.013845503807067871,
0.013817855834960938,
0.013841471672058105,
0.013867039680480957,
0.01384447956085205,
0.013782015800476074,
0.01378713607788086,
0.013819904327392578,
0.013789183616638183,
0.013826047897338867,
0.013810688018798829,
0.013837311744689941,
0.013775872230529786,
0.013811712265014648,
0.013800479888916016,
0.01380352020263672,
0.013710335731506347,
0.013637632369995116,
0.013829119682312012,
0.013771776199340821,
0.013812735557556152,
0.013771776199340821,
0.013812735557556152,
0.013781951904296876,
0.013735936164855958,
0.013724672317504882,
0.013734911918640137,
0.013716480255126954,
0.013796352386474609,
0.013719552040100098,
0.013739007949829102,
0.013930496215820312,
0.013736960411071777,
0.013768704414367675,
0.013676544189453126,
0.013705216407775878,
0.013707263946533203,
0.01374617576599121,
0.013758463859558106,
0.013711359977722168,
0.01374617576599121,
0.013684736251831055,
0.013737983703613281,
0.013716480255126954
]
},
"throughput": {
"unit": "samples/s",
"value": 72.46229493690322
},
"energy": {
"unit": "kWh",
"cpu": 1.5451539130437943e-07,
"ram": 8.448102693223243e-08,
"gpu": 3.3036822966233307e-07,
"total": 5.693646478989449e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1756343.6783266661
}
}
}
}