IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
07d7e60 verified
raw
history blame
7.78 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.659008,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0021846075057983,
"mean": 0.01431692296436855,
"stdev": 0.0006945498109373569,
"p50": 0.014573567867279053,
"p90": 0.014925516510009765,
"p95": 0.01530270733833313,
"p99": 0.015944150590896607,
"values": [
0.015501312255859375,
0.01613209533691406,
0.015859711647033693,
0.015517696380615235,
0.014686207771301269,
0.014566399574279786,
0.014535679817199706,
0.014642208099365235,
0.014600192070007324,
0.014765055656433105,
0.014647295951843262,
0.014684160232543946,
0.014759936332702638,
0.01472000026702881,
0.014561280250549317,
0.014773247718811035,
0.014557184219360352,
0.01451417636871338,
0.014593024253845215,
0.014680064201354981,
0.01497804832458496,
0.014919679641723632,
0.014655488014221191,
0.014776320457458495,
0.01472000026702881,
0.014623744010925293,
0.014629887580871583,
0.014799872398376464,
0.014665727615356445,
0.014663680076599121,
0.01454694366455078,
0.01465446376800537,
0.014989312171936036,
0.015059967994689942,
0.014751744270324708,
0.0146810884475708,
0.014850048065185547,
0.01449062442779541,
0.01458073616027832,
0.014346240043640136,
0.014269439697265626,
0.014636032104492188,
0.01468723201751709,
0.014828543663024902,
0.014540767669677735,
0.01430016040802002,
0.01365401554107666,
0.013436927795410156,
0.013330431938171386,
0.01337241554260254,
0.013322239875793456,
0.013334527969360351,
0.013342656135559083,
0.013298687934875488,
0.013305855751037597,
0.013290495872497558,
0.013813759803771973,
0.013338624000549316,
0.013314016342163086,
0.013275135993957519,
0.013320192337036133,
0.013478912353515626,
0.013751296043395997,
0.013528063774108886,
0.014524415969848633,
0.013770751953125,
0.013389823913574218,
0.013428735733032226,
0.013322239875793456,
0.013297663688659669
]
},
"throughput": {
"unit": "samples/s",
"value": 69.84741082205754
},
"energy": {
"unit": "kWh",
"cpu": 1.6606086290177007e-07,
"ram": 9.079148521019911e-08,
"gpu": 3.384146225833223e-07,
"total": 5.952669706952915e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1679918.5058629524
}
}
}
}