IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
08c8d5f verified
raw
history blame
8.99 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 708.03456,
"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.23776220703125,
"mean": 7.23776220703125,
"stdev": 0.0,
"p50": 7.23776220703125,
"p90": 7.23776220703125,
"p95": 7.23776220703125,
"p99": 7.23776220703125,
"values": [
7.23776220703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0709514220555624e-06,
"ram": 5.717328778654481e-07,
"gpu": 1.918612645999962e-06,
"total": 3.5612969459209725e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.37184,
"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.0004664611816407,
"mean": 0.014091076918051278,
"stdev": 0.00037130210834089306,
"p50": 0.014143487930297852,
"p90": 0.01447219181060791,
"p95": 0.014545392036437989,
"p99": 0.014982349205017086,
"values": [
0.015759360313415526,
0.014585856437683106,
0.0142807035446167,
0.014228480339050293,
0.014327808380126953,
0.014088191986083985,
0.014143487930297852,
0.01439129638671875,
0.014348287582397461,
0.014160896301269531,
0.01437183952331543,
0.014366687774658203,
0.014502911567687989,
0.014328831672668458,
0.014477343559265136,
0.014136320114135742,
0.01425100803375244,
0.014140416145324707,
0.014311424255371094,
0.014512096405029297,
0.014436351776123046,
0.014188544273376465,
0.014469120025634765,
0.014360575675964356,
0.014163968086242675,
0.014220288276672363,
0.01447219181060791,
0.014188544273376465,
0.014159839630126953,
0.014256128311157227,
0.014649344444274901,
0.014578687667846679,
0.01436361598968506,
0.014210047721862793,
0.014368767738342286,
0.014129152297973633,
0.014254079818725587,
0.014134271621704102,
0.01397043228149414,
0.014121983528137207,
0.01425100803375244,
0.014303232192993164,
0.014316543579101563,
0.014117888450622559,
0.013798399925231934,
0.013757439613342285,
0.013698047637939453,
0.01372879981994629,
0.01366528034210205,
0.013985792160034179,
0.013660160064697266,
0.01365503978729248,
0.01405951976776123,
0.01375334358215332,
0.013690879821777344,
0.013687871932983398,
0.013679648399353027,
0.01363865566253662,
0.013642751693725585,
0.013643775939941406,
0.013624320030212403,
0.01366323184967041,
0.01366323184967041,
0.013686783790588379,
0.013650943756103515,
0.013640671730041505,
0.01367347240447998,
0.013749247550964355,
0.013668352127075196,
0.013649920463562011,
0.013653023719787598
]
},
"throughput": {
"unit": "samples/s",
"value": 70.9668966975091
},
"energy": {
"unit": "kWh",
"cpu": 1.5692935701002155e-07,
"ram": 8.5801815572637e-08,
"gpu": 3.501684087894822e-07,
"total": 5.928995813721408e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1686626.2541216698
}
}
}
}