IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
24a188e verified
raw
history blame
7.92 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",
"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.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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.36,
"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.0089079332351683,
"mean": 0.014012610183821784,
"stdev": 0.0002860015472250758,
"p50": 0.013942319869995118,
"p90": 0.014350130844116212,
"p95": 0.014402969598770141,
"p99": 0.015094637765884404,
"values": [
0.014397439956665039,
0.01554758358001709,
0.014909631729125976,
0.014367744445800782,
0.013990912437438965,
0.013880319595336914,
0.013815808296203613,
0.013830143928527832,
0.013735936164855958,
0.014005248069763183,
0.014096384048461913,
0.013790207862854004,
0.013981696128845214,
0.014025792121887207,
0.014141440391540527,
0.01396019172668457,
0.013847552299499511,
0.01385267162322998,
0.013780991554260253,
0.013757439613342285,
0.014121983528137207,
0.013889535903930664,
0.014091391563415528,
0.014026752471923828,
0.013969408035278321,
0.014095359802246094,
0.014002176284790039,
0.01406873607635498,
0.013717503547668456,
0.014034943580627441,
0.014368767738342286,
0.013854720115661622,
0.013891551971435547,
0.01398681640625,
0.01378713607788086,
0.014253055572509766,
0.014125056266784668,
0.014178112030029296,
0.013849599838256836,
0.013847552299499511,
0.013737983703613281,
0.01378713607788086,
0.013812735557556152,
0.013742079734802246,
0.014217215538024902,
0.014356479644775391,
0.014439328193664551,
0.014409728050231933,
0.014169088363647461,
0.014233599662780762,
0.014256128311157227,
0.014195712089538574,
0.01386780834197998,
0.01390988826751709,
0.013906847953796387,
0.013820927619934082,
0.014292991638183594,
0.013759488105773926,
0.013771776199340821,
0.013819775581359862,
0.013884415626525879,
0.0138504638671875,
0.013733887672424316,
0.013883392333984374,
0.01391312026977539,
0.01399500846862793,
0.01377184009552002,
0.013825984001159667,
0.013757439613342285,
0.013996031761169434,
0.013989888191223144,
0.013924448013305665
]
},
"throughput": {
"unit": "samples/s",
"value": 71.36429165456603
},
"energy": {
"unit": "kWh",
"cpu": 1.6502592666649527e-07,
"ram": 9.013577984357349e-08,
"gpu": 3.5299410955555003e-07,
"total": 6.081558160656188e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1644315.4428241167
}
}
}
}