IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
56bddfc
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.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 815.071232, | |
"max_global_vram": 1410.859008, | |
"max_process_vram": 0.0, | |
"max_reserved": 773.849088, | |
"max_allocated": 736.603648 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.09372160339355469 | |
], | |
"count": 1, | |
"total": 0.09372160339355469, | |
"mean": 0.09372160339355469, | |
"p50": 0.09372160339355469, | |
"p90": 0.09372160339355469, | |
"p95": 0.09372160339355469, | |
"p99": 0.09372160339355469, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.686762704166718e-05, | |
"ram": 5.307108818443216e-05, | |
"gpu": 0.00013436177415600097, | |
"total": 0.0002843004893821003 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1260.269568, | |
"max_global_vram": 1444.41344, | |
"max_process_vram": 0.0, | |
"max_reserved": 796.91776, | |
"max_allocated": 757.115392 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.12379750061035157, | |
0.015418399810791015, | |
0.015774720191955565, | |
0.015278176307678222, | |
0.015501312255859375, | |
0.015383551597595215, | |
0.015376383781433106, | |
0.015436800003051757, | |
0.015847423553466796, | |
0.015635456085205078, | |
0.01540403175354004, | |
0.015461376190185547, | |
0.015259648323059082, | |
0.015276032447814942, | |
0.015332351684570313, | |
0.015126527786254883, | |
0.01529747200012207, | |
0.015278079986572265, | |
0.015626239776611327, | |
0.015248384475708008, | |
0.014996543884277343, | |
0.014957568168640138, | |
0.014774271965026856, | |
0.014717951774597168, | |
0.014674943923950195, | |
0.014723072052001953, | |
0.014566399574279786, | |
0.0145797119140625, | |
0.014616576194763184, | |
0.015013919830322266, | |
0.014624768257141114, | |
0.014554112434387208, | |
0.014620639801025391, | |
0.014584832191467285, | |
0.014792703628540039, | |
0.014017536163330077, | |
0.014065664291381836, | |
0.014215104103088379, | |
0.013947903633117676, | |
0.01397766399383545, | |
0.013943840026855468, | |
0.01387110424041748, | |
0.013998080253601074, | |
0.013934592247009277, | |
0.01376153564453125, | |
0.013798399925231934, | |
0.013806591987609864, | |
0.01394380760192871, | |
0.013718527793884277, | |
0.013819904327392578, | |
0.013788160324096679, | |
0.013920255661010742, | |
0.01377791976928711, | |
0.013816831588745117, | |
0.013867008209228515, | |
0.013996031761169434, | |
0.014144543647766114, | |
0.014007295608520508, | |
0.013983743667602539, | |
0.013970368385314942, | |
0.014063615798950196 | |
], | |
"count": 61, | |
"total": 0.9997139148712159, | |
"mean": 0.01638875270280682, | |
"p50": 0.014616576194763184, | |
"p90": 0.015461376190185547, | |
"p95": 0.015635456085205078, | |
"p99": 0.05902745437622055, | |
"stdev": 0.013881784233471429, | |
"stdev_": 84.70311612606105 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.03491237362256 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.7720524409724369e-07, | |
"ram": 9.648669604758925e-08, | |
"gpu": 4.428148967352699e-07, | |
"total": 7.165068368801028e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 2791320.1899211905 | |
} | |
} | |
} | |
} |