IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
1020f54 verified
raw
history blame
8.05 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 959.975424,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0082426242828368,
"mean": 0.013443234990437824,
"stdev": 0.0007456770533109025,
"p50": 0.013674495697021484,
"p90": 0.014222949981689454,
"p95": 0.014849126434326171,
"p99": 0.015321067581176762,
"values": [
0.014947327613830566,
0.0150763521194458,
0.014740480422973632,
0.015088640213012695,
0.014284799575805664,
0.013293567657470704,
0.013551615715026855,
0.013715456008911133,
0.013684736251831055,
0.014000127792358399,
0.013731840133666993,
0.013726719856262207,
0.013833215713500976,
0.013806591987609864,
0.01395404815673828,
0.013799424171447755,
0.013836288452148437,
0.013591551780700683,
0.013813759803771973,
0.01377280044555664,
0.013683712005615235,
0.014130175590515137,
0.013972479820251465,
0.013706239700317382,
0.013917183876037598,
0.01376972770690918,
0.013674495697021484,
0.01375641632080078,
0.013767680168151856,
0.013882368087768555,
0.013604864120483399,
0.013857791900634766,
0.013698047637939453,
0.013813759803771973,
0.014121983528137207,
0.014346240043640136,
0.013826047897338867,
0.01372054386138916,
0.013690879821777344,
0.013595647811889648,
0.01369600009918213,
0.014807040214538575,
0.01598259162902832,
0.013386752128601074,
0.013181952476501465,
0.013023232460021973,
0.012668928146362305,
0.012690431594848632,
0.01273036766052246,
0.012975104331970215,
0.012660736083984376,
0.012609536170959473,
0.01266483211517334,
0.012606464385986327,
0.012621824264526366,
0.012969984054565429,
0.012698623657226562,
0.012641280174255372,
0.012712960243225097,
0.01260540771484375,
0.012668928146362305,
0.012727295875549317,
0.012659711837768555,
0.012614656448364257,
0.012609536170959473,
0.012731391906738282,
0.012596223831176758,
0.012621824264526366,
0.012692480087280274,
0.012637184143066407,
0.012582912445068359,
0.012596223831176758,
0.012613632202148438,
0.012593152046203614,
0.012577792167663575
]
},
"throughput": {
"unit": "samples/s",
"value": 74.38685708546345
},
"energy": {
"unit": "kWh",
"cpu": 1.496383630567127e-07,
"ram": 8.168073093202111e-08,
"gpu": 3.4314263562488375e-07,
"total": 5.744617296136175e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1740759.9992302344
}
}
}
}