IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7d08e79 verified
raw
history blame
9.08 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.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.5.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": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 887.062528,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.605184
},
"latency": {
"unit": "s",
"values": [
8.00036962890625
],
"count": 1,
"total": 8.00036962890625,
"mean": 8.00036962890625,
"p50": 8.00036962890625,
"p90": 8.00036962890625,
"p95": 8.00036962890625,
"p99": 8.00036962890625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.542446967720428e-07,
"ram": 5.035672366824078e-07,
"gpu": 1.8333347999721639e-06,
"total": 3.2911467334266146e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1274.7776,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.013830143928527832,
0.013926400184631347,
0.013728768348693847,
0.013785087585449218,
0.01406771183013916,
0.014516223907470703,
0.014513152122497559,
0.014057472229003906,
0.014647295951843262,
0.01459609603881836,
0.014503935813903808,
0.014706751823425294,
0.014503840446472169,
0.014708736419677734,
0.014477312088012695,
0.013808639526367187,
0.013944767951965331,
0.013634559631347656,
0.013702143669128418,
0.01387007999420166,
0.014767040252685546,
0.014751744270324708,
0.014869503974914551,
0.01470361614227295,
0.014621696472167968,
0.014539775848388671,
0.014489439964294434,
0.014377984046936035,
0.014286911964416504,
0.014518272399902344,
0.0143985595703125,
0.014219264030456542,
0.014428159713745118,
0.014729215621948242,
0.014603263854980468,
0.014369791984558105,
0.014301183700561524,
0.014297087669372559,
0.014213120460510254,
0.014705663681030273,
0.014097408294677734,
0.014042112350463867,
0.01396224021911621,
0.014092288017272948,
0.013948063850402832,
0.01390886402130127,
0.014029824256896972,
0.014013440132141113,
0.013985919952392577,
0.014018431663513183,
0.014021632194519042,
0.014089216232299804,
0.013982784271240235,
0.013993984222412109,
0.013941760063171387,
0.013929471969604493,
0.014034943580627441,
0.014089216232299804,
0.01396735954284668,
0.013974528312683105,
0.013776896476745605,
0.013898752212524413,
0.013906944274902343,
0.014023679733276367,
0.013899776458740234,
0.014162943840026856,
0.01395199966430664,
0.013932543754577637,
0.01399292755126953,
0.013982720375061035,
0.013876128196716308
],
"count": 71,
"total": 1.007249217033386,
"mean": 0.01418660869061107,
"p50": 0.014057472229003906,
"p90": 0.01470361614227295,
"p95": 0.014718976020812988,
"p99": 0.014797779369354247,
"stdev": 0.00031758175118996076,
"stdev_": 2.238602319384065
},
"throughput": {
"unit": "samples/s",
"value": 70.4890098689912
},
"energy": {
"unit": "kWh",
"cpu": 1.586923363547949e-07,
"ram": 8.671938644925233e-08,
"gpu": 3.3977804960135433e-07,
"total": 5.851897724054015e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1708847.3639748283
}
}
}
}