
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
85af381
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.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", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 801.210368, | |
"max_global_vram": 1410.859008, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.21377536010742187 | |
], | |
"count": 1, | |
"total": 0.21377536010742187, | |
"mean": 0.21377536010742187, | |
"p50": 0.21377536010742187, | |
"p90": 0.21377536010742187, | |
"p95": 0.21377536010742187, | |
"p99": 0.21377536010742187, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1190.326272, | |
"max_global_vram": 1442.316288, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.606656 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.014474240303039551, | |
0.014918656349182128, | |
0.01622425651550293, | |
0.01590988826751709, | |
0.014534655570983887, | |
0.014109696388244629, | |
0.01437388801574707, | |
0.014204928398132324, | |
0.014316543579101563, | |
0.014043135643005371, | |
0.014598143577575684, | |
0.014361599922180175, | |
0.014123007774353028, | |
0.014258175849914552, | |
0.014334015846252442, | |
0.014912511825561523, | |
0.014449664115905762, | |
0.014467071533203125, | |
0.014459872245788574, | |
0.014155776023864745, | |
0.014525440216064453, | |
0.01439027214050293, | |
0.01499443244934082, | |
0.014542911529541016, | |
0.014120960235595703, | |
0.014277631759643555, | |
0.013961215972900391, | |
0.013915136337280273, | |
0.014027775764465332, | |
0.014299136161804199, | |
0.014215167999267577, | |
0.014386176109313965, | |
0.014539775848388671, | |
0.014633952140808105, | |
0.014379008293151856, | |
0.014253055572509766, | |
0.014476287841796874, | |
0.01408614444732666, | |
0.014154751777648926, | |
0.014113792419433594, | |
0.01420902442932129, | |
0.014007295608520508, | |
0.014211071968078613, | |
0.013988863945007325, | |
0.013811712265014648, | |
0.014012415885925293, | |
0.013991935729980469, | |
0.013542367935180663, | |
0.013497344017028809, | |
0.013461503982543945, | |
0.013459456443786622, | |
0.013488127708435058, | |
0.013497344017028809, | |
0.013531200408935547, | |
0.013466624259948731, | |
0.013508671760559083, | |
0.0134717435836792, | |
0.013378560066223144, | |
0.013355008125305176, | |
0.013314047813415527, | |
0.013450240135192871, | |
0.01336627197265625, | |
0.01335807991027832, | |
0.013308927536010743, | |
0.013312000274658203, | |
0.013314047813415527, | |
0.01330073642730713, | |
0.013347840309143067, | |
0.013360128402709961, | |
0.013317119598388672, | |
0.013315072059631347, | |
0.013346816062927246 | |
], | |
"count": 72, | |
"total": 1.0108243532180787, | |
"mean": 0.014039227128028868, | |
"p50": 0.01411174440383911, | |
"p90": 0.014542597961425782, | |
"p95": 0.014915276861190796, | |
"p99": 0.016001055059432986, | |
"stdev": 0.0005866494578794183, | |
"stdev_": 4.178644967629246 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 71.22899222874825 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6700075388302587e-07, | |
"ram": 9.116016948590546e-08, | |
"gpu": 3.450237501971982e-07, | |
"total": 6.031846735661295e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1657867.0576754403 | |
} | |
} | |
} | |
} |