IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
cf14c69 verified
raw
history blame
8.09 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.778816,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 76,
"total": 0.9975810575485233,
"mean": 0.01312606654669109,
"stdev": 0.00043091791528167067,
"p50": 0.013164031982421874,
"p90": 0.013576191902160644,
"p95": 0.013826303958892823,
"p99": 0.014409216403961183,
"values": [
0.014332927703857423,
0.014395392417907715,
0.014450688362121582,
0.014042112350463867,
0.01369200038909912,
0.01320246410369873,
0.013319104194641114,
0.013288448333740235,
0.013194304466247558,
0.013354975700378418,
0.013536255836486816,
0.013290495872497558,
0.013406208038330078,
0.0133887996673584,
0.01337446403503418,
0.013280256271362305,
0.013294591903686523,
0.013290495872497558,
0.01314406394958496,
0.013189120292663574,
0.013195263862609862,
0.013461503982543945,
0.01345132827758789,
0.01334169578552246,
0.01323519992828369,
0.013509632110595703,
0.013277183532714844,
0.013616127967834473,
0.01375436782836914,
0.013532159805297851,
0.013134847640991211,
0.01315225601196289,
0.013175807952880859,
0.013184960365295411,
0.013420543670654296,
0.013626367568969726,
0.013373439788818359,
0.013298687934875488,
0.013232159614562988,
0.013196288108825683,
0.013194239616394043,
0.013136960029602051,
0.013023232460021973,
0.013038592338562012,
0.013101056098937988,
0.013151231765747071,
0.01303756809234619,
0.012831744194030761,
0.012933119773864746,
0.012923904418945312,
0.013042688369750977,
0.013015040397644043,
0.012633055686950683,
0.012601344108581543,
0.012706815719604492,
0.012614720344543457,
0.012650495529174804,
0.012620863914489746,
0.012638208389282226,
0.01257369613647461,
0.012583935737609863,
0.012638208389282226,
0.012675071716308594,
0.012632063865661621,
0.012646400451660156,
0.012599295616149902,
0.012630016326904296,
0.012617728233337403,
0.012597248077392579,
0.012613663673400879,
0.012630016326904296,
0.012601344108581543,
0.012734463691711426,
0.012740544319152832,
0.012723199844360352,
0.012812288284301757
]
},
"throughput": {
"unit": "samples/s",
"value": 76.18428540209457
},
"energy": {
"unit": "kWh",
"cpu": 1.5285558510370066e-07,
"ram": 8.355080621745751e-08,
"gpu": 3.3213701784615525e-07,
"total": 5.685434091673134e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1758880.6481190175
}
}
}
}