IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
b6de42c verified
raw
history blame
9.13 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 750.501888,
"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.39849951171875,
"mean": 7.39849951171875,
"stdev": 0.0,
"p50": 7.39849951171875,
"p90": 7.39849951171875,
"p95": 7.39849951171875,
"p99": 7.39849951171875,
"values": [
7.39849951171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1560554506937297e-06,
"ram": 5.914920905689819e-07,
"gpu": 1.6338901959993962e-06,
"total": 3.381437737262108e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1033.539584,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0113340473175048,
"mean": 0.013666676315101418,
"stdev": 0.0003348392596776712,
"p50": 0.013616640090942383,
"p90": 0.013874278450012207,
"p95": 0.01418229780197143,
"p99": 0.014985473260879515,
"values": [
0.014947327613830566,
0.01467084789276123,
0.014739456176757813,
0.013422592163085938,
0.013218815803527833,
0.013095935821533204,
0.013108223915100097,
0.01306726360321045,
0.013121503829956055,
0.01306112003326416,
0.013455360412597657,
0.013676544189453126,
0.013634559631347656,
0.013602815628051757,
0.013691904067993164,
0.013595647811889648,
0.013636608123779297,
0.01367142391204834,
0.013690879821777344,
0.013610976219177246,
0.013604864120483399,
0.013616127967834473,
0.013575136184692383,
0.01364684772491455,
0.013594623565673827,
0.013624320030212403,
0.01354854393005371,
0.013815808296203613,
0.013594623565673827,
0.013578240394592284,
0.013577216148376465,
0.01365401554107666,
0.013755392074584961,
0.013623295783996582,
0.013567999839782715,
0.013651968002319336,
0.013587455749511718,
0.013616127967834473,
0.013561856269836426,
0.015088607788085937,
0.01365503978729248,
0.013621248245239258,
0.01358131217956543,
0.01359769630432129,
0.013591551780700683,
0.013596672058105469,
0.01359769630432129,
0.013559807777404785,
0.013581343650817871,
0.013872127532958984,
0.013728768348693847,
0.013875200271606445,
0.013919232368469238,
0.013907967567443847,
0.013675519943237305,
0.013741056442260742,
0.013641728401184081,
0.013596672058105469,
0.013661184310913087,
0.013914112091064454,
0.013726719856262207,
0.013557760238647461,
0.013637632369995116,
0.013600768089294434,
0.013643775939941406,
0.013659135818481445,
0.013617152214050294,
0.013658111572265624,
0.013613056182861329,
0.013600768089294434,
0.013586432456970214,
0.013594623565673827,
0.013674495697021484,
0.013644800186157227
]
},
"throughput": {
"unit": "samples/s",
"value": 73.17068005005862
},
"energy": {
"unit": "kWh",
"cpu": 1.6020326182430784e-07,
"ram": 8.758736850434024e-08,
"gpu": 3.4755658435135294e-07,
"total": 5.95347214680001e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1679692.0777356785
}
}
}
}