IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
98fb313 verified
raw
history blame
8.96 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 751.415296,
"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.43728125,
"mean": 7.43728125,
"stdev": 0.0,
"p50": 7.43728125,
"p90": 7.43728125,
"p95": 7.43728125,
"p99": 7.43728125,
"values": [
7.43728125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0802371270834498e-06,
"ram": 5.764846340794437e-07,
"gpu": 1.6552791020007715e-06,
"total": 3.3120008631636646e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1034.416128,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.0078319044113158,
"mean": 0.014194815555088957,
"stdev": 0.00043228313594642214,
"p50": 0.014206975936889648,
"p90": 0.014607359886169433,
"p95": 0.014850064277648926,
"p99": 0.015673855590820313,
"values": [
0.015935487747192383,
0.015561727523803711,
0.014976032257080078,
0.01435324764251709,
0.014486528396606446,
0.014255104064941406,
0.014408703804016113,
0.014451807975769042,
0.014408703804016113,
0.014432255744934081,
0.01426643180847168,
0.014507007598876954,
0.014499839782714843,
0.014332927703857423,
0.014530559539794922,
0.01427353572845459,
0.013511679649353027,
0.01346457576751709,
0.013826047897338867,
0.014236672401428223,
0.014622719764709472,
0.014724096298217774,
0.014206975936889648,
0.014426112174987793,
0.014381055831909179,
0.013944831848144532,
0.014129088401794434,
0.014607359886169433,
0.014566399574279786,
0.01416806411743164,
0.014427136421203614,
0.014229439735412597,
0.014057472229003906,
0.014667776107788086,
0.014515199661254884,
0.014394368171691894,
0.014246912002563476,
0.01367347240447998,
0.01381772804260254,
0.014381055831909179,
0.014219264030456542,
0.014041152000427246,
0.014180288314819336,
0.014031904220581055,
0.014121983528137207,
0.01427353572845459,
0.01445894432067871,
0.014042112350463867,
0.014042112350463867,
0.014065664291381836,
0.013727871894836426,
0.013719552040100098,
0.013748224258422852,
0.013836288452148437,
0.01379532814025879,
0.01368166446685791,
0.013892607688903809,
0.013714431762695312,
0.013719552040100098,
0.014990336418151855,
0.014064640045166015,
0.013761504173278809,
0.014322688102722168,
0.013942784309387207,
0.013723520278930664,
0.013752320289611816,
0.01378713607788086,
0.014102527618408203,
0.013841407775878906,
0.013675519943237305,
0.013648896217346192
]
},
"throughput": {
"unit": "samples/s",
"value": 70.44825599311798
},
"energy": {
"unit": "kWh",
"cpu": 1.628953049181898e-07,
"ram": 8.905495603865055e-08,
"gpu": 3.349698265753412e-07,
"total": 5.869200875321816e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1703809.4644275892
}
}
}
}