IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d1ef06a verified
raw
history blame
7.79 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.515648,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0092306232452397,
"mean": 0.01441758033207485,
"stdev": 0.00043281803130732914,
"p50": 0.014469631671905517,
"p90": 0.014797516822814941,
"p95": 0.015288847780227661,
"p99": 0.01584938042640686,
"values": [
0.015313920021057128,
0.015992768287658693,
0.01528927993774414,
0.014533568382263183,
0.014776288032531738,
0.014534655570983887,
0.014455807685852052,
0.014361599922180175,
0.014534655570983887,
0.014725119590759277,
0.014537728309631348,
0.014548992156982422,
0.014650367736816406,
0.014739456176757813,
0.014467071533203125,
0.014560256004333496,
0.014454784393310547,
0.014499839782714843,
0.01528831958770752,
0.01448755168914795,
0.01462377643585205,
0.014896127700805664,
0.01460223960876465,
0.014525440216064453,
0.014631936073303223,
0.014531583786010742,
0.014515199661254884,
0.014474240303039551,
0.014740480422973632,
0.014414848327636719,
0.014409728050231933,
0.01447219181060791,
0.014546879768371582,
0.01578495979309082,
0.01478656005859375,
0.014486528396606446,
0.01448960018157959,
0.014337023735046387,
0.014355456352233887,
0.014321663856506347,
0.014193663597106934,
0.014403583526611329,
0.014474240303039551,
0.014929920196533204,
0.014532608032226562,
0.014476287841796874,
0.01408512020111084,
0.014196736335754395,
0.014029824256896972,
0.013910016059875489,
0.013980671882629395,
0.013893695831298828,
0.014016511917114258,
0.013957088470458984,
0.01397555160522461,
0.013900799751281738,
0.014395392417907715,
0.014152704238891601,
0.013963264465332031,
0.013875200271606445,
0.013956095695495606,
0.013889535903930664,
0.013908991813659668,
0.013959168434143066,
0.013917183876037598,
0.01386188793182373,
0.01396019172668457,
0.013910016059875489,
0.013896703720092773,
0.013929471969604493
]
},
"throughput": {
"unit": "samples/s",
"value": 69.3597661304717
},
"energy": {
"unit": "kWh",
"cpu": 1.6292014259907392e-07,
"ram": 8.888658838707806e-08,
"gpu": 3.4823467736985594e-07,
"total": 6.000414083560079e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1666551.6513931893
}
}
}
}