IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7323f51 verified
raw
history blame
7.89 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": "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",
"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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.048128,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0009896955490114,
"mean": 0.014098446416183259,
"stdev": 0.0006384603254537008,
"p50": 0.014302207946777343,
"p90": 0.014630911827087402,
"p95": 0.015238143920898437,
"p99": 0.01611059169769287,
"values": [
0.01595084762573242,
0.016483327865600587,
0.015924223899841307,
0.01489510440826416,
0.015516672134399414,
0.014889984130859376,
0.01495961570739746,
0.01375334358215332,
0.013577216148376465,
0.013564000129699707,
0.013637632369995116,
0.013596672058105469,
0.013575167655944824,
0.013502464294433594,
0.013526016235351563,
0.0134901762008667,
0.013545472145080567,
0.013562879562377929,
0.013607935905456543,
0.01357209587097168,
0.013522944450378417,
0.013522944450378417,
0.013513728141784668,
0.013554688453674316,
0.01354854393005371,
0.013495295524597169,
0.013554688453674316,
0.013536255836486816,
0.013537280082702637,
0.013533184051513672,
0.013478912353515626,
0.013537280082702637,
0.013517824172973633,
0.013504511833190918,
0.013527039527893067,
0.0135731201171875,
0.013526016235351563,
0.013515775680541992,
0.013527039527893067,
0.01358847999572754,
0.01413430404663086,
0.014583744049072266,
0.014547967910766601,
0.014630911827087402,
0.014499903678894043,
0.014415871620178223,
0.014400511741638184,
0.014389216423034668,
0.01438003158569336,
0.01439641571044922,
0.014323712348937988,
0.014331904411315918,
0.014354432106018066,
0.014361599922180175,
0.014352383613586426,
0.014313471794128419,
0.014323648452758788,
0.014313471794128419,
0.014252032279968262,
0.014321663856506347,
0.014317567825317384,
0.014403583526611329,
0.014334976196289062,
0.014325728416442871,
0.014330880165100097,
0.014306303977966308,
0.014324735641479493,
0.014302207946777343,
0.014302207946777343,
0.014326784133911133,
0.014341119766235352
]
},
"throughput": {
"unit": "samples/s",
"value": 70.92980109156741
},
"energy": {
"unit": "kWh",
"cpu": 1.653465246896685e-07,
"ram": 9.038774616184786e-08,
"gpu": 3.504362371388536e-07,
"total": 6.061705079903701e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1649700.8462442164
}
}
}
}