IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
1b9e1f1 verified
raw
history blame
8.91 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 772.87424,
"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.3697646484375,
"mean": 7.3697646484375,
"stdev": 0.0,
"p50": 7.3697646484375,
"p90": 7.3697646484375,
"p95": 7.3697646484375,
"p99": 7.3697646484375,
"values": [
7.3697646484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.121979824305994e-06,
"ram": 5.992003326611546e-07,
"gpu": 1.595556831999849e-06,
"total": 3.3167369889669972e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.617984,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.007076482772827,
"mean": 0.01459531134453373,
"stdev": 0.0005384558927490312,
"p50": 0.01437388801574707,
"p90": 0.015276031684875489,
"p95": 0.015573401260375975,
"p99": 0.01627136024475097,
"values": [
0.015673343658447265,
0.015337471961975097,
0.015968255996704102,
0.015260671615600586,
0.015057984352111817,
0.014137344360351562,
0.014139391899108887,
0.014215167999267577,
0.014838784217834473,
0.014319616317749024,
0.014173184394836426,
0.01425100803375244,
0.014243840217590332,
0.014249983787536622,
0.014208000183105468,
0.014133248329162598,
0.014081024169921874,
0.014150655746459961,
0.014097408294677734,
0.01415782356262207,
0.014484479904174804,
0.01438310432434082,
0.014096384048461913,
0.014223360061645507,
0.014132224082946777,
0.014196736335754395,
0.014033920288085937,
0.014097408294677734,
0.01437183952331543,
0.014405632019042968,
0.01497804832458496,
0.014965760231018066,
0.015423487663269043,
0.015419391632080079,
0.015249407768249512,
0.015059967994689942,
0.015001600265502929,
0.014913536071777344,
0.014834688186645508,
0.01500876808166504,
0.014780415534973144,
0.014943231582641601,
0.016915456771850586,
0.01595903968811035,
0.01510707187652588,
0.014905344009399414,
0.01447321605682373,
0.014412799835205077,
0.01445683193206787,
0.014400511741638184,
0.014394368171691894,
0.014425087928771972,
0.014355456352233887,
0.014389247894287109,
0.014333951950073242,
0.014418944358825684,
0.014359552383422852,
0.014320704460144043,
0.014328831672668458,
0.014360575675964356,
0.014364671707153321,
0.014327808380126953,
0.014312447547912598,
0.01437388801574707,
0.014338047981262207,
0.014304256439208985,
0.014449664115905762,
0.014264320373535156,
0.014326784133911133
]
},
"throughput": {
"unit": "samples/s",
"value": 68.51515369519831
},
"energy": {
"unit": "kWh",
"cpu": 1.7020508408731554e-07,
"ram": 9.298928846778174e-08,
"gpu": 3.3911535065714516e-07,
"total": 6.023097232122424e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1660275.3723894628
}
}
}
}