IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d4fffdb verified
raw
history blame
7.88 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.0",
"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.527936,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 0.998003776550293,
"mean": 0.013861163563198513,
"stdev": 0.0006246735784352315,
"p50": 0.013868031978607177,
"p90": 0.014777651405334474,
"p95": 0.015252582693099976,
"p99": 0.015793869161605835,
"values": [
0.015244288444519043,
0.01603379249572754,
0.01569587230682373,
0.015694848060607912,
0.015262720108032226,
0.015213567733764649,
0.014815232276916505,
0.015013855934143066,
0.013454336166381836,
0.013370368003845215,
0.013210783958435059,
0.013239295959472656,
0.013301759719848634,
0.013288448333740235,
0.013129695892333985,
0.013264896392822266,
0.013399040222167969,
0.013381631851196289,
0.013368320465087891,
0.013373439788818359,
0.013362175941467285,
0.013416447639465333,
0.01336723232269287,
0.013365216255187988,
0.013452287673950195,
0.01338368034362793,
0.013421567916870117,
0.013398015975952148,
0.013379584312438965,
0.013540384292602538,
0.013355008125305176,
0.013462528228759766,
0.013426624298095702,
0.013363264083862304,
0.01338368034362793,
0.013321215629577637,
0.013446144104003906,
0.013480959892272949,
0.013475839614868163,
0.01349728012084961,
0.013454303741455079,
0.013817855834960938,
0.014030847549438476,
0.013965312004089356,
0.014027775764465332,
0.014035008430480956,
0.014034943580627441,
0.014003199577331543,
0.014034943580627441,
0.014018560409545898,
0.014032896041870118,
0.014114815711975098,
0.013991999626159667,
0.014005248069763183,
0.01399295997619629,
0.014005248069763183,
0.014439423561096192,
0.013999103546142578,
0.013912063598632812,
0.013940735816955567,
0.013940735816955567,
0.013927424430847168,
0.013955072402954101,
0.01391107177734375,
0.013939680099487305,
0.013913087844848633,
0.013884415626525879,
0.013991935729980469,
0.013920224189758301,
0.014033920288085937,
0.01382198429107666,
0.013851648330688476
]
},
"throughput": {
"unit": "samples/s",
"value": 72.14401557564814
},
"energy": {
"unit": "kWh",
"cpu": 1.676801854455975e-07,
"ram": 9.126176298874705e-08,
"gpu": 3.5294629174648144e-07,
"total": 6.11888240180826e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1634285.3716300852
}
}
}
}