IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0286c36 verified
raw
history blame
7.97 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": {},
"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",
"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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 982.491136,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.010008995056152,
"mean": 0.014027902709113225,
"stdev": 0.0009506995686880036,
"p50": 0.013721600055694581,
"p90": 0.014417202854156494,
"p95": 0.015691896533966066,
"p99": 0.01783655416488649,
"values": [
0.019886079788208007,
0.016470016479492186,
0.015333408355712891,
0.015256575584411621,
0.01359769630432129,
0.01367347240447998,
0.013515775680541992,
0.013558783531188966,
0.013570048332214356,
0.013723648071289063,
0.01358233642578125,
0.013683712005615235,
0.013699071884155273,
0.013700096130371094,
0.013634559631347656,
0.013592576026916504,
0.013674495697021484,
0.013428735733032226,
0.013601792335510255,
0.013488127708435058,
0.013592543601989747,
0.013645824432373046,
0.013745152473449707,
0.013758463859558106,
0.013535264015197754,
0.013810688018798829,
0.013616127967834473,
0.013571071624755859,
0.013503423690795898,
0.013677568435668945,
0.013578240394592284,
0.013529088020324707,
0.013629440307617188,
0.01358028793334961,
0.016130048751831053,
0.01699942398071289,
0.014419967651367188,
0.014285823822021485,
0.01459712028503418,
0.014170111656188965,
0.014166015625,
0.014315487861633301,
0.013908991813659668,
0.014140512466430664,
0.014145536422729492,
0.014392319679260255,
0.014256128311157227,
0.014137408256530763,
0.014092288017272948,
0.014108672142028808,
0.014024640083312988,
0.013766655921936035,
0.013807616233825683,
0.013706175804138184,
0.013651968002319336,
0.013735936164855958,
0.013514752388000489,
0.01390182399749756,
0.013734911918640137,
0.013747200012207032,
0.013619199752807617,
0.014041088104248046,
0.013784064292907714,
0.013612031936645508,
0.013742079734802246,
0.013719552040100098,
0.013739007949829102,
0.013692928314208984,
0.01366528034210205,
0.0136878080368042,
0.01368057632446289,
0.013723648071289063
]
},
"throughput": {
"unit": "samples/s",
"value": 71.28649383562878
},
"energy": {
"unit": "kWh",
"cpu": 1.6237637269079597e-07,
"ram": 8.877343861993175e-08,
"gpu": 3.399013373698694e-07,
"total": 5.910511486805971e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1691900.9500824066
}
}
}
}