IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5261d85 verified
raw
history blame
8.94 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.644864,
"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.400701171875,
"mean": 7.400701171875,
"stdev": 0.0,
"p50": 7.400701171875,
"p90": 7.400701171875,
"p95": 7.400701171875,
"p99": 7.400701171875,
"values": [
7.400701171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.150584225000194e-06,
"ram": 5.916213424977788e-07,
"gpu": 1.6208346299995818e-06,
"total": 3.3630401974975546e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.781824,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0091602249145508,
"mean": 0.01441657464163644,
"stdev": 0.00040365259246540405,
"p50": 0.014375423908233643,
"p90": 0.014878822422027588,
"p95": 0.014933094358444214,
"p99": 0.0156417022228241,
"values": [
0.016284671783447266,
0.014956543922424317,
0.01403600025177002,
0.013898752212524413,
0.01387929630279541,
0.013855744361877441,
0.013882335662841796,
0.014889984130859376,
0.014135295867919923,
0.014196736335754395,
0.013932576179504394,
0.01409331226348877,
0.013966336250305175,
0.01470361614227295,
0.01460531234741211,
0.014622688293457031,
0.014952447891235352,
0.014744576454162597,
0.014566399574279786,
0.01459404754638672,
0.014840895652770997,
0.014833663940429688,
0.014713855743408203,
0.014598143577575684,
0.014750720024108887,
0.014611455917358398,
0.014548959732055665,
0.014548992156982422,
0.014877696037292481,
0.014583807945251465,
0.01448755168914795,
0.014565343856811524,
0.014838784217834473,
0.015352831840515137,
0.01490944004058838,
0.014630911827087402,
0.014559231758117675,
0.014701567649841308,
0.014450688362121582,
0.014547967910766601,
0.014416895866394042,
0.014345215797424317,
0.01459712028503418,
0.01468825626373291,
0.014888959884643555,
0.014405632019042968,
0.014110719680786133,
0.014114815711975098,
0.01416806411743164,
0.014123007774353028,
0.0141844482421875,
0.014137344360351562,
0.014026752471923828,
0.014095359802246094,
0.014148608207702636,
0.014128128051757812,
0.014044159889221192,
0.01420803165435791,
0.014186495780944825,
0.014081024169921874,
0.01408614444732666,
0.014102527618408203,
0.014129152297973633,
0.01406156826019287,
0.014140416145324707,
0.014169088363647461,
0.014038016319274902,
0.014113792419433594,
0.014142463684082032,
0.014328831672668458
]
},
"throughput": {
"unit": "samples/s",
"value": 69.36460462056672
},
"energy": {
"unit": "kWh",
"cpu": 1.6267695017123144e-07,
"ram": 8.88722006826888e-08,
"gpu": 3.4593634980822203e-07,
"total": 5.974855006621423e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1673680.782030334
}
}
}
}