IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
abe464d verified
raw
history blame
8.92 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.6.0.dev20240917+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.224-212.876.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.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 810.348544,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.4706728515625,
"mean": 8.4706728515625,
"stdev": 0.0,
"p50": 8.4706728515625,
"p90": 8.4706728515625,
"p95": 8.4706728515625,
"p99": 8.4706728515625,
"values": [
8.4706728515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.526850291927581e-07,
"ram": 5.031567683439308e-07,
"gpu": 1.8766681679979746e-06,
"total": 3.3325099655346636e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1197.64992,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0069505586624148,
"mean": 0.014593486357426298,
"stdev": 0.0006581594832322821,
"p50": 0.014518272399902344,
"p90": 0.015013887786865234,
"p95": 0.015788032150268555,
"p99": 0.01750568939208984,
"values": [
0.016141311645507812,
0.015882240295410157,
0.015646719932556154,
0.014658559799194336,
0.014541824340820313,
0.014550016403198243,
0.014573599815368652,
0.014423040390014649,
0.014518272399902344,
0.014735360145568848,
0.01466163158416748,
0.014467071533203125,
0.014668831825256348,
0.014645312309265137,
0.014999551773071289,
0.017537023544311522,
0.017490943908691405,
0.01515011215209961,
0.014461952209472656,
0.014619647979736328,
0.014713855743408203,
0.014583807945251465,
0.014615551948547363,
0.014853119850158691,
0.014531583786010742,
0.014727168083190918,
0.014581760406494141,
0.014807040214538575,
0.014535679817199706,
0.01459404754638672,
0.014453760147094727,
0.014501888275146485,
0.014814208030700684,
0.01449779224395752,
0.014491647720336913,
0.014507007598876954,
0.01447219181060791,
0.014607359886169433,
0.015071231842041016,
0.01486847972869873,
0.01478553581237793,
0.01459404754638672,
0.014404607772827148,
0.01466163158416748,
0.014452735900878906,
0.014429183959960937,
0.014368767738342286,
0.014424063682556153,
0.014319616317749024,
0.01448857593536377,
0.01452236843109131,
0.014444543838500976,
0.014082048416137695,
0.014040063858032227,
0.01399295997619629,
0.014050304412841797,
0.013974528312683105,
0.013966336250305175,
0.01399295997619629,
0.013949952125549316,
0.013980671882629395,
0.01398476791381836,
0.013958144187927245,
0.013941760063171387,
0.014010368347167968,
0.01397862434387207,
0.01399295997619629,
0.013988863945007325,
0.01396735954284668
]
},
"throughput": {
"unit": "samples/s",
"value": 68.52372185150415
},
"energy": {
"unit": "kWh",
"cpu": 1.655083715947799e-07,
"ram": 9.03563019633552e-08,
"gpu": 3.57492569944439e-07,
"total": 6.133572435025741e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1630371.2242632108
}
}
}
}