IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
efc19f3 verified
raw
history blame
8.92 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": 796.434432,
"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.01444580078125,
"mean": 8.01444580078125,
"stdev": 0.0,
"p50": 8.01444580078125,
"p90": 8.01444580078125,
"p95": 8.01444580078125,
"p99": 8.01444580078125,
"values": [
8.01444580078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4285170319438346e-06,
"ram": 1.3124160366581383e-06,
"gpu": 3.4758361140002636e-06,
"total": 7.2167691826022365e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.673216,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0029326105117802,
"mean": 0.014535255224808405,
"stdev": 0.0004777551517245581,
"p50": 0.014547967910766601,
"p90": 0.014838374710083008,
"p95": 0.015660851478576657,
"p99": 0.016065290222167967,
"values": [
0.015490048408508301,
0.015774720191955565,
0.01584332847595215,
0.014881792068481446,
0.014712832450866698,
0.014578687667846679,
0.014637056350708008,
0.01447321605682373,
0.014558208465576173,
0.014621696472167968,
0.014725024223327637,
0.01455513572692871,
0.01472000026702881,
0.014609408378601075,
0.014599167823791503,
0.01459609603881836,
0.01461350440979004,
0.014663680076599121,
0.014547967910766601,
0.014519295692443847,
0.014415871620178223,
0.01459712028503418,
0.01451417636871338,
0.014742527961730957,
0.014774271965026856,
0.014348287582397461,
0.014723072052001953,
0.014756863594055175,
0.014561280250549317,
0.014562303543090821,
0.014560447692871094,
0.014567423820495605,
0.014518272399902344,
0.014503935813903808,
0.01438310432434082,
0.014556159973144531,
0.015266816139221191,
0.014814208030700684,
0.014827520370483398,
0.014642175674438476,
0.014542911529541016,
0.014539775848388671,
0.014309408187866211,
0.014356479644775391,
0.014369791984558105,
0.014412896156311035,
0.014324831962585449,
0.014488415718078613,
0.014619647979736328,
0.015985664367675782,
0.016234495162963866,
0.014440447807312011,
0.014401535987854003,
0.01408512020111084,
0.014071807861328126,
0.01397862434387207,
0.013937631607055663,
0.013911040306091308,
0.013889535903930664,
0.013921279907226563,
0.01397043228149414,
0.014007424354553223,
0.013988863945007325,
0.013972479820251465,
0.014027775764465332,
0.013919232368469238,
0.01387116813659668,
0.013990912437438965,
0.014006272315979004
]
},
"throughput": {
"unit": "samples/s",
"value": 68.79824155362786
},
"energy": {
"unit": "kWh",
"cpu": 1.6518561492090535e-07,
"ram": 9.019565462620187e-08,
"gpu": 3.6601109527776813e-07,
"total": 6.213923648248753e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1609289.1651184452
}
}
}
}