
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5df09cb
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.09119436645507813 | |
], | |
"count": 1, | |
"total": 0.09119436645507813, | |
"mean": 0.09119436645507813, | |
"p50": 0.09119436645507813, | |
"p90": 0.09119436645507813, | |
"p95": 0.09119436645507813, | |
"p99": 0.09119436645507813, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.62761061743052e-05, | |
"ram": 5.271076911573276e-05, | |
"gpu": 0.00013722760978200025, | |
"total": 0.0002862144850720382 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1260.240896, | |
"max_global_vram": 1444.41344, | |
"max_process_vram": 0.0, | |
"max_reserved": 796.91776, | |
"max_allocated": 757.115392 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.1206302719116211, | |
0.014540800094604492, | |
0.01547980785369873, | |
0.014836735725402832, | |
0.014826463699340821, | |
0.014666784286499023, | |
0.014713855743408203, | |
0.014768128395080566, | |
0.01511526393890381, | |
0.015017984390258789, | |
0.01484390354156494, | |
0.014789631843566894, | |
0.014830592155456544, | |
0.01587507152557373, | |
0.016348159790039063, | |
0.014647263526916504, | |
0.014648287773132325, | |
0.014790656089782715, | |
0.014845952033996582, | |
0.014972928047180176, | |
0.014750720024108887, | |
0.01457151985168457, | |
0.01508454418182373, | |
0.014538751602172852, | |
0.014443519592285157, | |
0.014355456352233887, | |
0.014408703804016113, | |
0.014264320373535156, | |
0.01447219181060791, | |
0.014276608467102051, | |
0.014342144012451171, | |
0.014426112174987793, | |
0.014302207946777343, | |
0.014265312194824218, | |
0.01429094409942627, | |
0.014277631759643555, | |
0.014492671966552734, | |
0.014294015884399413, | |
0.014438400268554688, | |
0.01428889560699463, | |
0.014511103630065919, | |
0.014327808380126953, | |
0.014217215538024902, | |
0.014495807647705078, | |
0.014819328308105468, | |
0.014973952293395995, | |
0.014475263595581055, | |
0.014314496040344238, | |
0.014296064376831055, | |
0.014305279731750489, | |
0.014258175849914552, | |
0.014246912002563476, | |
0.014336000442504883, | |
0.01428889560699463, | |
0.014240768432617188, | |
0.014261247634887696, | |
0.01427353572845459, | |
0.014499839782714843, | |
0.014315520286560059, | |
0.014490655899047852, | |
0.014319616317749024, | |
0.014268416404724121 | |
], | |
"count": 62, | |
"total": 1.0103091182708743, | |
"mean": 0.016295308359207648, | |
"p50": 0.014482959747314453, | |
"p90": 0.01501358118057251, | |
"p95": 0.015461580657958982, | |
"p99": 0.05701818351745611, | |
"stdev": 0.013364470767705647, | |
"stdev_": 82.0142244203318 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.73471332439696 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.74696517534735e-07, | |
"ram": 9.545925129744136e-08, | |
"gpu": 4.13092650735293e-07, | |
"total": 6.832484195674694e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 2927193.0131446198 | |
} | |
} | |
} | |
} |