IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d92c415 verified
raw
history blame
8.06 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_type": "deberta-v2",
"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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 982.654976,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0009302740097046,
"mean": 0.013526084783914927,
"stdev": 0.0003743763872745608,
"p50": 0.013384704113006591,
"p90": 0.013966624164581299,
"p95": 0.014142054605484008,
"p99": 0.015228067684173584,
"values": [
0.01407795238494873,
0.015234047889709473,
0.014339072227478027,
0.01408614444732666,
0.013557760238647461,
0.013416447639465333,
0.013621248245239258,
0.013279232025146484,
0.013232128143310547,
0.013379584312438965,
0.013542400360107423,
0.013356032371520997,
0.013336576461791993,
0.013749247550964355,
0.013454336166381836,
0.013443072319030762,
0.013403136253356934,
0.013369343757629394,
0.013338624000549316,
0.013304832458496094,
0.013239295959472656,
0.013606911659240722,
0.013421567916870117,
0.013570048332214356,
0.01357209587097168,
0.01334172821044922,
0.013422592163085938,
0.013462528228759766,
0.013494272232055664,
0.0135895357131958,
0.013312000274658203,
0.013493247985839844,
0.013283328056335449,
0.013298656463623047,
0.013223967552185058,
0.013419487953186034,
0.013751296043395997,
0.014009344100952148,
0.015225855827331543,
0.014016511917114258,
0.014245887756347657,
0.013866944313049316,
0.013857791900634766,
0.013351936340332032,
0.013287424087524414,
0.013218815803527833,
0.013325311660766602,
0.013389823913574218,
0.01376460838317871,
0.013614080429077148,
0.01335091209411621,
0.013424639701843261,
0.01364684772491455,
0.013365247726440429,
0.013379584312438965,
0.013371392250061035,
0.013326335906982421,
0.0132925443649292,
0.013290495872497558,
0.013342720031738281,
0.013608960151672364,
0.013273088455200196,
0.013306879997253418,
0.01333350372314453,
0.013338624000549316,
0.013348863601684571,
0.013348863601684571,
0.013416447639465333,
0.013507583618164062,
0.013308927536010743,
0.013294591903686523,
0.013279232025146484,
0.013305855751037597,
0.013270015716552735
]
},
"throughput": {
"unit": "samples/s",
"value": 73.93122370408244
},
"energy": {
"unit": "kWh",
"cpu": 1.535737573930681e-07,
"ram": 8.395961256333168e-08,
"gpu": 3.295301781538397e-07,
"total": 5.670635481102394e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1763470.7844165573
}
}
}
}