IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
c072cad verified
raw
history blame
8 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.536128,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.006688448905945,
"mean": 0.013603897958188444,
"stdev": 0.0005611513237784378,
"p50": 0.013390847682952881,
"p90": 0.014036150264739991,
"p95": 0.014441523170471187,
"p99": 0.015961723136901855,
"values": [
0.015607808113098144,
0.016265216827392577,
0.015849472045898438,
0.014922752380371093,
0.0135600004196167,
0.013382592201232911,
0.013385727882385253,
0.013381631851196289,
0.013368320465087891,
0.013326335906982421,
0.013149184226989746,
0.013271039962768554,
0.013327360153198242,
0.013348863601684571,
0.013282303810119628,
0.01336627197265625,
0.013387840270996093,
0.013327360153198242,
0.01336627197265625,
0.013379584312438965,
0.013418496131896973,
0.013467647552490235,
0.013283328056335449,
0.01337548828125,
0.013392895698547362,
0.0133887996673584,
0.013334527969360351,
0.013218815803527833,
0.013347840309143067,
0.013365247726440429,
0.013511679649353027,
0.013481951713562012,
0.013541376113891602,
0.013452287673950195,
0.013584383964538574,
0.01418239974975586,
0.014164992332458496,
0.01397862434387207,
0.01358028793334961,
0.013502464294433594,
0.01349120044708252,
0.01346560001373291,
0.013541376113891602,
0.013716416358947754,
0.013805567741394043,
0.013428735733032226,
0.01334169578552246,
0.013479935646057128,
0.01338265609741211,
0.014037983894348145,
0.013996031761169434,
0.014031871795654297,
0.013830143928527832,
0.013839360237121581,
0.013851648330688476,
0.01383340835571289,
0.014142463684082032,
0.01369491195678711,
0.013360128402709961,
0.013262847900390624,
0.013398015975952148,
0.013355008125305176,
0.01335807991027832,
0.013196288108825683,
0.013299712181091309,
0.013404159545898438,
0.01335091209411621,
0.013461503982543945,
0.013149184226989746,
0.013232128143310547,
0.013344767570495606,
0.013198335647583008,
0.013325311660766602,
0.01325158405303955
]
},
"throughput": {
"unit": "samples/s",
"value": 73.50834320233055
},
"energy": {
"unit": "kWh",
"cpu": 1.659098874639582e-07,
"ram": 9.065002957413526e-08,
"gpu": 3.7648949872222046e-07,
"total": 6.330494157603139e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1579655.5136204744
}
}
}
}