IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e9d7fee verified
raw
history blame
8.06 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,
"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",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 982.831104,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 74,
"total": 0.9982882900238037,
"mean": 0.013490382297618968,
"stdev": 0.00035699389510758804,
"p50": 0.013436383724212646,
"p90": 0.013837785816192627,
"p95": 0.01429652452468872,
"p99": 0.014615294561386109,
"values": [
0.01467801570892334,
0.014507871627807617,
0.014420991897583007,
0.014592096328735352,
0.014006112098693848,
0.01352188777923584,
0.013643775939941406,
0.01355673599243164,
0.013428799629211426,
0.013505536079406738,
0.013422592163085938,
0.013377599716186524,
0.013624320030212403,
0.013324288368225098,
0.013297663688659669,
0.013278240203857422,
0.013336576461791993,
0.01347379207611084,
0.013532223701477051,
0.013462528228759766,
0.013550496101379395,
0.013410304069519043,
0.013301792144775391,
0.013242400169372559,
0.01326591968536377,
0.013396991729736327,
0.013179712295532227,
0.01347481632232666,
0.013765631675720215,
0.013834112167358399,
0.013546367645263672,
0.013280256271362305,
0.013222016334533692,
0.013327360153198242,
0.013271039962768554,
0.013602815628051757,
0.014229503631591797,
0.014032896041870118,
0.013546496391296388,
0.013560832023620606,
0.013429759979248047,
0.013419520378112794,
0.013345824241638184,
0.012782591819763184,
0.012999775886535645,
0.013128704071044921,
0.012957695960998536,
0.012893183708190918,
0.01291155242919922,
0.012934240341186523,
0.012900223731994629,
0.013373439788818359,
0.013839360237121581,
0.01381987190246582,
0.013644800186157227,
0.013649920463562011,
0.013461503982543945,
0.01348300838470459,
0.013395968437194825,
0.013441056251525878,
0.013372447967529297,
0.01358028793334961,
0.013527039527893067,
0.013451264381408692,
0.013373439788818359,
0.013485024452209473,
0.01344102382659912,
0.013418496131896973,
0.013413472175598145,
0.013431743621826172,
0.013547679901123048,
0.013586496353149414,
0.013417471885681152,
0.013396991729736327
]
},
"throughput": {
"unit": "samples/s",
"value": 74.1268837263788
},
"energy": {
"unit": "kWh",
"cpu": 1.5601429115298165e-07,
"ram": 8.48876546085235e-08,
"gpu": 3.338458659220762e-07,
"total": 5.747478116835814e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1739893.5318618224
}
}
}
}