IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
83737b1 verified
raw
history blame
7.85 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.1",
"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.716352,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 0.9995849256515507,
"mean": 0.014279784652165005,
"stdev": 0.0003427474074356825,
"p50": 0.014211584091186523,
"p90": 0.01476638708114624,
"p95": 0.014904510402679443,
"p99": 0.014988236980438233,
"values": [
0.014879712104797363,
0.014842880249023438,
0.014755935668945312,
0.014850048065185547,
0.014171135902404786,
0.013964287757873535,
0.014027775764465332,
0.013940735816955567,
0.014410752296447754,
0.014499839782714843,
0.014053376197814941,
0.013979647636413574,
0.013922304153442382,
0.013906944274902343,
0.01396735954284668,
0.014221311569213867,
0.014520319938659668,
0.014575615882873535,
0.014973952293395995,
0.014400511741638184,
0.013952159881591797,
0.014035072326660156,
0.014115839958190919,
0.014444543838500976,
0.014616576194763184,
0.014757887840270996,
0.01466982364654541,
0.014503935813903808,
0.014529696464538574,
0.01447116756439209,
0.014598143577575684,
0.01397555160522461,
0.013925375938415528,
0.014618623733520507,
0.01467084789276123,
0.01448140811920166,
0.014569472312927247,
0.014924799919128418,
0.014369791984558105,
0.014347295761108398,
0.014313376426696778,
0.014220288276672363,
0.014478336334228516,
0.014524383544921875,
0.014963711738586426,
0.015020031929016114,
0.014154751777648926,
0.01418943977355957,
0.014354432106018066,
0.014154751777648926,
0.014267264366149902,
0.014025728225708007,
0.014110719680786133,
0.014129119873046875,
0.014379008293151856,
0.014202879905700684,
0.014017536163330077,
0.01397152042388916,
0.013832223892211915,
0.014138367652893067,
0.013792256355285644,
0.01376460838317871,
0.013728768348693847,
0.01386188793182373,
0.013935615539550781,
0.014032896041870118,
0.014019552230834962,
0.013891551971435547,
0.013945856094360352,
0.013721599578857421
]
},
"throughput": {
"unit": "samples/s",
"value": 70.02906726946941
},
"energy": {
"unit": "kWh",
"cpu": 1.670953691189672e-07,
"ram": 9.112273394293878e-08,
"gpu": 3.571260573055578e-07,
"total": 6.153441603674637e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1625106.8335528402
}
}
}
}