IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0b7cd6c verified
raw
history blame
9 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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 799.68256,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.07818240356445312
],
"count": 1,
"total": 0.07818240356445312,
"mean": 0.07818240356445312,
"p50": 0.07818240356445312,
"p90": 0.07818240356445312,
"p95": 0.07818240356445312,
"p99": 0.07818240356445312,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1188.74112,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.013932543754577637,
0.01397555160522461,
0.013964287757873535,
0.013903871536254882,
0.013845503807067871,
0.013945856094360352,
0.013842432022094727,
0.013891584396362304,
0.01386188793182373,
0.014111743927001954,
0.013876223564147949,
0.013851648330688476,
0.013814784049987794,
0.013837311744689941,
0.013922304153442382,
0.013884415626525879,
0.013908991813659668,
0.01389363193511963,
0.013942784309387207,
0.013946880340576171,
0.014411775588989258,
0.014575615882873535,
0.014163968086242675,
0.013985759735107422,
0.013831168174743653,
0.013996031761169434,
0.013950976371765136,
0.013414431571960449,
0.013437952041625977,
0.013328384399414063,
0.013405183792114257,
0.013437952041625977,
0.013409279823303222,
0.013791263580322266,
0.01338265609741211,
0.013398015975952148,
0.013426688194274903,
0.013392895698547362,
0.01344921588897705,
0.013414400100708008,
0.013884415626525879,
0.014279680252075195,
0.014229503631591797,
0.014221311569213867,
0.01420083236694336,
0.013988863945007325,
0.01397862434387207,
0.013890560150146485,
0.013930496215820312,
0.013857791900634766,
0.013451231956481933,
0.013423616409301758,
0.013437888145446778,
0.013423616409301758,
0.01340006446838379,
0.0134901762008667,
0.013455360412597657,
0.013401087760925292,
0.013435903549194337,
0.013434880256652832,
0.013429759979248047,
0.013410304069519043,
0.013439999580383302,
0.013414400100708008,
0.01343283176422119,
0.013387776374816895,
0.01337548828125,
0.01389568042755127,
0.013872127532958984,
0.013926400184631347,
0.013881343841552735,
0.013922304153442382,
0.013801471710205078
],
"count": 73,
"total": 1.003763647079468,
"mean": 0.013750186946294079,
"p50": 0.013851648330688476,
"p90": 0.01408860149383545,
"p95": 0.014224588394165039,
"p99": 0.014457650871276855,
"stdev": 0.0002981623134446914,
"stdev_": 2.168423706595869
},
"throughput": {
"unit": "samples/s",
"value": 72.72628393387174
},
"energy": {
"unit": "kWh",
"cpu": 1.5999063500925737e-07,
"ram": 8.734367333699322e-08,
"gpu": 3.379965666933336e-07,
"total": 5.853308750395842e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1708435.4211323175
}
}
}
}