IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
25d93c0 verified
raw
history blame
7.74 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.470592,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 69,
"total": 0.9999452829360963,
"mean": 0.014491960622262264,
"stdev": 0.00045205445541745474,
"p50": 0.014475263595581055,
"p90": 0.014981145858764647,
"p95": 0.015436614418029782,
"p99": 0.015981363563537593,
"values": [
0.015691807746887207,
0.01620070457458496,
0.01587814426422119,
0.015696895599365233,
0.015053824424743652,
0.014575615882873535,
0.01448755168914795,
0.014504960060119629,
0.014573568344116212,
0.01476921558380127,
0.014623744010925293,
0.014621696472167968,
0.014708736419677734,
0.014226431846618653,
0.013994015693664551,
0.014362624168395996,
0.014486528396606446,
0.014547967910766601,
0.014521344184875488,
0.014586848258972168,
0.014869503974914551,
0.015017984390258789,
0.014578687667846679,
0.014788607597351074,
0.014669856071472169,
0.014493663787841797,
0.014475263595581055,
0.014402560234069824,
0.014971936225891113,
0.014544896125793457,
0.014526464462280274,
0.014561280250549317,
0.014799872398376464,
0.015040512084960938,
0.014364671707153321,
0.014707712173461914,
0.014855168342590331,
0.014417920112609863,
0.01468723201751709,
0.0144650239944458,
0.014337023735046387,
0.014363648414611817,
0.014155776023864745,
0.01459404754638672,
0.014353407859802245,
0.014423040390014649,
0.01426636791229248,
0.014345215797424317,
0.014128128051757812,
0.014033920288085937,
0.0140830717086792,
0.01427455997467041,
0.014012415885925293,
0.01408614444732666,
0.014172160148620605,
0.01400115203857422,
0.014542847633361817,
0.013991935729980469,
0.014013440132141113,
0.013970368385314942,
0.01397760009765625,
0.014051327705383301,
0.01408614444732666,
0.01415167999267578,
0.014110719680786133,
0.01397555160522461,
0.014064640045166015,
0.013969408035278321,
0.014058496475219727
]
},
"throughput": {
"unit": "samples/s",
"value": 69.0037756840037
},
"energy": {
"unit": "kWh",
"cpu": 1.626495493057112e-07,
"ram": 8.884666877336663e-08,
"gpu": 3.339157922465949e-07,
"total": 5.854120103256727e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1708198.6402084343
}
}
}
}