IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
45cb67d verified
raw
history blame
7.89 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": "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": {},
"hub_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,
"latency": true,
"memory": 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.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.224256,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 71,
"total": 1.001165760040283,
"mean": 0.014100926197750469,
"stdev": 0.000267251572196526,
"p50": 0.014013440132141113,
"p90": 0.01439948844909668,
"p95": 0.014635488033294678,
"p99": 0.01502689266204834,
"values": [
0.014916607856750488,
0.01518387222290039,
0.01495961570739746,
0.014659520149230956,
0.014053376197814941,
0.013930496215820312,
0.013848575592041015,
0.014267359733581543,
0.013974528312683105,
0.014062591552734375,
0.014181376457214356,
0.014131168365478515,
0.01395199966430664,
0.01396735954284668,
0.013813759803771973,
0.013964287757873535,
0.013919232368469238,
0.014219264030456542,
0.014170111656188965,
0.013969408035278321,
0.0140830717086792,
0.013917183876037598,
0.01397043228149414,
0.014099488258361817,
0.014004223823547364,
0.013883392333984374,
0.0140830717086792,
0.01426636791229248,
0.014097408294677734,
0.013918208122253419,
0.014027775764465332,
0.013814784049987794,
0.013974528312683105,
0.013682687759399414,
0.013612031936645508,
0.013897727966308594,
0.014492735862731934,
0.014599167823791503,
0.01439948844909668,
0.014337023735046387,
0.014611455917358398,
0.01420691204071045,
0.014005248069763183,
0.014009344100952148,
0.013970368385314942,
0.014000063896179199,
0.013976608276367188,
0.014021632194519042,
0.013973504066467286,
0.014011391639709473,
0.014137344360351562,
0.014309375762939454,
0.014163968086242675,
0.014029824256896972,
0.01397760009765625,
0.014000127792358399,
0.014062591552734375,
0.01408614444732666,
0.014045184135437011,
0.014013440132141113,
0.014045184135437011,
0.013997119903564453,
0.014011391639709473,
0.013993984222412109,
0.014017536163330077,
0.014003199577331543,
0.014013440132141113,
0.013990912437438965,
0.014178367614746093,
0.01397555160522461,
0.014021632194519042
]
},
"throughput": {
"unit": "samples/s",
"value": 70.9173274135376
},
"energy": {
"unit": "kWh",
"cpu": 1.6926591151943416e-07,
"ram": 9.238919925099359e-08,
"gpu": 3.5110356726760633e-07,
"total": 6.127586780380341e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1631963.8315068134
}
}
}
}