IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
a9c78de verified
raw
history blame
8.82 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.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.079296,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.2198783416748047
],
"count": 1,
"total": 0.2198783416748047,
"mean": 0.2198783416748047,
"p50": 0.2198783416748047,
"p90": 0.2198783416748047,
"p95": 0.2198783416748047,
"p99": 0.2198783416748047,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1190.1952,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.014258175849914552,
0.013909952163696289,
0.01376255989074707,
0.014824447631835937,
0.014798848152160645,
0.014637056350708008,
0.014657535552978516,
0.014838784217834473,
0.014842880249023438,
0.014928895950317383,
0.014919679641723632,
0.014916607856750488,
0.014856191635131836,
0.014840864181518554,
0.014616607666015625,
0.014621696472167968,
0.015041536331176757,
0.014609408378601075,
0.014557024002075196,
0.014654303550720215,
0.013985792160034179,
0.01434931182861328,
0.014105600357055664,
0.014231552124023437,
0.013796352386474609,
0.013966336250305175,
0.013855680465698243,
0.013839360237121581,
0.0137543363571167,
0.013924351692199707,
0.013734911918640137,
0.014547967910766601,
0.014640128135681153,
0.0146810884475708,
0.015527935981750488,
0.014409664154052735,
0.014143487930297852,
0.014101504325866699,
0.014236672401428223,
0.014071807861328126,
0.013798399925231934,
0.014419967651367188,
0.014022656440734863,
0.014312447547912598,
0.013940671920776367,
0.013912032127380371,
0.013816831588745117,
0.013846495628356933,
0.013996031761169434,
0.013974528312683105,
0.013935615539550781,
0.013937664031982423,
0.01394380760192871,
0.01407699203491211,
0.013807616233825683,
0.013921279907226563,
0.013917344093322754,
0.013875200271606445,
0.013890560150146485,
0.013875200271606445,
0.01380352020263672,
0.014441472053527832,
0.015229951858520508,
0.015533056259155274,
0.014304256439208985,
0.014647295951843262,
0.013911040306091308,
0.014072799682617187,
0.013849632263183594,
0.013946880340576171
],
"count": 70,
"total": 0.9999581470489503,
"mean": 0.014285116386413572,
"p50": 0.01410355234146118,
"p90": 0.014862233257293701,
"p95": 0.014990848159790038,
"p99": 0.015529523267745971,
"stdev": 0.0004517146708484755,
"stdev_": 3.162135040622397
},
"throughput": {
"unit": "samples/s",
"value": 70.0029298291955
},
"energy": {
"unit": "kWh",
"cpu": 1.6859612955792094e-07,
"ram": 9.181671857449367e-08,
"gpu": 3.419760169295865e-07,
"total": 6.023888650620011e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1660057.2454092002
}
}
}
}