IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
ab098ae verified
raw
history blame
8.95 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.237248,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.9610634765625,
"mean": 7.9610634765625,
"stdev": 0.0,
"p50": 7.9610634765625,
"p90": 7.9610634765625,
"p95": 7.9610634765625,
"p99": 7.9610634765625,
"values": [
7.9610634765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.346432673610524e-06,
"ram": 1.266023661966651e-06,
"gpu": 3.635836242000222e-06,
"total": 7.248292577577396e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1186.500608,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0039458560943606,
"mean": 0.014342083658490866,
"stdev": 0.0003804208047628493,
"p50": 0.014442495822906493,
"p90": 0.014762950325012208,
"p95": 0.014897305870056152,
"p99": 0.01512332283973694,
"values": [
0.015319040298461914,
0.014859231948852539,
0.013892607688903809,
0.013922304153442382,
0.013831168174743653,
0.013914112091064454,
0.013759488105773926,
0.013708288192749024,
0.014053376197814941,
0.014726143836975097,
0.014566399574279786,
0.014457856178283691,
0.014751744270324708,
0.014567423820495605,
0.014702591896057129,
0.014595071792602539,
0.014581727981567382,
0.01448038387298584,
0.014482432365417481,
0.01448857593536377,
0.014436351776123046,
0.014482432365417481,
0.014753727912902833,
0.014725119590759277,
0.014582783699035644,
0.014508031845092773,
0.014569472312927247,
0.014636032104492188,
0.014381088256835938,
0.014515199661254884,
0.014722047805786133,
0.014389247894287109,
0.01444863986968994,
0.01438815975189209,
0.014355456352233887,
0.015035391807556153,
0.014845952033996582,
0.01468518352508545,
0.014533599853515626,
0.014867456436157226,
0.014554112434387208,
0.014361599922180175,
0.014458880424499512,
0.014322688102722168,
0.014142463684082032,
0.014921728134155274,
0.014502911567687989,
0.014715904235839844,
0.014504960060119629,
0.014227456092834472,
0.01429094409942627,
0.01498624038696289,
0.014358528137207031,
0.013958144187927245,
0.013884415626525879,
0.013882368087768555,
0.01387724781036377,
0.013867008209228515,
0.013890560150146485,
0.013873215675354003,
0.013894656181335448,
0.013853695869445801,
0.01387724781036377,
0.013839360237121581,
0.013919232368469238,
0.013849599838256836,
0.013913087844848633,
0.0138854398727417,
0.013917183876037598,
0.01389363193511963
]
},
"throughput": {
"unit": "samples/s",
"value": 69.72487567439167
},
"energy": {
"unit": "kWh",
"cpu": 1.651083478877189e-07,
"ram": 9.016195993020896e-08,
"gpu": 3.5424796858333176e-07,
"total": 6.095182764012596e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1640639.8933666716
}
}
}
}