IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
a88d802 verified
raw
history blame
9.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": {},
"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.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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.796992,
"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.16435546875,
"mean": 7.16435546875,
"stdev": 0.0,
"p50": 7.16435546875,
"p90": 7.16435546875,
"p95": 7.16435546875,
"p99": 7.16435546875,
"values": [
7.16435546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0706643263498942e-06,
"ram": 5.71086492926535e-07,
"gpu": 1.6794457879994867e-06,
"total": 3.321196607275916e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.12608,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 0.9999820156097411,
"mean": 0.013698383775475907,
"stdev": 0.00047165354923391827,
"p50": 0.013798399925231934,
"p90": 0.01400576000213623,
"p95": 0.014134476661682127,
"p99": 0.014944875831604004,
"values": [
0.014891008377075195,
0.014833663940429688,
0.01417625617980957,
0.015083392143249512,
0.01323519992828369,
0.012744704246520995,
0.012818495750427246,
0.012721152305603027,
0.013057184219360352,
0.012812288284301757,
0.012901375770568848,
0.012760928153991699,
0.012777471542358398,
0.012804096221923827,
0.013028351783752442,
0.01304576015472412,
0.012880895614624023,
0.012678175926208497,
0.013980671882629395,
0.0139683837890625,
0.013890560150146485,
0.013906944274902343,
0.014009471893310546,
0.013990912437438965,
0.013903871536254882,
0.013765631675720215,
0.01386070442199707,
0.013798399925231934,
0.013930496215820312,
0.013734911918640137,
0.013804544448852539,
0.013907967567443847,
0.013729951858520507,
0.013843392372131348,
0.013948927879333496,
0.013959168434143066,
0.013697024345397948,
0.013657088279724122,
0.013622271537780761,
0.013698047637939453,
0.0137390718460083,
0.013899776458740234,
0.013873151779174805,
0.013788160324096679,
0.013773823738098144,
0.013864959716796875,
0.013784064292907714,
0.013767680168151856,
0.014043135643005371,
0.013841407775878906,
0.013842495918273925,
0.013810688018798829,
0.013711359977722168,
0.013728672027587891,
0.013818880081176758,
0.013802432060241699,
0.014027775764465332,
0.013814784049987794,
0.01376153564453125,
0.013817855834960938,
0.013837311744689941,
0.013744128227233888,
0.013729791641235351,
0.013896703720092773,
0.013700096130371094,
0.013888511657714844,
0.013697024345397948,
0.013956031799316405,
0.01376972770690918,
0.013741056442260742,
0.013735936164855958,
0.013807616233825683,
0.014106623649597168
]
},
"throughput": {
"unit": "samples/s",
"value": 73.00131288410032
},
"energy": {
"unit": "kWh",
"cpu": 1.583337320221795e-07,
"ram": 8.635293458173061e-08,
"gpu": 3.3752619594667557e-07,
"total": 5.822128625505858e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1717584.8634108708
}
}
}
}