IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5db7db1 verified
raw
history blame
7.9 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.2.1",
"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.388096,
"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.0102445478439332,
"mean": 0.014228796448506099,
"stdev": 0.0009817016998652183,
"p50": 0.013974528312683105,
"p90": 0.014649344444274901,
"p95": 0.015409631729125977,
"p99": 0.018289459228515617,
"values": [
0.0204083194732666,
0.01738137626647949,
0.015316991806030274,
0.014405632019042968,
0.01446399974822998,
0.014279680252075195,
0.014346240043640136,
0.014503935813903808,
0.01429196834564209,
0.014495743751525878,
0.01448755168914795,
0.014315520286560059,
0.014387200355529785,
0.014179327964782714,
0.014231552124023437,
0.014306303977966308,
0.014771200180053711,
0.016741376876831054,
0.015292415618896485,
0.014649344444274901,
0.014338047981262207,
0.014272512435913086,
0.014499839782714843,
0.014235648155212402,
0.014286848068237304,
0.014269439697265626,
0.01407487964630127,
0.013990912437438965,
0.013796352386474609,
0.013757439613342285,
0.013666303634643554,
0.013617152214050294,
0.013691904067993164,
0.013463552474975587,
0.013412351608276368,
0.013974528312683105,
0.014211071968078613,
0.014405632019042968,
0.014118847846984863,
0.014025728225708007,
0.01406771183013916,
0.013800448417663574,
0.013830143928527832,
0.013783040046691895,
0.013743103981018067,
0.01550227165222168,
0.014024703979492188,
0.013835264205932616,
0.013828160285949707,
0.013748224258422852,
0.013799424171447755,
0.013701120376586913,
0.013790207862854004,
0.013723648071289063,
0.013730815887451172,
0.013716480255126954,
0.013709312438964843,
0.013761568069458007,
0.013737983703613281,
0.01377791976928711,
0.013719552040100098,
0.013799424171447755,
0.013747200012207032,
0.013791232109069825,
0.013752320289611816,
0.013728768348693847,
0.013749216079711914,
0.013730815887451172,
0.013733887672424316,
0.01375641632080078,
0.013759488105773926
]
},
"throughput": {
"unit": "samples/s",
"value": 70.28001304389953
},
"energy": {
"unit": "kWh",
"cpu": 1.6352259631933507e-07,
"ram": 8.935887694218328e-08,
"gpu": 3.4232143063013805e-07,
"total": 5.952029038916563e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1680099.32992872
}
}
}
}