IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
9edc6b2 verified
raw
history blame
8.95 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.223-212.873.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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.317184,
"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.40931884765625,
"mean": 7.40931884765625,
"stdev": 0.0,
"p50": 7.40931884765625,
"p90": 7.40931884765625,
"p95": 7.40931884765625,
"p99": 7.40931884765625,
"values": [
7.40931884765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1555272937501275e-06,
"ram": 6.170384011982001e-07,
"gpu": 1.5494456840009843e-06,
"total": 3.3220113789493123e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.445952,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.000931423187256,
"mean": 0.014299020331246514,
"stdev": 0.0003778664958946412,
"p50": 0.01418344020843506,
"p90": 0.014742118549346924,
"p95": 0.01496780776977539,
"p99": 0.015767346868515015,
"values": [
0.015646719932556154,
0.015342592239379883,
0.01496780776977539,
0.01420902442932129,
0.014219264030456542,
0.014130175590515137,
0.0140830717086792,
0.014217215538024902,
0.014304256439208985,
0.014238719940185546,
0.014167039871215821,
0.014361599922180175,
0.014240768432617188,
0.014292991638183594,
0.014243840217590332,
0.014236672401428223,
0.014058496475219727,
0.014089216232299804,
0.014320639610290528,
0.01468723201751709,
0.014483455657958985,
0.01437388801574707,
0.014110719680786133,
0.014325759887695312,
0.014193663597106934,
0.01429196834564209,
0.014072832107543945,
0.014138303756713867,
0.014404607772827148,
0.014098496437072753,
0.014087167739868164,
0.014072832107543945,
0.014478336334228516,
0.014539775848388671,
0.014449664115905762,
0.01419264030456543,
0.014128128051757812,
0.0142807035446167,
0.014063615798950196,
0.014120960235595703,
0.014013440132141113,
0.01389568042755127,
0.014100480079650878,
0.014735360145568848,
0.01480294418334961,
0.01496780776977539,
0.014590975761413574,
0.014229503631591797,
0.014039039611816406,
0.014112832069396973,
0.014205951690673829,
0.014049280166625976,
0.0139683198928833,
0.014105536460876466,
0.013980704307556152,
0.014137344360351562,
0.014153727531433105,
0.014132224082946777,
0.01400115203857422,
0.013963295936584472,
0.014174240112304688,
0.01415167999267578,
0.013998080253601074,
0.013989919662475587,
0.014042143821716308,
0.014018560409545898,
0.016035839080810545,
0.014881792068481446,
0.014321663856506347,
0.014167039871215821
]
},
"throughput": {
"unit": "samples/s",
"value": 69.9348610488216
},
"energy": {
"unit": "kWh",
"cpu": 1.6509047309741467e-07,
"ram": 8.989739759100023e-08,
"gpu": 3.3027804199999085e-07,
"total": 5.852659126884059e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1708625.0511438851
}
}
}
}