IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
91f4ce7 verified
raw
history blame
9.08 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.641344,
"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.16627783203125,
"mean": 7.16627783203125,
"stdev": 0.0,
"p50": 7.16627783203125,
"p90": 7.16627783203125,
"p95": 7.16627783203125,
"p99": 7.16627783203125,
"values": [
7.16627783203125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1168107390403748e-06,
"ram": 5.655328275802654e-07,
"gpu": 1.8872237320007035e-06,
"total": 3.569567298621344e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.96224,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0082632656097414,
"mean": 0.013811825556297825,
"stdev": 0.00048790214848681233,
"p50": 0.013806591987609864,
"p90": 0.014389043235778809,
"p95": 0.01467406711578369,
"p99": 0.015160833168029787,
"values": [
0.01543887996673584,
0.015052703857421875,
0.014528512001037597,
0.014107647895812989,
0.014039039611816406,
0.013768704414367675,
0.013430784225463867,
0.013544447898864746,
0.013689855575561523,
0.01463593578338623,
0.014034943580627441,
0.014133248329162598,
0.014160896301269531,
0.014126015663146972,
0.014010496139526367,
0.014049280166625976,
0.013882368087768555,
0.013806591987609864,
0.013847488403320313,
0.014010368347167968,
0.014259327888488769,
0.014355456352233887,
0.013979647636413574,
0.014132224082946777,
0.013966336250305175,
0.014144512176513671,
0.013825023651123047,
0.013709312438964843,
0.013558783531188966,
0.013431808471679688,
0.013518848419189454,
0.013515775680541992,
0.014402560234069824,
0.014397439956665039,
0.014145536422729492,
0.013969408035278321,
0.014070783615112305,
0.013955072402954101,
0.01380352020263672,
0.013807616233825683,
0.013598560333251953,
0.013692928314208984,
0.013938719749450684,
0.013920255661010742,
0.01416710376739502,
0.014731264114379883,
0.014142463684082032,
0.013929471969604493,
0.014932991981506348,
0.013585408210754395,
0.013387776374816895,
0.013458432197570801,
0.01344921588897705,
0.013446175575256347,
0.013558783531188966,
0.013385727882385253,
0.013378560066223144,
0.01344102382659912,
0.013377535820007324,
0.013434880256652832,
0.013510656356811524,
0.013436927795410156,
0.013433856010437012,
0.013430784225463867,
0.013381631851196289,
0.01337548828125,
0.013439999580383302,
0.01338368034362793,
0.012963871955871582,
0.01293830394744873,
0.012937215805053711,
0.01291158390045166,
0.01291478443145752
]
},
"throughput": {
"unit": "samples/s",
"value": 72.40172531313405
},
"energy": {
"unit": "kWh",
"cpu": 1.5868635310067072e-07,
"ram": 8.675627466978616e-08,
"gpu": 3.4968176122668336e-07,
"total": 5.951243889971403e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1680320.9858112624
}
}
}
}