
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e3d1cd2
verified
{ | |
"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.223-212.873.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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 772.509696, | |
"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.40284521484375, | |
"mean": 7.40284521484375, | |
"stdev": 0.0, | |
"p50": 7.40284521484375, | |
"p90": 7.40284521484375, | |
"p95": 7.40284521484375, | |
"p99": 7.40284521484375, | |
"values": [ | |
7.40284521484375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0641494840266022e-06, | |
"ram": 5.674433365582802e-07, | |
"gpu": 1.7061124760004917e-06, | |
"total": 3.3377052965853743e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.654848, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.606656 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 73, | |
"total": 1.011037118911743, | |
"mean": 0.013849823546736207, | |
"stdev": 0.0005842548593812861, | |
"p50": 0.013585408210754395, | |
"p90": 0.014324736213684082, | |
"p95": 0.015546982383728024, | |
"p99": 0.01591898078918457, | |
"values": [ | |
0.016100351333618163, | |
0.015848447799682617, | |
0.01547980785369873, | |
0.01564774417877197, | |
0.01430016040802002, | |
0.013849599838256836, | |
0.013598719596862792, | |
0.01358131217956543, | |
0.013552639961242676, | |
0.013617152214050294, | |
0.013598719596862792, | |
0.013587455749511718, | |
0.013612031936645508, | |
0.013576191902160644, | |
0.013546496391296388, | |
0.0135894718170166, | |
0.013532159805297851, | |
0.01359769630432129, | |
0.013532159805297851, | |
0.013786111831665039, | |
0.013867008209228515, | |
0.013590527534484862, | |
0.013585408210754395, | |
0.01354751968383789, | |
0.013521920204162598, | |
0.013627391815185547, | |
0.013558783531188966, | |
0.013585408210754395, | |
0.013534208297729493, | |
0.013521920204162598, | |
0.013561823844909667, | |
0.014126079559326172, | |
0.013953023910522461, | |
0.013559807777404785, | |
0.01358028793334961, | |
0.013511679649353027, | |
0.013551648139953614, | |
0.01357209587097168, | |
0.013501440048217773, | |
0.013627391815185547, | |
0.013694975852966309, | |
0.013578240394592284, | |
0.013567999839782715, | |
0.013537280082702637, | |
0.01356390380859375, | |
0.014806048393249512, | |
0.01571020793914795, | |
0.014330880165100097, | |
0.014025728225708007, | |
0.013945856094360352, | |
0.014113792419433594, | |
0.01426534366607666, | |
0.014336000442504883, | |
0.014260224342346191, | |
0.014090239524841308, | |
0.014133248329162598, | |
0.014042112350463867, | |
0.013851648330688476, | |
0.013551615715026855, | |
0.013493247985839844, | |
0.013503487586975099, | |
0.013520832061767579, | |
0.01367961597442627, | |
0.013541376113891602, | |
0.013532159805297851, | |
0.013510656356811524, | |
0.013531135559082032, | |
0.01367244815826416, | |
0.013536255836486816, | |
0.013554688453674316, | |
0.013519871711730956, | |
0.013526016235351563, | |
0.0134901762008667 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 72.2030859545251 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6073629127253284e-07, | |
"ram": 8.78118627581636e-08, | |
"gpu": 3.423426162162129e-07, | |
"total": 5.908907702469093e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1692360.1625764787 | |
} | |
} | |
} | |
} |