IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
01d3089 verified
raw
history blame
7.87 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"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.12",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.364096,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0023760690689087,
"mean": 0.013921889848179289,
"stdev": 0.00036026456464392526,
"p50": 0.013886464118957519,
"p90": 0.014399897861480713,
"p95": 0.01458872299194336,
"p99": 0.015104850111007692,
"values": [
0.014531583786010742,
0.015269887924194337,
0.015037440299987792,
0.014763008117675782,
0.0138854398727417,
0.013906815528869628,
0.01388748836517334,
0.013810688018798829,
0.013832223892211915,
0.014009344100952148,
0.013921279907226563,
0.01379532814025879,
0.014097408294677734,
0.013958144187927245,
0.013958144187927245,
0.013880319595336914,
0.013950976371765136,
0.01364684772491455,
0.013854720115661622,
0.013848575592041015,
0.013883456230163575,
0.014160896301269531,
0.014125056266784668,
0.013914112091064454,
0.013915136337280273,
0.013929471969604493,
0.013938688278198242,
0.01377791976928711,
0.013892607688903809,
0.01405238437652588,
0.013810688018798829,
0.013833215713500976,
0.013864959716796875,
0.013815808296203613,
0.014339072227478027,
0.01409126377105713,
0.013955072402954101,
0.013825023651123047,
0.013898752212524413,
0.013684736251831055,
0.014658559799194336,
0.013643808364868164,
0.013459456443786622,
0.014079999923706055,
0.014409728050231933,
0.01440665626525879,
0.014216192245483398,
0.01398681640625,
0.014089216232299804,
0.013910016059875489,
0.013850624084472657,
0.01371132755279541,
0.013486080169677735,
0.013360128402709961,
0.013387776374816895,
0.01372976016998291,
0.013948927879333496,
0.014426112174987793,
0.013969408035278321,
0.01385366439819336,
0.013816831588745117,
0.013689888000488282,
0.013392895698547362,
0.013353952407836914,
0.013711359977722168,
0.013882368087768555,
0.013963264465332031,
0.01378713607788086,
0.013815808296203613,
0.013280256271362305,
0.013301759719848634,
0.013242303848266601
]
},
"throughput": {
"unit": "samples/s",
"value": 71.82932855418193
},
"energy": {
"unit": "kWh",
"cpu": 1.6858214643639576e-07,
"ram": 9.213837739467556e-08,
"gpu": 3.781849660845121e-07,
"total": 6.389054899155834e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1565176.7214148168
}
}
}
}