IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d44c45f verified
raw
history blame
8.72 kB
{
"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": {
"memory": {
"unit": "MB",
"max_ram": 819.867648,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.055482368469238284
],
"count": 1,
"total": 0.055482368469238284,
"mean": 0.055482368469238284,
"p50": 0.055482368469238284,
"p90": 0.055482368469238284,
"p95": 0.055482368469238284,
"p99": 0.055482368469238284,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1205.256192,
"max_global_vram": 1444.41344,
"max_process_vram": 0.0,
"max_reserved": 796.91776,
"max_allocated": 757.115392
},
"latency": {
"unit": "s",
"values": [
0.015779840469360353,
0.015420415878295898,
0.015448063850402831,
0.015366144180297851,
0.01529139232635498,
0.015363072395324707,
0.01538969612121582,
0.0154552001953125,
0.015535103797912597,
0.015642623901367187,
0.015630335807800294,
0.015485952377319336,
0.015482879638671876,
0.01577779197692871,
0.015482879638671876,
0.01536511993408203,
0.015309823989868163,
0.015599616050720215,
0.01567948818206787,
0.015256575584411621,
0.015480863571166991,
0.015251456260681152,
0.015221759796142579,
0.015734784126281737,
0.01582592010498047,
0.01511526393890381,
0.014865407943725586,
0.014729215621948242,
0.014746623992919922,
0.015457280158996582,
0.015235072135925292,
0.014690303802490234,
0.01476195240020752,
0.015341567993164062,
0.015287296295166015,
0.01542246437072754,
0.01549721622467041,
0.01520844841003418,
0.015078463554382325,
0.015186944007873536,
0.015042559623718262,
0.0148602876663208,
0.014753791809082031,
0.014771200180053711,
0.015275039672851563,
0.014962688446044922,
0.014851072311401366,
0.015319040298461914,
0.014908415794372559,
0.014813183784484863,
0.014766079902648926,
0.014745599746704101,
0.014771200180053711,
0.014873600006103516,
0.01480294418334961,
0.014766079902648926,
0.014756863594055175,
0.014729215621948242,
0.014784511566162109,
0.014767104148864747,
0.014822400093078614,
0.014730239868164062,
0.014737407684326171,
0.014741503715515136,
0.014733311653137206,
0.014779392242431641
],
"count": 66,
"total": 0.9997650547027587,
"mean": 0.015147955374284223,
"p50": 0.015215104103088378,
"p90": 0.015614975929260255,
"p95": 0.01572096014022827,
"p99": 0.015795968341827393,
"stdev": 0.00034564627690391637,
"stdev_": 2.281801526103644
},
"throughput": {
"unit": "samples/s",
"value": 132.0310200672548
},
"energy": {
"unit": "kWh",
"cpu": 1.7785592606758523e-07,
"ram": 9.703931106274279e-08,
"gpu": 4.360119574328386e-07,
"total": 7.109071945631666e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2813306.7372161658
}
}
}
}