IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
6eaccb6 verified
raw
history blame
9.2 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": {},
"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,
"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": 705.531904,
"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.15669384765625,
"mean": 7.15669384765625,
"stdev": 0.0,
"p50": 7.15669384765625,
"p90": 7.15669384765625,
"p95": 7.15669384765625,
"p99": 7.15669384765625,
"values": [
7.15669384765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0540606247054208e-06,
"ram": 5.620494452602998e-07,
"gpu": 1.754445847999657e-06,
"total": 3.3705559179653775e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 987.81184,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0044241905212405,
"mean": 0.013392322540283203,
"stdev": 0.00044885281710697786,
"p50": 0.013298687934875488,
"p90": 0.013793074989318848,
"p95": 0.014447513580322265,
"p99": 0.015130890102386477,
"values": [
0.014610431671142577,
0.015358976364135742,
0.014593024253845215,
0.01386297607421875,
0.013263872146606445,
0.01324339199066162,
0.01316864013671875,
0.013314047813415527,
0.013504511833190918,
0.0132741117477417,
0.013221887588500977,
0.013420543670654296,
0.013306879997253418,
0.013277183532714844,
0.013376511573791505,
0.01326694393157959,
0.013125632286071777,
0.013137920379638672,
0.013150208473205567,
0.013181952476501465,
0.013496319770812988,
0.015050751686096191,
0.013369343757629394,
0.013186079978942871,
0.013390912055969238,
0.013197248458862304,
0.013191167831420898,
0.013112319946289062,
0.013355008125305176,
0.013132800102233886,
0.013170687675476075,
0.013210623741149903,
0.013244416236877441,
0.013585408210754395,
0.013557760238647461,
0.013285375595092774,
0.013202431678771973,
0.01328435230255127,
0.013121567726135253,
0.01303756809234619,
0.013142016410827637,
0.013000703811645508,
0.012841983795166016,
0.013697952270507812,
0.013829119682312012,
0.013928447723388672,
0.014385151863098144,
0.013739007949829102,
0.013446144104003906,
0.013346783638000488,
0.013419520378112794,
0.013304767608642578,
0.013288479804992676,
0.013480959892272949,
0.013277248382568359,
0.01337241554260254,
0.013503487586975099,
0.013386752128601074,
0.01356492805480957,
0.01339187240600586,
0.013298687934875488,
0.013277183532714844,
0.013320192337036133,
0.013287424087524414,
0.013242367744445802,
0.01334988784790039,
0.013298720359802245,
0.013316096305847168,
0.013289471626281739,
0.013337599754333495,
0.013344767570495606,
0.012733440399169921,
0.012661696434020996,
0.012660736083984376,
0.012816384315490722
]
},
"throughput": {
"unit": "samples/s",
"value": 74.66964725439276
},
"energy": {
"unit": "kWh",
"cpu": 1.5837208650730275e-07,
"ram": 8.649198190669645e-08,
"gpu": 3.696521475733336e-07,
"total": 6.145162159873328e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1627296.357661314
}
}
}
}