IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f75b8b0 verified
raw
history blame
9.15 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.846144,
"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.15452099609375,
"mean": 7.15452099609375,
"stdev": 0.0,
"p50": 7.15452099609375,
"p90": 7.15452099609375,
"p95": 7.15452099609375,
"p99": 7.15452099609375,
"values": [
7.15452099609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0589159197277495e-06,
"ram": 5.646288142766783e-07,
"gpu": 0.0,
"total": 1.623544734004428e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.195712,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0026568307876582,
"mean": 0.013368757743835448,
"stdev": 0.0005366436495086017,
"p50": 0.013310976028442383,
"p90": 0.014136115074157716,
"p95": 0.014210274982452392,
"p99": 0.014867517681121826,
"values": [
0.015004672050476075,
0.014358528137207031,
0.013670399665832519,
0.013678591728210449,
0.013974528312683105,
0.01418447971343994,
0.014156800270080566,
0.014819328308105468,
0.014131199836730958,
0.01397555160522461,
0.013958144187927245,
0.01406873607635498,
0.014140416145324707,
0.01336627197265625,
0.013418496131896973,
0.013512703895568847,
0.013184000015258789,
0.013337599754333495,
0.013252608299255371,
0.013262847900390624,
0.013560832023620606,
0.013528063774108886,
0.013470720291137696,
0.013334527969360351,
0.013351936340332032,
0.013353983879089355,
0.013220864295959473,
0.01336729621887207,
0.013532159805297851,
0.013310976028442383,
0.013246463775634766,
0.013281279563903809,
0.013433856010437012,
0.013608960151672364,
0.013763584136962891,
0.013370368003845215,
0.013296640396118165,
0.013599743843078613,
0.0132925443649292,
0.013227007865905761,
0.013096991539001466,
0.012923904418945312,
0.013416447639465333,
0.013914112091064454,
0.014054400444030762,
0.014139391899108887,
0.013949952125549316,
0.01386905574798584,
0.014270463943481445,
0.013180928230285644,
0.012824576377868652,
0.012817407608032226,
0.012803071975708008,
0.012993535995483398,
0.013041664123535156,
0.012781567573547363,
0.012736512184143066,
0.012978176116943359,
0.012749823570251465,
0.012744704246520995,
0.0127457275390625,
0.012755968093872071,
0.012801024436950683,
0.012759039878845215,
0.012976127624511719,
0.012807168006896973,
0.01274060821533203,
0.012786687850952149,
0.012759039878845215,
0.012758015632629394,
0.012755968093872071,
0.012749823570251465,
0.012774399757385254,
0.012809215545654297,
0.012783616065979005
]
},
"throughput": {
"unit": "samples/s",
"value": 74.80126569434742
},
"energy": {
"unit": "kWh",
"cpu": 1.5706205359327865e-07,
"ram": 8.58547743185742e-08,
"gpu": 3.4365890065788724e-07,
"total": 5.865757285697399e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1704809.7138937563
}
}
}
}