
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5b21681
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": {}, | |
"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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 751.251456, | |
"max_global_vram": 1403.518976, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.401595703125, | |
"mean": 7.401595703125, | |
"stdev": 0.0, | |
"p50": 7.401595703125, | |
"p90": 7.401595703125, | |
"p95": 7.401595703125, | |
"p99": 7.401595703125, | |
"values": [ | |
7.401595703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0919329854169905e-06, | |
"ram": 5.77506647268745e-07, | |
"gpu": 1.8244459040004518e-06, | |
"total": 3.493885536686187e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1034.248192, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.606656 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 75, | |
"total": 1.0017148504257203, | |
"mean": 0.01335619800567627, | |
"stdev": 0.00030535898245113177, | |
"p50": 0.013347840309143067, | |
"p90": 0.013560831832885742, | |
"p95": 0.01369057264328003, | |
"p99": 0.014558044013977051, | |
"values": [ | |
0.014735360145568848, | |
0.014495743751525878, | |
0.014382080078125, | |
0.01316051197052002, | |
0.013046784400939941, | |
0.013347840309143067, | |
0.013405183792114257, | |
0.013343744277954102, | |
0.013401087760925292, | |
0.013370368003845215, | |
0.0132741117477417, | |
0.013305855751037597, | |
0.01326796817779541, | |
0.012818431854248047, | |
0.013081600189208984, | |
0.013248512268066406, | |
0.013208576202392578, | |
0.013012991905212403, | |
0.013273088455200196, | |
0.013317119598388672, | |
0.013322239875793456, | |
0.013217791557312012, | |
0.01318502426147461, | |
0.01337446403503418, | |
0.013442048072814941, | |
0.013125632286071777, | |
0.012912608146667481, | |
0.012922880172729492, | |
0.012930047988891602, | |
0.013354047775268555, | |
0.01337548828125, | |
0.013427712440490723, | |
0.013415424346923829, | |
0.013373439788818359, | |
0.013352959632873536, | |
0.013428735733032226, | |
0.01340006446838379, | |
0.013306879997253418, | |
0.013399040222167969, | |
0.013355008125305176, | |
0.01338265609741211, | |
0.013338624000549316, | |
0.013599743843078613, | |
0.013489151954650879, | |
0.013330431938171386, | |
0.013381600379943848, | |
0.013364224433898926, | |
0.013348863601684571, | |
0.013504511833190918, | |
0.013543423652648925, | |
0.013517824172973633, | |
0.01366323184967041, | |
0.013545472145080567, | |
0.013571071624755859, | |
0.0135731201171875, | |
0.01339395236968994, | |
0.013347840309143067, | |
0.013331487655639648, | |
0.013282303810119628, | |
0.01325977611541748, | |
0.013231103897094726, | |
0.013312000274658203, | |
0.013327391624450683, | |
0.013366304397583007, | |
0.013393919944763183, | |
0.013021151542663574, | |
0.012955648422241211, | |
0.012867584228515624, | |
0.012867584228515624, | |
0.013365247726440429, | |
0.01375436782836914, | |
0.01349120044708252, | |
0.013278207778930663, | |
0.013298687934875488, | |
0.013296640396118165 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 74.87160639390106 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.591881818055617e-07, | |
"ram": 8.684815353255269e-08, | |
"gpu": 3.4704472208000697e-07, | |
"total": 5.930810574181213e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1686110.165705396 | |
} | |
} | |
} | |
} |