IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
dfd3291 verified
raw
history blame
7.67 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": "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",
"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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 977.063936,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 66,
"total": 1.0026833591461184,
"mean": 0.015192172108274518,
"stdev": 0.0009965503315609203,
"p50": 0.015054336071014404,
"p90": 0.01531392002105713,
"p95": 0.015557119846343993,
"p99": 0.019069594383239716,
"values": [
0.022436864852905275,
0.01704960060119629,
0.01725644874572754,
0.01518182373046875,
0.015204352378845215,
0.01529856014251709,
0.01477734375,
0.014750720024108887,
0.01511526393890381,
0.014964735984802247,
0.01481113624572754,
0.014709759712219238,
0.015096832275390625,
0.015211551666259766,
0.015211520195007324,
0.015237119674682617,
0.01518899154663086,
0.015031295776367188,
0.014808064460754394,
0.014736384391784667,
0.014754816055297852,
0.015051712036132812,
0.014891008377075195,
0.014729215621948242,
0.014722047805786133,
0.0147640323638916,
0.015211520195007324,
0.014881792068481446,
0.014713855743408203,
0.014725184440612793,
0.01508249568939209,
0.015163328170776367,
0.015242239952087403,
0.015051775932312012,
0.015150079727172852,
0.015011839866638184,
0.014987263679504394,
0.015540224075317383,
0.015444992065429687,
0.01556275177001953,
0.015329279899597169,
0.01498316764831543,
0.014747648239135743,
0.015028223991394044,
0.015172608375549316,
0.01517363166809082,
0.015119359970092774,
0.015285247802734376,
0.015071231842041016,
0.014725119590759277,
0.014723072052001953,
0.014913536071777344,
0.015262720108032226,
0.015177727699279785,
0.015144960403442383,
0.015185919761657715,
0.015256575584411621,
0.015056896209716796,
0.01475276756286621,
0.014686207771301269,
0.014686207771301269,
0.015228927612304688,
0.0149749755859375,
0.014842880249023438,
0.014608384132385254,
0.01478553581237793
]
},
"throughput": {
"unit": "samples/s",
"value": 65.82337225203915
},
"energy": {
"unit": "kWh",
"cpu": 1.8061202784580014e-07,
"ram": 9.829153210654426e-08,
"gpu": 3.6377554354546065e-07,
"total": 6.42679103497805e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1555986.4861911065
}
}
}
}