IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
63fd5d0 verified
raw
history blame
9.16 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.285632,
"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.72736,
"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.16858349609375,
"mean": 7.16858349609375,
"stdev": 0.0,
"p50": 7.16858349609375,
"p90": 7.16858349609375,
"p95": 7.16858349609375,
"p99": 7.16858349609375,
"values": [
7.16858349609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1138834887080724e-06,
"ram": 5.677403398235015e-07,
"gpu": 1.8244459039995845e-06,
"total": 3.5060697325311584e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.076928,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 75,
"total": 1.0046116476058957,
"mean": 0.013394821968078613,
"stdev": 0.0005524806071247316,
"p50": 0.013416511535644531,
"p90": 0.013986201667785645,
"p95": 0.01424424934387207,
"p99": 0.01498212345123291,
"values": [
0.014881792068481446,
0.014936063766479492,
0.014500864028930664,
0.014025728225708007,
0.013802432060241699,
0.01345740795135498,
0.013396991729736327,
0.013355039596557617,
0.01376153564453125,
0.013453311920166015,
0.013686783790588379,
0.013416511535644531,
0.01337452793121338,
0.013751296043395997,
0.013771776199340821,
0.013716480255126954,
0.013584383964538574,
0.013249567985534668,
0.013505536079406738,
0.013466624259948731,
0.014038016319274902,
0.013998080253601074,
0.013708224296569824,
0.0139683837890625,
0.013750271797180176,
0.013786111831665039,
0.01388748836517334,
0.013888511657714844,
0.013709312438964843,
0.013668352127075196,
0.01363046360015869,
0.013614080429077148,
0.014134271621704102,
0.015113216400146484,
0.013723584175109863,
0.013453311920166015,
0.013707263946533203,
0.01318297576904297,
0.013217791557312012,
0.01345638370513916,
0.013147135734558106,
0.013346816062927246,
0.013594623565673827,
0.013698047637939453,
0.013921279907226563,
0.013554688453674316,
0.01316864013671875,
0.013196288108825683,
0.013148159980773925,
0.013209600448608399,
0.012816384315490722,
0.012786687850952149,
0.012834815979003907,
0.012901375770568848,
0.012786687850952149,
0.012821536064147949,
0.012767231941223145,
0.012829695701599121,
0.012932095527648926,
0.01277337646484375,
0.012802047729492188,
0.012760064125061036,
0.013040639877319337,
0.012818431854248047,
0.01274880027770996,
0.012788736343383789,
0.01274675178527832,
0.012769311904907226,
0.012860416412353515,
0.012760064125061036,
0.012703743934631348,
0.012737536430358886,
0.012649472236633302,
0.012700672149658204,
0.012759039878845215
]
},
"throughput": {
"unit": "samples/s",
"value": 74.6557141545527
},
"energy": {
"unit": "kWh",
"cpu": 1.521554555308785e-07,
"ram": 8.316272652823733e-08,
"gpu": 3.503029867948868e-07,
"total": 5.856211688540026e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1707588.5456068674
}
}
}
}