IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
ffccf3b 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.224-212.876.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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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.917184,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.01407177734375,
"mean": 8.01407177734375,
"stdev": 0.0,
"p50": 8.01407177734375,
"p90": 8.01407177734375,
"p95": 8.01407177734375,
"p99": 8.01407177734375,
"values": [
8.01407177734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4038666895787884e-06,
"ram": 1.2984701142261963e-06,
"gpu": 3.286947074004204e-06,
"total": 6.989283877809188e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.56672,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 0.9983485450744628,
"mean": 0.013865952014923097,
"stdev": 0.0006044894030531755,
"p50": 0.01383833599090576,
"p90": 0.014479564666748046,
"p95": 0.015341721487045289,
"p99": 0.01596775012016297,
"values": [
0.01625497627258301,
0.01585043239593506,
0.015329279899597169,
0.013635583877563476,
0.013475839614868163,
0.013396991729736327,
0.013401087760925292,
0.013361151695251466,
0.013434880256652832,
0.013412351608276368,
0.0132741117477417,
0.013402112007141113,
0.01386291217803955,
0.014012415885925293,
0.01409126377105713,
0.01420083236694336,
0.014235648155212402,
0.014125056266784668,
0.014096384048461913,
0.01407590389251709,
0.013813759803771973,
0.013450240135192871,
0.013659135818481445,
0.01349120044708252,
0.013386688232421874,
0.013384672164916992,
0.013447168350219727,
0.013373439788818359,
0.013411328315734864,
0.013497344017028809,
0.01340006446838379,
0.013407232284545899,
0.01338265609741211,
0.013394944190979004,
0.013368320465087891,
0.013376511573791505,
0.01337446403503418,
0.013399040222167969,
0.01337446403503418,
0.013419520378112794,
0.013353983879089355,
0.013380576133728027,
0.013371392250061035,
0.013585408210754395,
0.013458432197570801,
0.013420543670654296,
0.013344767570495606,
0.013890560150146485,
0.01450598430633545,
0.014435327529907227,
0.014328831672668458,
0.014484479904174804,
0.01451417636871338,
0.014003199577331543,
0.013949952125549316,
0.014183423995971679,
0.014039039611816406,
0.013945792198181152,
0.013997056007385255,
0.013937664031982423,
0.013933568000793458,
0.013890560150146485,
0.013889535903930664,
0.014100480079650878,
0.015459327697753907,
0.015356927871704102,
0.014134271621704102,
0.013990912437438965,
0.013905920028686524,
0.013925375938415528,
0.01387007999420166,
0.014019583702087402
]
},
"throughput": {
"unit": "samples/s",
"value": 72.11910144530715
},
"energy": {
"unit": "kWh",
"cpu": 1.673839045187039e-07,
"ram": 9.138747273524154e-08,
"gpu": 3.389008970985695e-07,
"total": 5.976722743525149e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1673157.753692598
}
}
}
}