IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
fb342b8 verified
raw
history blame
9.04 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.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.26592,
"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.82026025390625,
"mean": 7.82026025390625,
"stdev": 0.0,
"p50": 7.82026025390625,
"p90": 7.82026025390625,
"p95": 7.82026025390625,
"p99": 7.82026025390625,
"values": [
7.82026025390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.674078555549038e-07,
"ram": 5.148332001810996e-07,
"gpu": 1.6266679679997204e-06,
"total": 3.1089090237357237e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.394688,
"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.0071820821762083,
"mean": 0.013988640030225116,
"stdev": 0.0005202257278774503,
"p50": 0.013905407905578614,
"p90": 0.014480281257629395,
"p95": 0.014703565073013307,
"p99": 0.01599551506996155,
"values": [
0.016343040466308592,
0.0158535680770874,
0.014160896301269531,
0.013849632263183594,
0.013935615539550781,
0.013946880340576171,
0.013910016059875489,
0.013766847610473632,
0.013783040046691895,
0.013990816116333007,
0.013906944274902343,
0.013905920028686524,
0.013914112091064454,
0.01395206356048584,
0.013846528053283692,
0.013832192420959472,
0.01376153564453125,
0.013969408035278321,
0.013731840133666993,
0.01376153564453125,
0.01377996826171875,
0.013766592025756835,
0.013806591987609864,
0.014014464378356933,
0.01507532787322998,
0.014520319938659668,
0.014331904411315918,
0.014732288360595704,
0.01437183952331543,
0.014508031845092773,
0.014262271881103515,
0.014395392417907715,
0.01437491226196289,
0.013829119682312012,
0.013768704414367675,
0.01376255989074707,
0.013904895782470703,
0.014214143753051758,
0.014134271621704102,
0.014006272315979004,
0.0139716157913208,
0.013968447685241699,
0.014451711654663087,
0.01415987205505371,
0.014181280136108398,
0.014145536422729492,
0.014224479675292969,
0.014483455657958985,
0.01439846420288086,
0.014680064201354981,
0.014368767738342286,
0.01387929630279541,
0.01387110424041748,
0.01374396800994873,
0.013796352386474609,
0.013765631675720215,
0.013763584136962891,
0.013730815887451172,
0.01364684772491455,
0.01367961597442627,
0.013708288192749024,
0.013213695526123047,
0.013200480461120606,
0.013191136360168457,
0.013225983619689942,
0.013586432456970214,
0.013705216407775878,
0.013402112007141113,
0.013198335647583008,
0.013237248420715332,
0.0132925443649292,
0.013627391815185547
]
},
"throughput": {
"unit": "samples/s",
"value": 71.48657752571442
},
"energy": {
"unit": "kWh",
"cpu": 1.662951118537852e-07,
"ram": 9.07540239510079e-08,
"gpu": 3.3934440727777505e-07,
"total": 5.963935430825682e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1676745.1821012658
}
}
}
}