IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
9430b01 verified
raw
history blame
9.08 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.293824,
"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.620864,
"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.18871630859375,
"mean": 7.18871630859375,
"stdev": 0.0,
"p50": 7.18871630859375,
"p90": 7.18871630859375,
"p95": 7.18871630859375,
"p99": 7.18871630859375,
"values": [
7.18871630859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1001676321029664e-06,
"ram": 5.708998280635077e-07,
"gpu": 1.6075012859977783e-06,
"total": 3.2785687461642526e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.917184,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0090055351257323,
"mean": 0.01382199363185935,
"stdev": 0.0005678118188726203,
"p50": 0.013757439613342285,
"p90": 0.013940582847595214,
"p95": 0.014089401817321776,
"p99": 0.015533793106079106,
"values": [
0.0184268798828125,
0.014350336074829101,
0.014408703804016113,
0.014020607948303223,
0.014128128051757812,
0.01375334358215332,
0.01389363193511963,
0.014063584327697753,
0.013793279647827148,
0.013785087585449218,
0.013812735557556152,
0.013749247550964355,
0.013806591987609864,
0.0136878080368042,
0.013820927619934082,
0.013757439613342285,
0.013809663772583008,
0.013817855834960938,
0.0137871675491333,
0.013800448417663574,
0.013802495956420899,
0.013819904327392578,
0.013749247550964355,
0.013849599838256836,
0.013694975852966309,
0.013636608123779297,
0.013542400360107423,
0.013617152214050294,
0.013851648330688476,
0.01377894401550293,
0.01375641632080078,
0.013747200012207032,
0.013927424430847168,
0.013854720115661622,
0.013812735557556152,
0.01377894401550293,
0.013796352386474609,
0.013774847984313965,
0.013831168174743653,
0.013801471710205078,
0.013771776199340821,
0.013758463859558106,
0.013717503547668456,
0.013758463859558106,
0.013943872451782226,
0.013883392333984374,
0.013751296043395997,
0.013683712005615235,
0.013745152473449707,
0.013622271537780761,
0.013709312438964843,
0.013632512092590332,
0.013689855575561523,
0.01377894401550293,
0.013639679908752441,
0.013592576026916504,
0.013599743843078613,
0.013642751693725585,
0.01356492805480957,
0.013983743667602539,
0.013637632369995116,
0.013745152473449707,
0.01366220760345459,
0.013561792373657226,
0.013596672058105469,
0.013578207969665527,
0.013598719596862792,
0.013639679908752441,
0.013617152214050294,
0.013574144363403321,
0.013371392250061035,
0.013419520378112794,
0.013635583877563476
]
},
"throughput": {
"unit": "samples/s",
"value": 72.34846337181237
},
"energy": {
"unit": "kWh",
"cpu": 1.607266207178076e-07,
"ram": 8.779100341051368e-08,
"gpu": 3.3110011472973237e-07,
"total": 5.796177388580537e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1725275.009647171
}
}
}
}