IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f0d10d4 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.285632,
"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.551232,
"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.20100537109375,
"mean": 7.20100537109375,
"stdev": 0.0,
"p50": 7.20100537109375,
"p90": 7.20100537109375,
"p95": 7.20100537109375,
"p99": 7.20100537109375,
"values": [
7.20100537109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0891454087363351e-06,
"ram": 5.751128296651586e-07,
"gpu": 1.7244458239999358e-06,
"total": 3.388704062401429e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.868032,
"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.002131485939026,
"mean": 0.013727828574507205,
"stdev": 0.0002900146018127894,
"p50": 0.013664256095886231,
"p90": 0.013950975799560547,
"p95": 0.014362214469909665,
"p99": 0.014756044807434083,
"values": [
0.014932991981506348,
0.01468723201751709,
0.014665727615356445,
0.013971455574035644,
0.013758463859558106,
0.013930496215820312,
0.013835231781005859,
0.01378713607788086,
0.01374307155609131,
0.013874176025390626,
0.01374617576599121,
0.013846528053283692,
0.013768704414367675,
0.014598143577575684,
0.01399500846862793,
0.013794303894042969,
0.013956095695495606,
0.013696063995361328,
0.01376460838317871,
0.013698047637939453,
0.013686783790588379,
0.01388646411895752,
0.013690879821777344,
0.01378713607788086,
0.013706239700317382,
0.013687775611877442,
0.01376460838317871,
0.013618176460266113,
0.013656064033508301,
0.013532159805297851,
0.013416447639465333,
0.013499391555786134,
0.013446144104003906,
0.013157376289367676,
0.013201408386230469,
0.013214719772338868,
0.013606911659240722,
0.013697024345397948,
0.013633536338806153,
0.013707263946533203,
0.013767680168151856,
0.013661184310913087,
0.013664256095886231,
0.013542400360107423,
0.013621248245239258,
0.013614144325256348,
0.013626367568969726,
0.013857791900634766,
0.013694975852966309,
0.013708288192749024,
0.013631487846374512,
0.01369600009918213,
0.013612031936645508,
0.013613056182861329,
0.013650943756103515,
0.013590527534484862,
0.013648896217346192,
0.013624320030212403,
0.01358739185333252,
0.013622271537780761,
0.013554688453674316,
0.0135730562210083,
0.013567999839782715,
0.013687871932983398,
0.013622271537780761,
0.013603839874267578,
0.013631487846374512,
0.013595647811889648,
0.013591615676879883,
0.014204928398132324,
0.013643775939941406,
0.013600768089294434,
0.01357209587097168
]
},
"throughput": {
"unit": "samples/s",
"value": 72.84473247699319
},
"energy": {
"unit": "kWh",
"cpu": 1.5526467673534268e-07,
"ram": 8.48828558495091e-08,
"gpu": 3.530846980519438e-07,
"total": 5.932322306367956e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1685680.4946800785
}
}
}
}