IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f4516b7 verified
raw
history blame
9.04 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 773.009408,
"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.44810693359375,
"mean": 7.44810693359375,
"stdev": 0.0,
"p50": 7.44810693359375,
"p90": 7.44810693359375,
"p95": 7.44810693359375,
"p99": 7.44810693359375,
"values": [
7.44810693359375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1741812166666441e-06,
"ram": 6.102007100753228e-07,
"gpu": 1.6413902020001939e-06,
"total": 3.425772128742161e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.474624,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.003815077781677,
"mean": 0.013941876080301072,
"stdev": 0.00048217115905604334,
"p50": 0.013852159976959228,
"p90": 0.014111129760742186,
"p95": 0.014679910850524903,
"p99": 0.016192235984802246,
"values": [
0.016364543914794923,
0.016121856689453123,
0.014867456436157226,
0.015255552291870117,
0.013983743667602539,
0.013454336166381836,
0.013618176460266113,
0.013451264381408692,
0.013429759979248047,
0.013752320289611816,
0.013468671798706054,
0.013660160064697266,
0.013445119857788086,
0.01337548828125,
0.013477888107299805,
0.013519935607910157,
0.014008319854736329,
0.013850624084472657,
0.013873151779174805,
0.014002240180969239,
0.013946880340576171,
0.01390182399749756,
0.013788160324096679,
0.013993984222412109,
0.013886431694030761,
0.014003199577331543,
0.013800512313842774,
0.014116864204406738,
0.01405951976776123,
0.013836288452148437,
0.013883392333984374,
0.013988863945007325,
0.013836288452148437,
0.01396019172668457,
0.013794303894042969,
0.013947903633117676,
0.013881343841552735,
0.01387110424041748,
0.013760512351989745,
0.013830080032348632,
0.013889535903930664,
0.013853695869445801,
0.013925375938415528,
0.013815808296203613,
0.013819904327392578,
0.013993984222412109,
0.01376460838317871,
0.013928447723388672,
0.013818880081176758,
0.013835264205932616,
0.013920255661010742,
0.013783040046691895,
0.013902848243713378,
0.013773823738098144,
0.013789183616638183,
0.01389363193511963,
0.013720576286315917,
0.014045184135437011,
0.013820992469787598,
0.01376972770690918,
0.01376460838317871,
0.014486528396606446,
0.014526464462280274,
0.013873151779174805,
0.013741056442260742,
0.013819904327392578,
0.01384447956085205,
0.013950943946838379,
0.013810720443725586,
0.013747200012207032,
0.01389363193511963,
0.014223360061645507
]
},
"throughput": {
"unit": "samples/s",
"value": 71.72635836384548
},
"energy": {
"unit": "kWh",
"cpu": 1.7318404730274888e-07,
"ram": 9.462063404866304e-08,
"gpu": 3.5393345544927224e-07,
"total": 6.217381368006841e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1608394.1788511816
}
}
}
}