IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
fe3eb93 verified
raw
history blame
7.83 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.577088,
"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.005086657524109,
"mean": 0.014156150105973365,
"stdev": 0.00031493793304409923,
"p50": 0.01408512020111084,
"p90": 0.01447327995300293,
"p95": 0.01473689603805542,
"p99": 0.015300403404235838,
"values": [
0.01498419189453125,
0.015462400436401368,
0.015230976104736327,
0.014900223731994629,
0.01449062442779541,
0.014098431587219238,
0.014229503631591797,
0.014137344360351562,
0.01408614444732666,
0.014318592071533203,
0.014095359802246094,
0.014156800270080566,
0.014210047721862793,
0.01408512020111084,
0.014109696388244629,
0.014109696388244629,
0.014103551864624024,
0.013922304153442382,
0.013993984222412109,
0.01430627155303955,
0.014070783615112305,
0.014433279991149902,
0.014278656005859374,
0.01407795238494873,
0.014215104103088379,
0.014150655746459961,
0.014049280166625976,
0.01405951976776123,
0.014132224082946777,
0.014247936248779297,
0.013961215972900391,
0.014078975677490235,
0.013974528312683105,
0.01421513557434082,
0.014573568344116212,
0.014401535987854003,
0.014147583961486816,
0.014073856353759765,
0.013998080253601074,
0.013926400184631347,
0.014013440132141113,
0.013737983703613281,
0.013808639526367187,
0.01447327995300293,
0.014417920112609863,
0.01455513572692871,
0.014313471794128419,
0.01428275203704834,
0.014201855659484864,
0.014118911743164063,
0.013982720375061035,
0.014033920288085937,
0.01390287971496582,
0.013535231590270995,
0.01366323184967041,
0.013989888191223144,
0.014417887687683106,
0.013982720375061035,
0.013900799751281738,
0.014057472229003906,
0.014002176284790039,
0.014052351951599122,
0.013959168434143066,
0.014007295608520508,
0.014070783615112305,
0.013882368087768555,
0.014052351951599122,
0.013985792160034179,
0.013990912437438965,
0.013792256355285644,
0.01380352020263672
]
},
"throughput": {
"unit": "samples/s",
"value": 70.6406750786033
},
"energy": {
"unit": "kWh",
"cpu": 1.598879893620809e-07,
"ram": 8.741408084460999e-08,
"gpu": 3.2341507354666346e-07,
"total": 5.707171437533543e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1752181.4631735822
}
}
}
}