IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
c87676f verified
raw
history blame
8.91 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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.8944,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.21011558532714844
],
"count": 1,
"total": 0.21011558532714844,
"mean": 0.21011558532714844,
"p50": 0.21011558532714844,
"p90": 0.21011558532714844,
"p95": 0.21011558532714844,
"p99": 0.21011558532714844,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1191.022592,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.014164992332458496,
0.013829119682312012,
0.0138854398727417,
0.013789183616638183,
0.013776896476745605,
0.01387007999420166,
0.014123007774353028,
0.014071807861328126,
0.013941727638244628,
0.014058496475219727,
0.014045184135437011,
0.014164992332458496,
0.014367744445800782,
0.014419967651367188,
0.01431446361541748,
0.014577664375305176,
0.013796352386474609,
0.013823967933654785,
0.013997056007385255,
0.013799424171447755,
0.01415782356262207,
0.014111743927001954,
0.014560256004333496,
0.013914112091064454,
0.013845503807067871,
0.013902848243713378,
0.013821951866149903,
0.01380352020263672,
0.013766655921936035,
0.013708288192749024,
0.013790207862854004,
0.014256128311157227,
0.014381055831909179,
0.014560256004333496,
0.01455513572692871,
0.014127103805541993,
0.013933568000793458,
0.01386905574798584,
0.013881343841552735,
0.01386905574798584,
0.013941760063171387,
0.013847552299499511,
0.013821951866149903,
0.013815808296203613,
0.013873215675354003,
0.013825023651123047,
0.013832192420959472,
0.013783040046691895,
0.013854720115661622,
0.013802432060241699,
0.013801471710205078,
0.013839360237121581,
0.013867008209228515,
0.013600768089294434,
0.013317119598388672,
0.013280256271362305,
0.01334169578552246,
0.013263872146606445,
0.013775839805603027,
0.013884415626525879,
0.013850624084472657,
0.01417420768737793,
0.013931520462036133,
0.013848544120788574,
0.013752320289611816,
0.013819904327392578,
0.013894656181335448,
0.013859840393066406,
0.013849568367004395,
0.013810720443725586,
0.013828096389770507,
0.013827072143554688
],
"count": 72,
"total": 1.0024497623443602,
"mean": 0.013922913365893892,
"p50": 0.013857280254364014,
"p90": 0.014308630084991454,
"p95": 0.014480793285369874,
"p99": 0.014565304431915284,
"stdev": 0.00026552468740160764,
"stdev_": 1.907105793332358
},
"throughput": {
"unit": "samples/s",
"value": 71.82404815141913
},
"energy": {
"unit": "kWh",
"cpu": 1.6195492899774928e-07,
"ram": 8.840322049043706e-08,
"gpu": 3.451954713513706e-07,
"total": 5.955536208395569e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1679109.932352173
}
}
}
}