IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
52c8c2d verified
raw
history blame
9.12 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.243264,
"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.41433349609375,
"mean": 7.41433349609375,
"stdev": 0.0,
"p50": 7.41433349609375,
"p90": 7.41433349609375,
"p95": 7.41433349609375,
"p99": 7.41433349609375,
"values": [
7.41433349609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0938134687498924e-06,
"ram": 5.83404255419614e-07,
"gpu": 1.5608345819992722e-06,
"total": 3.2380523061687785e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1034.264576,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 74,
"total": 1.0110568618774418,
"mean": 0.01366293056591137,
"stdev": 0.0005122576824816858,
"p50": 0.013656064033508301,
"p90": 0.013968998718261719,
"p95": 0.01502315511703491,
"p99": 0.01545294804573059,
"values": [
0.015316991806030274,
0.015565823554992676,
0.015251456260681152,
0.015411199569702149,
0.013619199752807617,
0.013288448333740235,
0.013381631851196289,
0.013286399841308593,
0.013288448333740235,
0.013241344451904297,
0.013325311660766602,
0.01348198413848877,
0.01333350372314453,
0.013233152389526368,
0.013279232025146484,
0.01335091209411621,
0.013629440307617188,
0.013748224258422852,
0.01376153564453125,
0.013791232109069825,
0.013717503547668456,
0.013800448417663574,
0.013790271759033202,
0.013733887672424316,
0.013777855873107911,
0.013314047813415527,
0.013242367744445802,
0.013703167915344238,
0.013700096130371094,
0.0140830717086792,
0.014900223731994629,
0.014194687843322755,
0.01387724781036377,
0.013851648330688476,
0.01381379222869873,
0.013798463821411132,
0.01375641632080078,
0.01377996826171875,
0.01358950424194336,
0.01324339199066162,
0.013362175941467285,
0.013792287826538087,
0.013755392074584961,
0.013798399925231934,
0.013396032333374023,
0.013246463775634766,
0.013207551956176757,
0.013232128143310547,
0.013261823654174805,
0.013731840133666993,
0.013891584396362304,
0.013851648330688476,
0.01376153564453125,
0.013495295524597169,
0.013726719856262207,
0.014002176284790039,
0.013682687759399414,
0.013297663688659669,
0.013720576286315917,
0.013743103981018067,
0.013830143928527832,
0.01355673599243164,
0.01311952018737793,
0.013150208473205567,
0.013175807952880859,
0.013438976287841797,
0.013764543533325195,
0.013435903549194337,
0.013212736129760743,
0.01323519992828369,
0.013253631591796875,
0.013239295959472656,
0.013175807952880859,
0.01325772762298584
]
},
"throughput": {
"unit": "samples/s",
"value": 73.19074009605026
},
"energy": {
"unit": "kWh",
"cpu": 1.5836537787037672e-07,
"ram": 8.643299113425385e-08,
"gpu": 3.31666931999997e-07,
"total": 5.764653010046275e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1734709.7878350404
}
}
}
}