IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d95d1b5 verified
raw
history blame
8.04 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.0",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 959.647744,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.002491840362549,
"mean": 0.013366557871500649,
"stdev": 0.0008227278964229968,
"p50": 0.0132741117477417,
"p90": 0.013433651351928711,
"p95": 0.01408081922531128,
"p99": 0.017026191139221207,
"values": [
0.019366912841796875,
0.01620377540588379,
0.014156800270080566,
0.014048255920410157,
0.01457151985168457,
0.013172736167907715,
0.013194239616394043,
0.013156352043151855,
0.013207551956176757,
0.013339679718017578,
0.013401087760925292,
0.013302783966064453,
0.013305855751037597,
0.013332480430603028,
0.013360128402709961,
0.013196288108825683,
0.013156352043151855,
0.013200384140014648,
0.013269023895263672,
0.013164544105529785,
0.013138943672180176,
0.013159423828125,
0.01323519992828369,
0.013295616149902344,
0.0132741117477417,
0.013332480430603028,
0.013293567657470704,
0.013475839614868163,
0.013637632369995116,
0.013455360412597657,
0.01334169578552246,
0.013234175682067872,
0.01316659164428711,
0.013387776374816895,
0.013316096305847168,
0.013296640396118165,
0.013282303810119628,
0.013297663688659669,
0.013254688262939454,
0.0132741117477417,
0.013175807952880859,
0.013119487762451172,
0.013099007606506348,
0.013097984313964844,
0.0132259521484375,
0.013283328056335449,
0.013299712181091309,
0.013360128402709961,
0.013326335906982421,
0.013277183532714844,
0.013288448333740235,
0.013318143844604492,
0.013007871627807617,
0.012816384315490722,
0.01286348819732666,
0.012795904159545898,
0.012805120468139648,
0.012816384315490722,
0.012896256446838379,
0.012797951698303223,
0.012823552131652831,
0.012819392204284668,
0.012859392166137695,
0.012997632026672363,
0.013349823951721192,
0.013234175682067872,
0.013318143844604492,
0.013297663688659669,
0.013244416236877441,
0.013275135993957519,
0.013277183532714844,
0.013283328056335449,
0.013263872146606445,
0.013285375595092774,
0.01323519992828369
]
},
"throughput": {
"unit": "samples/s",
"value": 74.8135765103848
},
"energy": {
"unit": "kWh",
"cpu": 1.5209295556076575e-07,
"ram": 8.311950711616262e-08,
"gpu": 3.271655038977323e-07,
"total": 5.623779665746606e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1778163.5473573292
}
}
}
}