IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
3f108c2 verified
raw
history blame
7.87 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.224832,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0097571849822997,
"mean": 0.014024405346976385,
"stdev": 0.000938240487369336,
"p50": 0.013922815799713134,
"p90": 0.014313983631134033,
"p95": 0.014478028917312622,
"p99": 0.018294865283966084,
"values": [
0.02060905647277832,
0.017349632263183593,
0.015150079727172852,
0.014049280166625976,
0.013965312004089356,
0.014000160217285156,
0.01389574432373047,
0.013902848243713378,
0.01397766399383545,
0.014003168106079102,
0.013989824295043946,
0.013896703720092773,
0.014089183807373047,
0.014061535835266113,
0.014003199577331543,
0.014013440132141113,
0.014025728225708007,
0.013808544158935548,
0.013881343841552735,
0.013910016059875489,
0.014104576110839843,
0.01429094409942627,
0.014142560005187989,
0.013936639785766602,
0.014111743927001954,
0.014002176284790039,
0.013963264465332031,
0.01395199966430664,
0.014050304412841797,
0.01408409595489502,
0.013894656181335448,
0.013925375938415528,
0.013900799751281738,
0.014190688133239746,
0.014316543579101563,
0.014234623908996581,
0.01399500846862793,
0.013958144187927245,
0.013851648330688476,
0.013766655921936035,
0.013857791900634766,
0.01376972770690918,
0.014102527618408203,
0.014320639610290528,
0.014466048240661621,
0.014460927963256836,
0.014120960235595703,
0.013920255661010742,
0.013810688018798829,
0.013848575592041015,
0.013682687759399414,
0.014492671966552734,
0.01367347240447998,
0.01358233642578125,
0.013540351867675781,
0.013454336166381836,
0.013881343841552735,
0.013446144104003906,
0.013449151992797852,
0.013436927795410156,
0.013413375854492187,
0.013416447639465333,
0.013421567916870117,
0.013497344017028809,
0.0133887996673584,
0.013415424346923829,
0.013469696044921875,
0.013445119857788086,
0.013399040222167969,
0.013472767829895019,
0.013423616409301758,
0.013421504020690918
]
},
"throughput": {
"unit": "samples/s",
"value": 71.30427103745947
},
"energy": {
"unit": "kWh",
"cpu": 1.6597857307872657e-07,
"ram": 9.074012665829893e-08,
"gpu": 3.3626184308332627e-07,
"total": 5.929805428203518e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1686395.973877608
}
}
}
}