IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0366bd0 verified
raw
history blame
9.05 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": {},
"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,
"memory": true,
"latency": 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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.854336,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1304541015625,
"mean": 7.1304541015625,
"stdev": 0.0,
"p50": 7.1304541015625,
"p90": 7.1304541015625,
"p95": 7.1304541015625,
"p99": 7.1304541015625,
"values": [
7.1304541015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0721758008003235e-06,
"ram": 5.714629080222266e-07,
"gpu": 0.0,
"total": 1.6436387088225501e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.183424,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 0.9994639692306517,
"mean": 0.013691287249734957,
"stdev": 0.0004417032779150381,
"p50": 0.013766655921936035,
"p90": 0.014075903701782227,
"p95": 0.01423790111541748,
"p99": 0.015206686668395997,
"values": [
0.015686655998229982,
0.015020031929016114,
0.0146810884475708,
0.013904864311218262,
0.013902848243713378,
0.013881343841552735,
0.013773823738098144,
0.013876223564147949,
0.014090239524841308,
0.013814784049987794,
0.013935615539550781,
0.014018560409545898,
0.013759519577026367,
0.01376460838317871,
0.013948927879333496,
0.013792256355285644,
0.013752320289611816,
0.013751296043395997,
0.01379532814025879,
0.013898783683776856,
0.01415987205505371,
0.013991935729980469,
0.01380352020263672,
0.014109760284423829,
0.013810688018798829,
0.013801471710205078,
0.013797375679016113,
0.013961215972900391,
0.013742079734802246,
0.013773823738098144,
0.013766655921936035,
0.013972479820251465,
0.014252032279968262,
0.014228480339050293,
0.013799424171447755,
0.013799424171447755,
0.01389568042755127,
0.013906944274902343,
0.01376255989074707,
0.013703167915344238,
0.013477888107299805,
0.013847552299499511,
0.013816831588745117,
0.013988863945007325,
0.013900768280029297,
0.013385727882385253,
0.0132925443649292,
0.013285375595092774,
0.013275135993957519,
0.013244416236877441,
0.013229056358337403,
0.01326796817779541,
0.013247488021850586,
0.013264896392822266,
0.013301728248596191,
0.013280256271362305,
0.01324339199066162,
0.013282303810119628,
0.013283328056335449,
0.013203455924987792,
0.013224960327148438,
0.013280256271362305,
0.01325772762298584,
0.013288448333740235,
0.013290495872497558,
0.0132741117477417,
0.013094911575317383,
0.013327360153198242,
0.013232128143310547,
0.013281279563903809,
0.013234175682067872,
0.013206527709960938,
0.013264896392822266
]
},
"throughput": {
"unit": "samples/s",
"value": 73.03915123242766
},
"energy": {
"unit": "kWh",
"cpu": 1.5251248480587606e-07,
"ram": 8.329012690816351e-08,
"gpu": 3.54273787692301e-07,
"total": 5.900763994063405e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1694695.8071972923
}
}
}
}