IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
75ab18c verified
raw
history blame
9.16 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.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.555328,
"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.1711435546875,
"mean": 7.1711435546875,
"stdev": 0.0,
"p50": 7.1711435546875,
"p90": 7.1711435546875,
"p95": 7.1711435546875,
"p99": 7.1711435546875,
"values": [
7.1711435546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1299946241908604e-06,
"ram": 5.746592803842532e-07,
"gpu": 1.6983346919994396e-06,
"total": 3.4029885965745535e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.855744,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0027868461608884,
"mean": 0.013370491282145182,
"stdev": 0.0005499692539727749,
"p50": 0.013049856185913086,
"p90": 0.01398394889831543,
"p95": 0.014232371044158936,
"p99": 0.014917740459442143,
"values": [
0.015623167991638183,
0.01466988754272461,
0.014358528137207031,
0.014536704063415527,
0.01334992027282715,
0.013075424194335937,
0.01296895980834961,
0.012941311836242676,
0.01303548812866211,
0.013085696220397949,
0.012967935562133789,
0.01296076774597168,
0.012986368179321289,
0.013088768005371093,
0.013055999755859376,
0.013030400276184082,
0.013044735908508302,
0.012930047988891602,
0.012902400016784669,
0.012921855926513673,
0.012875776290893554,
0.012921855926513673,
0.012919839859008788,
0.012875743865966797,
0.012903424263000488,
0.012909567832946778,
0.012990464210510254,
0.012931072235107421,
0.012905471801757813,
0.012910592079162597,
0.012901375770568848,
0.012910592079162597,
0.012914688110351562,
0.012951552391052246,
0.012884991645812988,
0.012896224021911621,
0.012898303985595704,
0.012887040138244628,
0.012901375770568848,
0.012984319686889649,
0.013040639877319337,
0.012969984054565429,
0.012949503898620606,
0.012884991645812988,
0.01287782382965088,
0.012910592079162597,
0.01315839958190918,
0.013049856185913086,
0.01350656032562256,
0.014021632194519042,
0.013709312438964843,
0.013722623825073242,
0.013904895782470703,
0.01398681640625,
0.013700096130371094,
0.013747200012207032,
0.01376153564453125,
0.013700096130371094,
0.014063615798950196,
0.01367961597442627,
0.013791232109069825,
0.01386086368560791,
0.013872127532958984,
0.01387007999420166,
0.013883456230163575,
0.013800448417663574,
0.013726719856262207,
0.013729791641235351,
0.013908991813659668,
0.013881343841552735,
0.013701087951660156,
0.014178303718566895,
0.013979647636413574,
0.013705216407775878,
0.013743103981018067
]
},
"throughput": {
"unit": "samples/s",
"value": 74.79156740750355
},
"energy": {
"unit": "kWh",
"cpu": 1.575355467043425e-07,
"ram": 8.606743096907477e-08,
"gpu": 3.4507703044735875e-07,
"total": 5.88680008120776e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1698715.7474436196
}
}
}
}