IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d0bac28 verified
raw
history blame
9.08 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.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.43.4",
"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.956736,
"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.25726025390625,
"mean": 7.25726025390625,
"stdev": 0.0,
"p50": 7.25726025390625,
"p90": 7.25726025390625,
"p95": 7.25726025390625,
"p99": 7.25726025390625,
"values": [
7.25726025390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0850552340280156e-06,
"ram": 5.789477279232752e-07,
"gpu": 1.6605568840004012e-06,
"total": 3.324559845951692e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.285824,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0077299842834475,
"mean": 0.013804520332649962,
"stdev": 0.0007765637521916852,
"p50": 0.013767680168151856,
"p90": 0.014742937278747557,
"p95": 0.015270297622680661,
"p99": 0.015908823242187498,
"values": [
0.015813632011413573,
0.01547059154510498,
0.01476095962524414,
0.013814720153808593,
0.014415871620178223,
0.01358233642578125,
0.013767680168151856,
0.01387724781036377,
0.013814784049987794,
0.014342144012451171,
0.014098431587219238,
0.01396735954284668,
0.01400115203857422,
0.014055423736572266,
0.013829119682312012,
0.013748224258422852,
0.014620672225952149,
0.014428159713745118,
0.014228480339050293,
0.014329855918884277,
0.01467084789276123,
0.015751168251037596,
0.015136768341064453,
0.014807040214538575,
0.013888575553894044,
0.013912063598632812,
0.01358035182952881,
0.01407692813873291,
0.013585408210754395,
0.013656064033508301,
0.013859871864318848,
0.013837311744689941,
0.014474240303039551,
0.014155776023864745,
0.014038016319274902,
0.014610431671142577,
0.014525440216064453,
0.013639679908752441,
0.013701120376586913,
0.01354751968383789,
0.014589952468872071,
0.016153600692749022,
0.015032383918762207,
0.014068767547607422,
0.01356492805480957,
0.013125632286071777,
0.013328415870666504,
0.013526016235351563,
0.013188096046447753,
0.013298687934875488,
0.013924351692199707,
0.013242431640625,
0.013101056098937988,
0.012924991607666015,
0.012900416374206542,
0.01287168025970459,
0.013065216064453124,
0.012911616325378418,
0.012935104370117188,
0.012888064384460449,
0.013021183967590331,
0.012975104331970215,
0.012868608474731445,
0.012924927711486817,
0.012943391799926757,
0.012926976203918457,
0.012887040138244628,
0.012981247901916505,
0.01306112003326416,
0.012920831680297852,
0.01305900764465332,
0.013039615631103516,
0.013058048248291015
]
},
"throughput": {
"unit": "samples/s",
"value": 72.44003963215118
},
"energy": {
"unit": "kWh",
"cpu": 1.6133939674361432e-07,
"ram": 8.821219032730982e-08,
"gpu": 3.378005705405382e-07,
"total": 5.873521576114624e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1702556.1020608477
}
}
}
}