IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
587b080 verified
raw
history blame
7.89 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": "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.285632,
"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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 976.195584,
"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.001166723251343,
"mean": 0.01410093976410342,
"stdev": 0.00042881216000027777,
"p50": 0.014079999923706055,
"p90": 0.014682111740112304,
"p95": 0.014846464157104493,
"p99": 0.015186943817138672,
"values": [
0.015134719848632813,
0.015308799743652344,
0.014873600006103516,
0.015029248237609863,
0.014682111740112304,
0.01458892822265625,
0.014532608032226562,
0.014683135986328125,
0.01420083236694336,
0.014112768173217773,
0.014207967758178711,
0.014211008071899414,
0.014196736335754395,
0.014147583961486816,
0.014401535987854003,
0.01439027214050293,
0.014175200462341308,
0.014375935554504395,
0.01406156826019287,
0.014269439697265626,
0.01407795238494873,
0.014187520027160644,
0.014346240043640136,
0.01417728042602539,
0.014036992073059081,
0.014002176284790039,
0.014403583526611329,
0.014429183959960937,
0.014114815711975098,
0.014076864242553711,
0.013934592247009277,
0.014079999923706055,
0.01397760009765625,
0.013896703720092773,
0.013814784049987794,
0.014498815536499024,
0.014468095779418945,
0.014289919853210448,
0.014235648155212402,
0.01425100803375244,
0.01441590404510498,
0.013855744361877441,
0.013503487586975099,
0.01355673599243164,
0.013544447898864746,
0.013552672386169433,
0.013595647811889648,
0.0134901762008667,
0.014034943580627441,
0.014533632278442383,
0.014240768432617188,
0.014819328308105468,
0.013946880340576171,
0.013633536338806153,
0.013541376113891602,
0.013522944450378417,
0.01375641632080078,
0.013640704154968262,
0.013719552040100098,
0.01354751968383789,
0.01345638370513916,
0.014017536163330077,
0.014736384391784667,
0.013836288452148437,
0.013508607864379883,
0.013651968002319336,
0.013501440048217773,
0.013642751693725585,
0.013544447898864746,
0.013963264465332031,
0.013971455574035644
]
},
"throughput": {
"unit": "samples/s",
"value": 70.91725918478761
},
"energy": {
"unit": "kWh",
"cpu": 1.618934890350422e-07,
"ram": 8.84347716010331e-08,
"gpu": 3.504056857296918e-07,
"total": 6.007339463657672e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1664630.417591106
}
}
}
}