IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
fe48a5a verified
raw
history blame
9.04 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.925376,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.00678173828125,
"mean": 8.00678173828125,
"stdev": 0.0,
"p50": 8.00678173828125,
"p90": 8.00678173828125,
"p95": 8.00678173828125,
"p99": 8.00678173828125,
"values": [
8.00678173828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.382359352082375e-06,
"ram": 1.2867832843096755e-06,
"gpu": 3.7077807440001956e-06,
"total": 7.376923380392246e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1187.414016,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.01028134059906,
"mean": 0.014031685286098057,
"stdev": 0.00028237615654976337,
"p50": 0.01393665599822998,
"p90": 0.01418168296813965,
"p95": 0.014421094417572021,
"p99": 0.01532762106895447,
"values": [
0.01548902416229248,
0.014932991981506348,
0.015261695861816407,
0.014311424255371094,
0.014166015625,
0.013956095695495606,
0.013964287757873535,
0.014015487670898438,
0.013936639785766602,
0.013911040306091308,
0.013969408035278321,
0.013917183876037598,
0.013880319595336914,
0.013965312004089356,
0.013894656181335448,
0.013919232368469238,
0.013974495887756348,
0.014163968086242675,
0.01394380760192871,
0.013906944274902343,
0.013926400184631347,
0.014114815711975098,
0.014000127792358399,
0.013923328399658203,
0.013914112091064454,
0.013910016059875489,
0.014149632453918457,
0.013942784309387207,
0.013932543754577637,
0.013872127532958984,
0.013939711570739746,
0.013846528053283692,
0.013944831848144532,
0.013920255661010742,
0.013907967567443847,
0.013944831848144532,
0.013922240257263184,
0.01386291217803955,
0.013900799751281738,
0.013917183876037598,
0.013864959716796875,
0.013877216339111329,
0.013880319595336914,
0.013907967567443847,
0.013834303855895996,
0.014108672142028808,
0.013873151779174805,
0.013912063598632812,
0.01387929630279541,
0.013911040306091308,
0.013917183876037598,
0.013964287757873535,
0.014065664291381836,
0.01418239974975586,
0.01455513572692871,
0.014269439697265626,
0.01417523193359375,
0.013965312004089356,
0.01399084758758545,
0.013922304153442382,
0.013996031761169434,
0.013982720375061035,
0.0140697603225708,
0.013915136337280273,
0.014024671554565429,
0.014142463684082032,
0.013933568000793458,
0.013929471969604493,
0.014240768432617188,
0.01393667221069336,
0.013924351692199707,
0.013855744361877441
]
},
"throughput": {
"unit": "samples/s",
"value": 71.26727685310571
},
"energy": {
"unit": "kWh",
"cpu": 1.6522153233988893e-07,
"ram": 9.027629395572145e-08,
"gpu": 3.6466464358331924e-07,
"total": 6.201624698789297e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1612480.6781603917
}
}
}
}