IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
00f64b7 verified
raw
history blame
9.18 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": {},
"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,
"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": 705.306624,
"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.179443359375,
"mean": 7.179443359375,
"stdev": 0.0,
"p50": 7.179443359375,
"p90": 7.179443359375,
"p95": 7.179443359375,
"p99": 7.179443359375,
"values": [
7.179443359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.07476810614268e-06,
"ram": 5.734992519825255e-07,
"gpu": 1.804445888001216e-06,
"total": 3.4527132461264213e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 987.619328,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0017025299072266,
"mean": 0.013356033732096356,
"stdev": 0.0003767711681616376,
"p50": 0.013344767570495606,
"p90": 0.013785459136962892,
"p95": 0.013935001373291015,
"p99": 0.014502932453155518,
"values": [
0.014599167823791503,
0.014469120025634765,
0.013932543754577637,
0.013797311782836915,
0.013940735816955567,
0.013530112266540528,
0.013245439529418946,
0.01335807991027832,
0.013586432456970214,
0.013368320465087891,
0.013214719772338868,
0.01346560001373291,
0.013437952041625977,
0.013439999580383302,
0.013403136253356934,
0.013408255577087403,
0.013289471626281739,
0.013236224174499512,
0.013297663688659669,
0.013319168090820312,
0.013540351867675781,
0.01360588836669922,
0.01354854393005371,
0.013312000274658203,
0.013586432456970214,
0.013356032371520997,
0.01330073642730713,
0.013179903984069824,
0.013431872367858887,
0.013442144393920899,
0.013343744277954102,
0.013270015716552735,
0.013296640396118165,
0.01376153564453125,
0.013541376113891602,
0.01350656032562256,
0.013436927795410156,
0.0132741117477417,
0.013521984100341796,
0.013181952476501465,
0.0132925443649292,
0.013514752388000489,
0.013186079978942871,
0.01366323184967041,
0.013836288452148437,
0.013855744361877441,
0.014126079559326172,
0.013476863861083984,
0.013318143844604492,
0.013335583686828613,
0.013305855751037597,
0.013294591903686523,
0.013344767570495606,
0.013504511833190918,
0.013428735733032226,
0.013112319946289062,
0.01285632038116455,
0.012850144386291503,
0.01268838405609131,
0.012538880348205566,
0.012767231941223145,
0.012826623916625977,
0.012659711837768555,
0.013767680168151856,
0.013593600273132325,
0.01356390380859375,
0.013278207778930663,
0.012980159759521484,
0.012841983795166016,
0.012812288284301757,
0.012836864471435547,
0.012806143760681152,
0.012811264038085938,
0.012917759895324708,
0.012931072235107421
]
},
"throughput": {
"unit": "samples/s",
"value": 74.87252728307092
},
"energy": {
"unit": "kWh",
"cpu": 1.542603900766304e-07,
"ram": 8.432164955910987e-08,
"gpu": 3.726121307013028e-07,
"total": 6.111941703370431e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1636141.2600656021
}
}
}
}