IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
c3265d8 verified
raw
history blame
8.95 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.845568,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3830595703125,
"mean": 7.3830595703125,
"stdev": 0.0,
"p50": 7.3830595703125,
"p90": 7.3830595703125,
"p95": 7.3830595703125,
"p99": 7.3830595703125,
"values": [
7.3830595703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0868593354169478e-06,
"ram": 5.79954732849265e-07,
"gpu": 1.6611124399991753e-06,
"total": 3.327926508265388e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.298496,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.01110447883606,
"mean": 0.014444349697657996,
"stdev": 0.00041324760131105655,
"p50": 0.01435697603225708,
"p90": 0.014917222499847413,
"p95": 0.015027404737472534,
"p99": 0.015960320224761963,
"values": [
0.01622528076171875,
0.015841279983520508,
0.014883839607238769,
0.01458073616027832,
0.014635007858276367,
0.014105600357055664,
0.014527487754821777,
0.014684160232543946,
0.014985216140747071,
0.014615551948547363,
0.014699520111083985,
0.015205375671386719,
0.014759936332702638,
0.014558208465576173,
0.01416806411743164,
0.01428377628326416,
0.014049280166625976,
0.014097408294677734,
0.014144512176513671,
0.014187520027160644,
0.014337023735046387,
0.014343135833740235,
0.014031871795654297,
0.014332927703857423,
0.01417420768737793,
0.0140697603225708,
0.01397555160522461,
0.014790656089782715,
0.014950400352478027,
0.014540800094604492,
0.014450688362121582,
0.014697471618652343,
0.015013888359069824,
0.014913536071777344,
0.014806015968322754,
0.014820351600646972,
0.014713791847229004,
0.014573504447937011,
0.01448140811920166,
0.014548992156982422,
0.014370816230773926,
0.014467071533203125,
0.01452236843109131,
0.014736384391784667,
0.015038463592529297,
0.014451711654663087,
0.014456735610961915,
0.014439423561096192,
0.014278592109680176,
0.014130175590515137,
0.01407590389251709,
0.0140697603225708,
0.014051327705383301,
0.01437183952331543,
0.014121983528137207,
0.014136320114135742,
0.014097408294677734,
0.014110719680786133,
0.014124032020568847,
0.01407795238494873,
0.014092351913452148,
0.014119903564453124,
0.014090239524841308,
0.014254079818725587,
0.014164992332458496,
0.014123007774353028,
0.014090239524841308,
0.014132224082946777,
0.014010368347167968,
0.014094335556030273
]
},
"throughput": {
"unit": "samples/s",
"value": 69.23122334556466
},
"energy": {
"unit": "kWh",
"cpu": 1.6530765190007658e-07,
"ram": 9.00226517162564e-08,
"gpu": 3.5600337122221413e-07,
"total": 6.113336748385472e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1635767.897562815
}
}
}
}