IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
99ddeab verified
raw
history blame
7.82 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.659008,
"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.0034439010620118,
"mean": 0.014133012691014246,
"stdev": 0.0011929209109726815,
"p50": 0.013903871536254882,
"p90": 0.01448140811920166,
"p95": 0.014774783611297606,
"p99": 0.020407807540893552,
"values": [
0.02064793586730957,
0.020304895401000975,
0.017326080322265625,
0.014642175674438476,
0.0142673921585083,
0.01448857593536377,
0.013436863899230957,
0.013403136253356934,
0.013399040222167969,
0.013325311660766602,
0.013318143844604492,
0.013394944190979004,
0.013288448333740235,
0.013904895782470703,
0.013757439613342285,
0.01375222396850586,
0.013810688018798829,
0.013786111831665039,
0.013772768020629883,
0.013760512351989745,
0.013472767829895019,
0.013379584312438965,
0.013337568283081054,
0.013616127967834473,
0.013947839736938477,
0.013999103546142578,
0.01396224021911621,
0.013993984222412109,
0.013989888191223144,
0.014013440132141113,
0.013957119941711426,
0.013981696128845214,
0.013912063598632812,
0.01395404815673828,
0.01387724781036377,
0.013880319595336914,
0.013839360237121581,
0.01380352020263672,
0.013737983703613281,
0.013824000358581542,
0.01389363193511963,
0.013955072402954101,
0.013940735816955567,
0.014006272315979004,
0.01448140811920166,
0.014317567825317384,
0.014907391548156738,
0.014527487754821777,
0.01415987205505371,
0.014041088104248046,
0.014166015625,
0.014106623649597168,
0.014026752471923828,
0.013862879753112792,
0.014028767585754394,
0.013900799751281738,
0.01430835247039795,
0.013822943687438964,
0.013839424133300781,
0.013833215713500976,
0.014253055572509766,
0.01395199966430664,
0.013882368087768555,
0.013841407775878906,
0.013842432022094727,
0.013903871536254882,
0.013890560150146485,
0.013910016059875489,
0.013856767654418945,
0.01379532814025879,
0.013922304153442382
]
},
"throughput": {
"unit": "samples/s",
"value": 70.7563222267393
},
"energy": {
"unit": "kWh",
"cpu": 1.583824819988675e-07,
"ram": 8.632535667857154e-08,
"gpu": 3.381373075466686e-07,
"total": 5.828451462241077e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1715721.5882784303
}
}
}
}