IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0dc47d7 verified
raw
history blame
7.74 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",
"library": "transformers",
"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": {},
"hub_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,
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.486976,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0023236751556397,
"mean": 0.014526430074719416,
"stdev": 0.0005946758243248868,
"p50": 0.014225407600402832,
"p90": 0.015154790496826172,
"p95": 0.015365529823303222,
"p99": 0.016196484909057614,
"values": [
0.015746047973632812,
0.016516096115112306,
0.016046079635620117,
0.015385600090026855,
0.01497804832458496,
0.01498419189453125,
0.014898176193237305,
0.014864383697509765,
0.01501696014404297,
0.015135744094848632,
0.014972928047180176,
0.015105024337768554,
0.01507532787322998,
0.015040512084960938,
0.015046655654907226,
0.015007743835449219,
0.014842847824096679,
0.014947327613830566,
0.014877663612365723,
0.015030271530151367,
0.015250432014465331,
0.015335424423217774,
0.015027199745178223,
0.015230976104736327,
0.015079423904418946,
0.014606335639953612,
0.014039039611816406,
0.0142807035446167,
0.014002176284790039,
0.014063615798950196,
0.01407487964630127,
0.0140697603225708,
0.014624671936035156,
0.014387200355529785,
0.014127103805541993,
0.01408409595489502,
0.014152704238891601,
0.013993984222412109,
0.013990912437438965,
0.0138854398727417,
0.013829119682312012,
0.014542847633361817,
0.014684160232543946,
0.014789631843566894,
0.01506611156463623,
0.01385977554321289,
0.013576191902160644,
0.013594623565673827,
0.013603839874267578,
0.013536255836486816,
0.014225407600402832,
0.014164992332458496,
0.014105600357055664,
0.014208000183105468,
0.014155776023864745,
0.014139391899108887,
0.014627840042114258,
0.01418239974975586,
0.014129152297973633,
0.014168031692504883,
0.014126079559326172,
0.014158847808837891,
0.014113792419433594,
0.01413424015045166,
0.014150655746459961,
0.014135295867919923,
0.01419878387451172,
0.014150655746459961,
0.014142463684082032
]
},
"throughput": {
"unit": "samples/s",
"value": 68.84003811372185
},
"energy": {
"unit": "kWh",
"cpu": 1.670707512722702e-07,
"ram": 9.126793372839965e-08,
"gpu": 3.4840403459154525e-07,
"total": 6.067427195922151e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1648145.0336513123
}
}
}
}