IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e1823e3 verified
raw
history blame
9.05 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.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.531008,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07825714874267578
],
"count": 1,
"total": 0.07825714874267578,
"mean": 0.07825714874267578,
"p50": 0.07825714874267578,
"p90": 0.07825714874267578,
"p95": 0.07825714874267578,
"p99": 0.07825714874267578,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1188.585472,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.014054400444030762,
0.013875200271606445,
0.01364684772491455,
0.01406771183013916,
0.013966336250305175,
0.013714431762695312,
0.013856767654418945,
0.013962176322937012,
0.013848575592041015,
0.013675423622131347,
0.013685759544372558,
0.014013440132141113,
0.013867008209228515,
0.013830143928527832,
0.013686783790588379,
0.013678560256958008,
0.013989824295043946,
0.013500479698181153,
0.01360588836669922,
0.013748224258422852,
0.013700096130371094,
0.013884415626525879,
0.013991935729980469,
0.014178303718566895,
0.013801471710205078,
0.01368166446685791,
0.01357420825958252,
0.013657088279724122,
0.013552576065063477,
0.013592448234558106,
0.013575167655944824,
0.013412416458129883,
0.01378713607788086,
0.013726719856262207,
0.013782015800476074,
0.0137871675491333,
0.013647904396057129,
0.01377996826171875,
0.013693951606750488,
0.013705216407775878,
0.01376460838317871,
0.013815808296203613,
0.013674495697021484,
0.01367347240447998,
0.013596672058105469,
0.013516799926757812,
0.01354854393005371,
0.013496319770812988,
0.01318502426147461,
0.013197312355041504,
0.013198368072509766,
0.01318297576904297,
0.013263872146606445,
0.01314310359954834,
0.013149184226989746,
0.013064191818237305,
0.013189120292663574,
0.013209600448608399,
0.013191167831420898,
0.01322704029083252,
0.01317478370666504,
0.01316147232055664,
0.013217791557312012,
0.013170687675476075,
0.013119487762451172,
0.012980223655700684,
0.013047807693481446,
0.01307852840423584,
0.01313587188720703,
0.013194239616394043,
0.01316966438293457,
0.013149184226989746,
0.013165568351745606,
0.013209600448608399
],
"count": 74,
"total": 1.0020484495162965,
"mean": 0.013541195263733735,
"p50": 0.013626368045806886,
"p90": 0.013938848114013672,
"p95": 0.013999462270736694,
"p99": 0.014097571640014649,
"stdev": 0.000312366856821026,
"stdev_": 2.3067893988473256
},
"throughput": {
"unit": "samples/s",
"value": 73.84872461578169
},
"energy": {
"unit": "kWh",
"cpu": 1.6488114521605524e-07,
"ram": 9.000082119541942e-08,
"gpu": 3.461229620833229e-07,
"total": 6.010049284947975e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1663879.8661842525
}
}
}
}