IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
763dc64 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.5936,
"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.9929375,
"mean": 7.9929375,
"stdev": 0.0,
"p50": 7.9929375,
"p90": 7.9929375,
"p95": 7.9929375,
"p99": 7.9929375,
"values": [
7.9929375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4354250527779128e-06,
"ram": 1.3027255198824916e-06,
"gpu": 3.359169353999228e-06,
"total": 7.097319926659632e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.3824,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 0.9975028810501098,
"mean": 0.014049336352818449,
"stdev": 0.0002891075434930633,
"p50": 0.01396019172668457,
"p90": 0.014253055572509766,
"p95": 0.014562815666198731,
"p99": 0.015281561374664306,
"values": [
0.015523839950561523,
0.015177727699279785,
0.014757887840270996,
0.014145536422729492,
0.013928447723388672,
0.014154751777648926,
0.013919232368469238,
0.013839360237121581,
0.013856703758239747,
0.01417728042602539,
0.014041088104248046,
0.013884415626525879,
0.014006272315979004,
0.014065664291381836,
0.014006272315979004,
0.014002176284790039,
0.013910016059875489,
0.014072832107543945,
0.013857791900634766,
0.013956095695495606,
0.013953023910522461,
0.014014464378356933,
0.013894656181335448,
0.014235584259033204,
0.014020607948303223,
0.014103551864624024,
0.013835264205932616,
0.014112768173217773,
0.013950976371765136,
0.013892607688903809,
0.013728768348693847,
0.013888511657714844,
0.014114815711975098,
0.01387110424041748,
0.013824992179870606,
0.013959168434143066,
0.013848575592041015,
0.014268416404724121,
0.014172160148620605,
0.01416806411743164,
0.014007295608520508,
0.014047231674194336,
0.014000127792358399,
0.01396019172668457,
0.013890560150146485,
0.01396224021911621,
0.013636608123779297,
0.014253055572509766,
0.014474240303039551,
0.01448755168914795,
0.014638079643249511,
0.014113792419433594,
0.013927424430847168,
0.0138854398727417,
0.01399500846862793,
0.014070783615112305,
0.013905920028686524,
0.013915136337280273,
0.013924351692199707,
0.01387724781036377,
0.013945792198181152,
0.013945856094360352,
0.013993984222412109,
0.013944831848144532,
0.013972479820251465,
0.013935615539550781,
0.013908032417297364,
0.013897791862487793,
0.013912063598632812,
0.013957119941711426,
0.01397555160522461
]
},
"throughput": {
"unit": "samples/s",
"value": 71.17773928157035
},
"energy": {
"unit": "kWh",
"cpu": 1.6838517758215578e-07,
"ram": 9.193388476661325e-08,
"gpu": 3.5215990614083593e-07,
"total": 6.12478968489605e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1632709.123818628
}
}
}
}