IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
116e8d9 verified
raw
history blame
8.8 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 814.65344,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.05625958251953125
],
"count": 1,
"total": 0.05625958251953125,
"mean": 0.05625958251953125,
"p50": 0.05625958251953125,
"p90": 0.05625958251953125,
"p95": 0.05625958251953125,
"p99": 0.05625958251953125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.75936,
"max_global_vram": 1444.41344,
"max_process_vram": 0.0,
"max_reserved": 796.91776,
"max_allocated": 757.115392
},
"latency": {
"unit": "s",
"values": [
0.01437286376953125,
0.014147583961486816,
0.014171135902404786,
0.01419059181213379,
0.01411075210571289,
0.01408614444732666,
0.014105600357055664,
0.014036992073059081,
0.014106623649597168,
0.014104576110839843,
0.014409728050231933,
0.014412799835205077,
0.014418944358825684,
0.01469542407989502,
0.014367744445800782,
0.014569472312927247,
0.014655488014221191,
0.014607359886169433,
0.014611455917358398,
0.014656512260437012,
0.014617600440979005,
0.014568448066711426,
0.014845952033996582,
0.01470150375366211,
0.014610431671142577,
0.014985216140747071,
0.014680064201354981,
0.01469536018371582,
0.014804991722106933,
0.0148787202835083,
0.014774271965026856,
0.014618623733520507,
0.014666751861572265,
0.014565376281738282,
0.015450112342834473,
0.016044031143188475,
0.0148787202835083,
0.014829631805419921,
0.014666751861572265,
0.014931967735290527,
0.014906368255615234,
0.014857215881347656,
0.014872575759887695,
0.01509171199798584,
0.01506611156463623,
0.01744076728820801,
0.014973952293395995,
0.014647295951843262,
0.014573568344116212,
0.014642175674438476,
0.014617600440979005,
0.014579680442810059,
0.014556159973144531,
0.014425087928771972,
0.014412799835205077,
0.014526464462280274,
0.014493696212768555,
0.014453760147094727,
0.014603263854980468,
0.014565407752990723,
0.014584832191467285,
0.01453974437713623,
0.015627264022827148,
0.015985664367675782,
0.014775296211242676,
0.014641152381896973,
0.014623744010925293,
0.014624768257141114
],
"count": 68,
"total": 0.9993604507446286,
"mean": 0.014696477216832775,
"p50": 0.014618112087249755,
"p90": 0.01500948476791382,
"p95": 0.015565260934829711,
"p99": 0.01650495407104492,
"stdev": 0.0005025882681925183,
"stdev_": 3.4197873461598896
},
"throughput": {
"unit": "samples/s",
"value": 136.0870343614916
},
"energy": {
"unit": "kWh",
"cpu": 1.7459509670140327e-07,
"ram": 9.538156342249015e-08,
"gpu": 4.043181339117629e-07,
"total": 6.742947940356564e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2966061.7547259913
}
}
}
}