IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
0d79389 verified
raw
history blame
8.96 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.6.0.dev20240917+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": 810.647552,
"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.5339462890625,
"mean": 8.5339462890625,
"stdev": 0.0,
"p50": 8.5339462890625,
"p90": 8.5339462890625,
"p95": 8.5339462890625,
"p99": 8.5339462890625,
"values": [
8.5339462890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.491593944441472e-07,
"ram": 5.003901503139403e-07,
"gpu": 1.667223556003905e-06,
"total": 3.1167731007619927e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1197.899776,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0121186580657962,
"mean": 0.014458837972368513,
"stdev": 0.0005042664629949893,
"p50": 0.014492671966552734,
"p90": 0.014622208213806153,
"p95": 0.015317299127578734,
"p99": 0.01637127145767212,
"values": [
0.016545791625976563,
0.016292863845825196,
0.015917056083679198,
0.01572556781768799,
0.014105600357055664,
0.013846528053283692,
0.013783040046691895,
0.013873184204101562,
0.013747200012207032,
0.013807711601257324,
0.01379532814025879,
0.013724736213684082,
0.013791232109069825,
0.013791232109069825,
0.01378713607788086,
0.013727744102478028,
0.014298111915588378,
0.014426048278808595,
0.014455807685852052,
0.014455807685852052,
0.014620672225952149,
0.014478272438049316,
0.014518272399902344,
0.01417728042602539,
0.01392131233215332,
0.013876223564147949,
0.014263296127319336,
0.014511199951171875,
0.014347264289855957,
0.01427353572845459,
0.014466048240661621,
0.014533663749694824,
0.014533632278442383,
0.01448960018157959,
0.014530559539794922,
0.014501888275146485,
0.014566399574279786,
0.014569472312927247,
0.014516223907470703,
0.014561280250549317,
0.014532447814941406,
0.01446399974822998,
0.014578720092773438,
0.014501888275146485,
0.014491647720336913,
0.014545920372009278,
0.01447321605682373,
0.01452025604248047,
0.014513152122497559,
0.014524415969848633,
0.01452236843109131,
0.014538751602172852,
0.014511103630065919,
0.014589952468872071,
0.014653440475463866,
0.01457254409790039,
0.014536704063415527,
0.014493696212768555,
0.01457049560546875,
0.014611455917358398,
0.014636032104492188,
0.014474240303039551,
0.014466143608093262,
0.014606335639953612,
0.014818304061889649,
0.01448857593536377,
0.014428159713745118,
0.014423040390014649,
0.01447321605682373,
0.014404607772827148
]
},
"throughput": {
"unit": "samples/s",
"value": 69.16185117441974
},
"energy": {
"unit": "kWh",
"cpu": 1.7004712120031702e-07,
"ram": 9.286551879454572e-08,
"gpu": 3.431828142287057e-07,
"total": 6.060954542235685e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1649905.131331233
}
}
}
}