IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
1f744cb verified
raw
history blame
7.85 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.1",
"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.34304,
"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.0102527704238893,
"mean": 0.014432182434626989,
"stdev": 0.0008683820003625622,
"p50": 0.014217728137969971,
"p90": 0.014784483242034912,
"p95": 0.01512724471092224,
"p99": 0.01820702688217164,
"values": [
0.020771839141845702,
0.017054719924926756,
0.014927871704101562,
0.014776288032531738,
0.014513216018676757,
0.014129152297973633,
0.014304256439208985,
0.01529036808013916,
0.014493696212768555,
0.015335424423217774,
0.014858240127563477,
0.014622783660888672,
0.014568448066711426,
0.01430835247039795,
0.014183423995971679,
0.014898176193237305,
0.013733887672424316,
0.014010368347167968,
0.014233599662780762,
0.014350336074829101,
0.014224384307861328,
0.014247936248779297,
0.014193696022033691,
0.014325759887695312,
0.014243840217590332,
0.014220288276672363,
0.014243840217590332,
0.014270463943481445,
0.014206975936889648,
0.01418239974975586,
0.014322688102722168,
0.014191616058349609,
0.014194687843322755,
0.014279680252075195,
0.014237695693969727,
0.014215167999267577,
0.01411683177947998,
0.014202879905700684,
0.014234623908996581,
0.014394368171691894,
0.014310400009155273,
0.01426636791229248,
0.014276608467102051,
0.014172160148620605,
0.014187520027160644,
0.014205951690673829,
0.01418233585357666,
0.014194720268249512,
0.014212096214294433,
0.014181376457214356,
0.01417420768737793,
0.014231552124023437,
0.014155776023864745,
0.014311424255371094,
0.014154751777648926,
0.014186495780944825,
0.014186495780944825,
0.014166015625,
0.0141844482421875,
0.014193663597106934,
0.014211071968078613,
0.014272512435913086,
0.0141844482421875,
0.01417728042602539,
0.014252032279968262,
0.014141440391540527,
0.014203904151916504,
0.014146559715270996,
0.014206879615783692,
0.014208000183105468
]
},
"throughput": {
"unit": "samples/s",
"value": 69.28958974359347
},
"energy": {
"unit": "kWh",
"cpu": 1.6740216802170205e-07,
"ram": 9.151575718035709e-08,
"gpu": 3.5668651383098745e-07,
"total": 6.156044390330466e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1624419.7354566485
}
}
}
}