IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
a788c46 verified
raw
history blame
7.7 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.1",
"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.560704,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 68,
"total": 1.000941536903381,
"mean": 0.014719728483873255,
"stdev": 0.000530674990755611,
"p50": 0.014621696472167968,
"p90": 0.015451852607727051,
"p95": 0.015788995122909544,
"p99": 0.016334140281677244,
"values": [
0.015537152290344238,
0.016266239166259765,
0.015834176063537597,
0.015705087661743163,
0.015308799743652344,
0.015548416137695312,
0.014744576454162597,
0.014277631759643555,
0.016472000122070313,
0.015415295600891114,
0.014592960357666015,
0.01476095962524414,
0.014982144355773925,
0.014783488273620606,
0.014749695777893066,
0.01498419189453125,
0.014545920372009278,
0.014710783958435059,
0.014621696472167968,
0.014621696472167968,
0.014962688446044922,
0.015037440299987792,
0.014627840042114258,
0.01497599983215332,
0.01460428810119629,
0.014146559715270996,
0.01447935962677002,
0.014950400352478027,
0.014592991828918458,
0.014727231979370117,
0.014653440475463866,
0.015023103713989258,
0.01528934383392334,
0.015013888359069824,
0.015082464218139649,
0.014745599746704101,
0.014797823905944824,
0.014515199661254884,
0.014611455917358398,
0.014366720199584961,
0.014523391723632812,
0.014558272361755371,
0.0146810884475708,
0.014913536071777344,
0.014715904235839844,
0.014443519592285157,
0.014433279991149902,
0.014351360321044922,
0.01417625617980957,
0.014249983787536622,
0.01417625617980957,
0.014254079818725587,
0.014116864204406738,
0.014129152297973633,
0.01438304042816162,
0.01617100715637207,
0.014780415534973144,
0.014154751777648926,
0.014204928398132324,
0.014169088363647461,
0.014140416145324707,
0.0142673921585083,
0.014153727531433105,
0.01427353572845459,
0.014144543647766114,
0.014191616058349609,
0.014334976196289062,
0.01418239974975586
]
},
"throughput": {
"unit": "samples/s",
"value": 67.93603571530461
},
"energy": {
"unit": "kWh",
"cpu": 1.672399482443486e-07,
"ram": 9.139756271701705e-08,
"gpu": 3.643156279154941e-07,
"total": 6.229531388768598e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1605257.1816283467
}
}
}
}