IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
b7c5f47 verified
raw
history blame
8.91 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.224-212.876.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.44.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 796.643328,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.0056689453125,
"mean": 8.0056689453125,
"stdev": 0.0,
"p50": 8.0056689453125,
"p90": 8.0056689453125,
"p95": 8.0056689453125,
"p99": 8.0056689453125,
"values": [
8.0056689453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3759434104097942e-06,
"ram": 1.2798351535533043e-06,
"gpu": 3.0802802420126785e-06,
"total": 6.736058805975776e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1185.701888,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0079919357299805,
"mean": 0.01460857877869537,
"stdev": 0.0007243169542479071,
"p50": 0.014842880249023438,
"p90": 0.015192882919311524,
"p95": 0.015409766578674315,
"p99": 0.016375848846435545,
"values": [
0.01660006332397461,
0.016270336151123048,
0.01569382381439209,
0.014985216140747071,
0.014854144096374512,
0.014883839607238769,
0.014765055656433105,
0.01480294418334961,
0.015054847717285156,
0.015048704147338866,
0.014823424339294433,
0.015007743835449219,
0.015009792327880859,
0.015056896209716796,
0.01489305591583252,
0.015187968254089355,
0.014921728134155274,
0.014806015968322754,
0.014923775672912597,
0.014842880249023438,
0.015313920021057128,
0.015248448371887206,
0.01518899154663086,
0.015153152465820312,
0.01487564754486084,
0.015040512084960938,
0.014849023818969726,
0.014823424339294433,
0.014847999572753906,
0.015108096122741698,
0.015044608116149903,
0.014882816314697265,
0.01479475212097168,
0.014904319763183594,
0.015473664283752442,
0.01520844841003418,
0.015010815620422363,
0.014849023818969726,
0.015044608116149903,
0.01479475212097168,
0.014741503715515136,
0.014809120178222656,
0.014740480422973632,
0.014839808464050292,
0.014717951774597168,
0.014940159797668457,
0.01485209560394287,
0.01466163158416748,
0.014629887580871583,
0.014655488014221191,
0.014334976196289062,
0.013587455749511718,
0.013510687828063965,
0.013537280082702637,
0.013529088020324707,
0.01349836826324463,
0.013464544296264648,
0.013487104415893555,
0.013479935646057128,
0.013487104415893555,
0.01345740795135498,
0.013450240135192871,
0.013530112266540528,
0.013533184051513672,
0.013532159805297851,
0.013553664207458497,
0.013506591796875,
0.01353932762145996,
0.013495295524597169
]
},
"throughput": {
"unit": "samples/s",
"value": 68.45292859414664
},
"energy": {
"unit": "kWh",
"cpu": 1.6842888573915156e-07,
"ram": 9.198475973694545e-08,
"gpu": 3.3075143830933643e-07,
"total": 5.911650837854335e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1691574.8704180156
}
}
}
}