
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
51a4b99
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 821.792768, | |
"max_global_vram": 1410.859008, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07912242889404297 | |
], | |
"count": 1, | |
"total": 0.07912242889404297, | |
"mean": 0.07912242889404297, | |
"p50": 0.07912242889404297, | |
"p90": 0.07912242889404297, | |
"p95": 0.07912242889404297, | |
"p99": 0.07912242889404297, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010905216326666734, | |
"ram": 5.972974538742209e-05, | |
"gpu": 0.00014523622730000085, | |
"total": 0.00031401813595409027 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1207.128064, | |
"max_global_vram": 1444.41344, | |
"max_process_vram": 0.0, | |
"max_reserved": 796.91776, | |
"max_allocated": 757.115392 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.014610400199890137, | |
0.014226431846618653, | |
0.014328831672668458, | |
0.014286848068237304, | |
0.014311424255371094, | |
0.014838784217834473, | |
0.014915583610534668, | |
0.014850048065185547, | |
0.01470361614227295, | |
0.014279680252075195, | |
0.014227456092834472, | |
0.014455807685852052, | |
0.014708736419677734, | |
0.015301568031311035, | |
0.01468825626373291, | |
0.014321663856506347, | |
0.014372896194458008, | |
0.014306303977966308, | |
0.014313471794128419, | |
0.014569472312927247, | |
0.014381088256835938, | |
0.014363648414611817, | |
0.014318592071533203, | |
0.014302207946777343, | |
0.014425087928771972, | |
0.014333951950073242, | |
0.014328831672668458, | |
0.014278656005859374, | |
0.014452768325805663, | |
0.014409728050231933, | |
0.014607359886169433, | |
0.014845952033996582, | |
0.015157088279724121, | |
0.014940159797668457, | |
0.014867456436157226, | |
0.01486847972869873, | |
0.014899200439453125, | |
0.014838784217834473, | |
0.014861311912536621, | |
0.014944160461425781, | |
0.01488691234588623, | |
0.014855263710021972, | |
0.01506611156463623, | |
0.014899200439453125, | |
0.014856287956237793, | |
0.014827520370483398, | |
0.014995455741882324, | |
0.014908415794372559, | |
0.0148602876663208, | |
0.014818304061889649, | |
0.014798848152160645, | |
0.014779392242431641, | |
0.014796799659729003, | |
0.014827520370483398, | |
0.014839808464050292, | |
0.014941216468811035, | |
0.014925824165344239, | |
0.014871552467346191, | |
0.014857215881347656, | |
0.014791680335998534, | |
0.014985216140747071, | |
0.01475276756286621, | |
0.01478553581237793, | |
0.014807040214538575, | |
0.014837727546691895, | |
0.01491763210296631, | |
0.014764191627502442, | |
0.01498419189453125 | |
], | |
"count": 68, | |
"total": 0.999279715538025, | |
"mean": 0.014695289934382719, | |
"p50": 0.01480294418334961, | |
"p90": 0.01494209966659546, | |
"p95": 0.014991871881484986, | |
"p99": 0.015204766597747802, | |
"stdev": 0.00026538093893528717, | |
"stdev_": 1.805891140088177 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.0980292958072 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.7573773836806105e-07, | |
"ram": 9.603710307490311e-08, | |
"gpu": 4.038320224117641e-07, | |
"total": 6.756068638547283e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 2960301.481528536 | |
} | |
} | |
} | |
} |