IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
4c0e5c2 verified
raw
history blame
8.99 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 773.20192,
"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.3953681640625,
"mean": 7.3953681640625,
"stdev": 0.0,
"p50": 7.3953681640625,
"p90": 7.3953681640625,
"p95": 7.3953681640625,
"p99": 7.3953681640625,
"values": [
7.3953681640625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0802437145835756e-06,
"ram": 5.761305496994766e-07,
"gpu": 1.6600013279998924e-06,
"total": 3.3163755922829443e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.892416,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0049702110290526,
"mean": 0.014154510014493702,
"stdev": 0.00031088324655999835,
"p50": 0.01406873607635498,
"p90": 0.014420991897583007,
"p95": 0.01495142412185669,
"p99": 0.015454720211029052,
"values": [
0.015453184127807617,
0.015047679901123047,
0.01507737636566162,
0.014246912002563476,
0.014119935989379882,
0.014078975677490235,
0.014107647895812989,
0.014041152000427246,
0.014114815711975098,
0.013868032455444336,
0.01385267162322998,
0.013881376266479492,
0.014090239524841308,
0.014106687545776367,
0.014046208381652832,
0.01425100803375244,
0.014118911743164063,
0.014493696212768555,
0.014420991897583007,
0.014129152297973633,
0.014062623977661132,
0.014033920288085937,
0.014041088104248046,
0.013900799751281738,
0.013919232368469238,
0.014855168342590331,
0.014317567825317384,
0.01409331226348877,
0.01406873607635498,
0.01409331226348877,
0.014058496475219727,
0.014050304412841797,
0.014063615798950196,
0.014089216232299804,
0.013849599838256836,
0.014181407928466797,
0.014191616058349609,
0.014047231674194336,
0.014063615798950196,
0.013899776458740234,
0.014118911743164063,
0.014037023544311524,
0.014034943580627441,
0.014029824256896972,
0.014014464378356933,
0.014056447982788087,
0.013993951797485351,
0.014081024169921874,
0.014058464050292969,
0.014144512176513671,
0.01408512020111084,
0.014040032386779784,
0.014073856353759765,
0.014103551864624024,
0.013996031761169434,
0.014024703979492188,
0.014038016319274902,
0.014033920288085937,
0.014044159889221192,
0.014007360458374023,
0.014005248069763183,
0.014030847549438476,
0.014009344100952148,
0.014144512176513671,
0.014115839958190919,
0.014050304412841797,
0.014096384048461913,
0.014078975677490235,
0.0140697603225708,
0.015458304405212403,
0.014467071533203125
]
},
"throughput": {
"unit": "samples/s",
"value": 70.64886025556777
},
"energy": {
"unit": "kWh",
"cpu": 1.6574040191936016e-07,
"ram": 9.054970920237195e-08,
"gpu": 3.47342098861109e-07,
"total": 6.036322099828411e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1656637.905436534
}
}
}
}