IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
7b2414e verified
raw
history blame
9.02 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.825664,
"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.19087109375,
"mean": 7.19087109375,
"stdev": 0.0,
"p50": 7.19087109375,
"p90": 7.19087109375,
"p95": 7.19087109375,
"p99": 7.19087109375,
"values": [
7.19087109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1150459448496502e-06,
"ram": 5.721123783307765e-07,
"gpu": 1.558612357999839e-06,
"total": 3.2457706811802657e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.162944,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 72,
"total": 0.999071647644043,
"mean": 0.013875995106167265,
"stdev": 0.0005975923546582201,
"p50": 0.013818368434906005,
"p90": 0.014377779197692871,
"p95": 0.014986291122436525,
"p99": 0.01621060546875,
"values": [
0.014375935554504395,
0.015227904319763183,
0.014433279991149902,
0.014014464378356933,
0.013757504463195801,
0.013832192420959472,
0.01390182399749756,
0.013946880340576171,
0.014024703979492188,
0.014024703979492188,
0.013849599838256836,
0.01405951976776123,
0.014051327705383301,
0.013928352355957031,
0.013908991813659668,
0.013935615539550781,
0.013902848243713378,
0.01387110424041748,
0.013804544448852539,
0.014040063858032227,
0.014788607597351074,
0.014540800094604492,
0.014055423736572266,
0.014245856285095214,
0.01397766399383545,
0.013856767654418945,
0.013859840393066406,
0.014050304412841797,
0.013623295783996582,
0.013724672317504882,
0.013618176460266113,
0.014097408294677734,
0.014253055572509766,
0.014016511917114258,
0.013750271797180176,
0.013945856094360352,
0.013797375679016113,
0.013731840133666993,
0.013725631713867188,
0.013210623741149903,
0.012973055839538575,
0.014377984046936035,
0.01620377540588379,
0.016227327346801757,
0.01577881622314453,
0.01387724781036377,
0.01395199966430664,
0.013533184051513672,
0.013402112007141113,
0.013430784225463867,
0.013371392250061035,
0.013344767570495606,
0.013394944190979004,
0.013402112007141113,
0.013394880294799804,
0.013396991729736327,
0.013364224433898926,
0.013628416061401367,
0.01340006446838379,
0.013373439788818359,
0.013411328315734864,
0.013369343757629394,
0.013409279823303222,
0.013420543670654296,
0.01334988784790039,
0.013384703636169434,
0.013426688194274903,
0.01377280044555664,
0.013480992317199706,
0.01337446403503418,
0.013733887672424316,
0.013348863601684571
]
},
"throughput": {
"unit": "samples/s",
"value": 72.06690347963183
},
"energy": {
"unit": "kWh",
"cpu": 1.599110320762352e-07,
"ram": 8.743048964282329e-08,
"gpu": 3.2377433309328336e-07,
"total": 5.711158548123418e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1750958.2190264736
}
}
}
}