IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7189f45 verified
raw
history blame
8.99 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.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": 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.252864,
"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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.806592,
"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.7918759765625,
"mean": 7.7918759765625,
"stdev": 0.0,
"p50": 7.7918759765625,
"p90": 7.7918759765625,
"p95": 7.7918759765625,
"p99": 7.7918759765625,
"values": [
7.7918759765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.381711375000793e-07,
"ram": 4.980083550433921e-07,
"gpu": 1.6783346759993364e-06,
"total": 3.1145141685428077e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.93536,
"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.0089483489990234,
"mean": 0.014210540126746808,
"stdev": 0.0006788309560060641,
"p50": 0.014040063858032227,
"p90": 0.014911487579345703,
"p95": 0.014988319873809814,
"p99": 0.016019046783447257,
"values": [
0.017984512329101563,
0.014911487579345703,
0.014061599731445313,
0.014002240180969239,
0.014016511917114258,
0.014007295608520508,
0.013884415626525879,
0.01386188793182373,
0.014032896041870118,
0.014040063858032227,
0.014052351951599122,
0.01397555160522461,
0.014070783615112305,
0.014541824340820313,
0.014070783615112305,
0.013917183876037598,
0.014172160148620605,
0.01478553581237793,
0.01455513572692871,
0.014099519729614257,
0.013805567741394043,
0.01388646411895752,
0.014055359840393066,
0.014900223731994629,
0.01496992015838623,
0.014691328048706055,
0.015006719589233398,
0.014871552467346191,
0.014787584304809571,
0.014608384132385254,
0.014643199920654297,
0.01496985626220703,
0.014666751861572265,
0.014691328048706055,
0.01467801570892334,
0.014926848411560058,
0.015176704406738281,
0.014442496299743653,
0.014016511917114258,
0.013944831848144532,
0.013964287757873535,
0.013834239959716797,
0.013833215713500976,
0.013831168174743653,
0.01370419216156006,
0.0144650239944458,
0.014586879730224609,
0.014575615882873535,
0.014750720024108887,
0.014511103630065919,
0.014474240303039551,
0.015081472396850586,
0.014379008293151856,
0.013969408035278321,
0.01394380760192871,
0.013925375938415528,
0.013944831848144532,
0.01356390380859375,
0.013469696044921875,
0.013423616409301758,
0.013459487915039063,
0.013430784225463867,
0.013410304069519043,
0.013423616409301758,
0.0134717435836792,
0.013405183792114257,
0.013425663948059082,
0.013482943534851074,
0.013416447639465333,
0.013430784225463867,
0.013576191902160644
]
},
"throughput": {
"unit": "samples/s",
"value": 70.37030197872768
},
"energy": {
"unit": "kWh",
"cpu": 1.616790452890347e-07,
"ram": 8.83001817590378e-08,
"gpu": 3.3282308908107944e-07,
"total": 5.828023161291519e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1715847.6765188337
}
}
}
}