IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
3c85041 verified
raw
history blame
7.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",
"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.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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"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.822848,
"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.0083286361694335,
"mean": 0.014613458495209184,
"stdev": 0.0011253200724355781,
"p50": 0.014386240005493165,
"p90": 0.01496842269897461,
"p95": 0.0157708288192749,
"p99": 0.02046128089904785,
"values": [
0.02089369583129883,
0.020257791519165038,
0.016279520034790038,
0.015277055740356446,
0.014589952468872071,
0.014945280075073243,
0.01550233554840088,
0.014950400352478027,
0.015949824333190917,
0.014832639694213867,
0.014707712173461914,
0.01466982364654541,
0.014581760406494141,
0.014553088188171387,
0.014641152381896973,
0.014386240005493165,
0.014419967651367188,
0.014180352210998535,
0.015040512084960938,
0.01457151985168457,
0.014523391723632812,
0.01487667179107666,
0.014531583786010742,
0.014512127876281738,
0.014548992156982422,
0.014859199523925781,
0.014824447631835937,
0.01459609603881836,
0.014655488014221191,
0.014395392417907715,
0.014578687667846679,
0.01428889560699463,
0.014134271621704102,
0.014328864097595215,
0.014593024253845215,
0.014776320457458495,
0.01457049560546875,
0.014411775588989258,
0.014286848068237304,
0.014058496475219727,
0.014042112350463867,
0.014004223823547364,
0.01407487964630127,
0.014004159927368164,
0.014044159889221192,
0.014027775764465332,
0.014011391639709473,
0.01399295997619629,
0.013792256355285644,
0.014303232192993164,
0.013991935729980469,
0.01408409595489502,
0.014107647895812989,
0.014653440475463866,
0.014332927703857423,
0.014188544273376465,
0.014110719680786133,
0.014110719680786133,
0.014081024169921874,
0.01405951976776123,
0.014121983528137207,
0.014062591552734375,
0.0140830717086792,
0.014055423736572266,
0.01409945583343506,
0.014048255920410157,
0.014125056266784668,
0.014063615798950196,
0.0140697603225708
]
},
"throughput": {
"unit": "samples/s",
"value": 68.43007083695046
},
"energy": {
"unit": "kWh",
"cpu": 1.5971449348661636e-07,
"ram": 8.725890731147957e-08,
"gpu": 3.3229656213333453e-07,
"total": 5.792699629314305e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1726310.811869892
}
}
}
}