IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
2f8a41b verified
raw
history blame
7.82 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"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.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.491072,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0056614370346066,
"mean": 0.014164245592036717,
"stdev": 0.00044171859682510525,
"p50": 0.014051360130310058,
"p90": 0.014436351776123046,
"p95": 0.01508351993560791,
"p99": 0.015944806003570556,
"values": [
0.01538764762878418,
0.01617919921875,
0.01579529571533203,
0.015844351768493654,
0.014779392242431641,
0.01420083236694336,
0.014054400444030762,
0.014000127792358399,
0.013830143928527832,
0.013831168174743653,
0.014029824256896972,
0.013916159629821777,
0.013868032455444336,
0.013856767654418945,
0.01397043228149414,
0.014118911743164063,
0.0141659517288208,
0.014126079559326172,
0.01397862434387207,
0.014105600357055664,
0.014051360130310058,
0.014134271621704102,
0.014071807861328126,
0.014046208381652832,
0.014112768173217773,
0.014109696388244629,
0.014051327705383301,
0.014015487670898438,
0.014034943580627441,
0.01425100803375244,
0.01390182399749756,
0.01397555160522461,
0.013876223564147949,
0.01386188793182373,
0.01386086368560791,
0.01384447956085205,
0.013927424430847168,
0.013837311744689941,
0.01386393642425537,
0.013969408035278321,
0.014004223823547364,
0.013921279907226563,
0.013874176025390626,
0.013881343841552735,
0.014483551979064941,
0.0140697603225708,
0.014072832107543945,
0.014585856437683106,
0.014299136161804199,
0.014231552124023437,
0.014375935554504395,
0.014306303977966308,
0.014115839958190919,
0.014170111656188965,
0.014113823890686035,
0.01386291217803955,
0.014436351776123046,
0.014094335556030273,
0.014057536125183106,
0.01407590389251709,
0.014056447982788087,
0.014050304412841797,
0.014042112350463867,
0.014034943580627441,
0.014164992332458496,
0.014210047721862793,
0.014139391899108887,
0.014013440132141113,
0.014020607948303223,
0.014040063858032227,
0.014019583702087402
]
},
"throughput": {
"unit": "samples/s",
"value": 70.60030084215782
},
"energy": {
"unit": "kWh",
"cpu": 1.6661593805492662e-07,
"ram": 9.068229740023525e-08,
"gpu": 3.232911536944357e-07,
"total": 5.805893891495975e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1722387.661036525
}
}
}
}