IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
755c40f verified
raw
history blame
7.89 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": "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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 976.310272,
"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.0060756797790522,
"mean": 0.014170079996888069,
"stdev": 0.0004656996651291965,
"p50": 0.014139391899108887,
"p90": 0.014652480125427246,
"p95": 0.014866944313049316,
"p99": 0.01582970848083496,
"values": [
0.015713279724121093,
0.016101375579833984,
0.01559347152709961,
0.014842880249023438,
0.013620160102844238,
0.0136561279296875,
0.013999103546142578,
0.014750720024108887,
0.014097536087036133,
0.014252896308898927,
0.014218239784240723,
0.014170080184936524,
0.014212096214294433,
0.014235648155212402,
0.014641152381896973,
0.014154751777648926,
0.014138367652893067,
0.01422640037536621,
0.014268416404724121,
0.014178303718566895,
0.014048255920410157,
0.014294015884399413,
0.014302207946777343,
0.014714879989624024,
0.014307328224182129,
0.014169088363647461,
0.014202879905700684,
0.01417625617980957,
0.014245887756347657,
0.01434931182861328,
0.014030847549438476,
0.013419520378112794,
0.013601792335510255,
0.013544447898864746,
0.01359769630432129,
0.013527039527893067,
0.013546527862548828,
0.013678591728210449,
0.013518815994262695,
0.01359769630432129,
0.014326784133911133,
0.01447321605682373,
0.014436351776123046,
0.014652480125427246,
0.014527423858642578,
0.014891008377075195,
0.01417523193359375,
0.014123007774353028,
0.014077887535095215,
0.013938688278198242,
0.0139683837890625,
0.014127103805541993,
0.014139391899108887,
0.014015487670898438,
0.01407795238494873,
0.013919232368469238,
0.014013440132141113,
0.014144512176513671,
0.013906944274902343,
0.014208000183105468,
0.01397760009765625,
0.013959168434143066,
0.013934528350830078,
0.01384447956085205,
0.01399295997619629,
0.01399295997619629,
0.014185471534729004,
0.014195712089538574,
0.013939711570739746,
0.013982720375061035,
0.013983743667602539
]
},
"throughput": {
"unit": "samples/s",
"value": 70.5712317940063
},
"energy": {
"unit": "kWh",
"cpu": 1.6763027471742347e-07,
"ram": 9.160290800861957e-08,
"gpu": 3.6084927146479134e-07,
"total": 6.200824541908344e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1612688.753312545
}
}
}
}