IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
314baf4 verified
raw
history blame
9.11 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_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.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 707.842048,
"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.228986328125,
"mean": 7.228986328125,
"stdev": 0.0,
"p50": 7.228986328125,
"p90": 7.228986328125,
"p95": 7.228986328125,
"p99": 7.228986328125,
"values": [
7.228986328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1433107985390557e-06,
"ram": 5.850092234126692e-07,
"gpu": 1.8361125799989941e-06,
"total": 3.564432601950719e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.199808,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0032086057662963,
"mean": 0.013556873050895896,
"stdev": 0.0006795558587405851,
"p50": 0.013504976272583008,
"p90": 0.014118588829040527,
"p95": 0.014695065307617185,
"p99": 0.016067920398712156,
"values": [
0.014947327613830566,
0.014559231758117675,
0.01408614444732666,
0.013423616409301758,
0.013631487846374512,
0.013521920204162598,
0.013417471885681152,
0.013533184051513672,
0.013645824432373046,
0.01354643154144287,
0.013472767829895019,
0.013744128227233888,
0.013628416061401367,
0.013596735954284667,
0.013854720115661622,
0.014117759704589844,
0.014114751815795898,
0.01409126377105713,
0.014050304412841797,
0.01411894416809082,
0.014466048240661621,
0.01397555160522461,
0.0141844482421875,
0.014007295608520508,
0.01356390380859375,
0.013507488250732422,
0.013515775680541992,
0.013656064033508301,
0.01365401554107666,
0.013527039527893067,
0.013502464294433594,
0.01359769630432129,
0.013905983924865722,
0.013880319595336914,
0.013693951606750488,
0.013631487846374512,
0.013590463638305664,
0.013369343757629394,
0.013413375854492187,
0.013443072319030762,
0.01330396842956543,
0.013180928230285644,
0.015610879898071289,
0.016378911972045898,
0.015952896118164063,
0.013578240394592284,
0.01344102382659912,
0.013289471626281739,
0.01317683219909668,
0.01314406394958496,
0.013147135734558106,
0.013011967658996582,
0.013012991905212403,
0.013032447814941407,
0.01300476837158203,
0.012975104331970215,
0.013032447814941407,
0.013017087936401368,
0.013011967658996582,
0.012942336082458495,
0.012928031921386718,
0.012840928077697754,
0.01297715187072754,
0.012914688110351562,
0.01298534393310547,
0.013035519599914551,
0.012957695960998536,
0.012923904418945312,
0.013044735908508302,
0.012867584228515624,
0.012841983795166016,
0.012803071975708008,
0.012827648162841796,
0.012826623916625977
]
},
"throughput": {
"unit": "samples/s",
"value": 73.76332257783558
},
"energy": {
"unit": "kWh",
"cpu": 1.5430056300514186e-07,
"ram": 8.43523029068003e-08,
"gpu": 3.314468741039783e-07,
"total": 5.700997400159204e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1754079.0318060387
}
}
}
}