IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
70e0fe4 verified
raw
history blame
7.86 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.236544,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0008687696456913,
"mean": 0.014298125280652727,
"stdev": 0.0003435310592014064,
"p50": 0.014131200313568116,
"p90": 0.01479905252456665,
"p95": 0.014853683185577393,
"p99": 0.01501385768890381,
"values": [
0.014744576454162597,
0.01521664047241211,
0.014853119850158691,
0.014754816055297852,
0.014819328308105468,
0.014533632278442383,
0.014553088188171387,
0.014737407684326171,
0.014062591552734375,
0.014413887977600098,
0.014744576454162597,
0.014692352294921876,
0.014590975761413574,
0.014507007598876954,
0.014502911567687989,
0.01448038387298584,
0.014796799659729003,
0.014922752380371093,
0.014707648277282714,
0.014103551864624024,
0.0139683837890625,
0.013918144226074219,
0.014129152297973633,
0.014395392417907715,
0.014547967910766601,
0.014628864288330079,
0.014866432189941407,
0.014838784217834473,
0.01451417636871338,
0.014552063941955566,
0.01458790397644043,
0.014348287582397461,
0.014341119766235352,
0.01420083236694336,
0.014350336074829101,
0.01459712028503418,
0.014854144096374512,
0.014226431846618653,
0.014053376197814941,
0.013988863945007325,
0.014043135643005371,
0.013982720375061035,
0.014007295608520508,
0.014023679733276367,
0.014055423736572266,
0.013946880340576171,
0.01397657585144043,
0.013973535537719727,
0.014002176284790039,
0.014008319854736329,
0.014430144309997558,
0.014127103805541993,
0.014028800010681153,
0.014133248329162598,
0.014041088104248046,
0.014002176284790039,
0.013950976371765136,
0.01397760009765625,
0.013958144187927245,
0.013983743667602539,
0.013919232368469238,
0.013971455574035644,
0.013903871536254882,
0.013972479820251465,
0.013956095695495606,
0.013969408035278321,
0.013961215972900391,
0.013949952125549316,
0.013983743667602539,
0.013982720375061035
]
},
"throughput": {
"unit": "samples/s",
"value": 69.93923891219036
},
"energy": {
"unit": "kWh",
"cpu": 1.6959724445191642e-07,
"ram": 9.262940800359351e-08,
"gpu": 3.4034947862857025e-07,
"total": 6.025761310840802e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1659541.3399480728
}
}
}
}