IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
65f901e verified
raw
history blame
7.79 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.458304,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.007840227127075,
"mean": 0.01439771753038679,
"stdev": 0.00107056545905484,
"p50": 0.014158847808837891,
"p90": 0.014704332733154296,
"p95": 0.016207155609130858,
"p99": 0.01903002662658692,
"values": [
0.020493312835693358,
0.01741721534729004,
0.015558655738830567,
0.014436351776123046,
0.013902848243713378,
0.013955072402954101,
0.013876223564147949,
0.014328831672668458,
0.0140830717086792,
0.014141440391540527,
0.013847552299499511,
0.013931520462036133,
0.01419878387451172,
0.014423040390014649,
0.013848575592041015,
0.013941760063171387,
0.013741056442260742,
0.013829119682312012,
0.013815808296203613,
0.013864959716796875,
0.013930496215820312,
0.014217215538024902,
0.013934592247009277,
0.013890560150146485,
0.014021632194519042,
0.016486400604248046,
0.018372608184814454,
0.01467903995513916,
0.015865856170654297,
0.014231552124023437,
0.013827072143554688,
0.013798399925231934,
0.013827072143554688,
0.014258111953735352,
0.014212096214294433,
0.013934592247009277,
0.013874176025390626,
0.013867008209228515,
0.01375436782836914,
0.013774847984313965,
0.013730815887451172,
0.013551615715026855,
0.013505536079406738,
0.014270463943481445,
0.014343199729919433,
0.014414848327636719,
0.014224384307861328,
0.014664704322814942,
0.014590975761413574,
0.014334976196289062,
0.014664704322814942,
0.014379008293151856,
0.014199808120727539,
0.014310400009155273,
0.01426636791229248,
0.014155776023864745,
0.014589952468872071,
0.014139391899108887,
0.014286848068237304,
0.014116864204406738,
0.014089216232299804,
0.01425715160369873,
0.014542847633361817,
0.014931967735290527,
0.014094335556030273,
0.014294015884399413,
0.014161919593811035,
0.014045184135437011,
0.014220288276672363,
0.0140697603225708
]
},
"throughput": {
"unit": "samples/s",
"value": 69.45545346958446
},
"energy": {
"unit": "kWh",
"cpu": 1.651157345764532e-07,
"ram": 8.989148911296816e-08,
"gpu": 3.351144233424662e-07,
"total": 5.901216470318875e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1694565.866257681
}
}
}
}