IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f3e88a2 verified
raw
history blame
7.87 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.855616,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 72,
"total": 1.0043461122512818,
"mean": 0.013949251559045577,
"stdev": 0.0010099817275190685,
"p50": 0.013857792377471922,
"p90": 0.014010937213897704,
"p95": 0.01457136631011963,
"p99": 0.018982235870361342,
"values": [
0.02061516761779785,
0.018315263748168945,
0.015423487663269043,
0.01377996826171875,
0.013422592163085938,
0.013768704414367675,
0.013455360412597657,
0.01340828800201416,
0.013373408317565918,
0.01335091209411621,
0.013345791816711425,
0.013435903549194337,
0.013378560066223144,
0.01333350372314453,
0.013393919944763183,
0.013362144470214844,
0.013414400100708008,
0.013339648246765137,
0.013326335906982421,
0.013337599754333495,
0.0133918399810791,
0.013466624259948731,
0.014792703628540039,
0.014022656440734863,
0.013950912475585938,
0.01395404815673828,
0.013922304153442382,
0.013925375938415528,
0.013900799751281738,
0.01388646411895752,
0.01387007999420166,
0.01387929630279541,
0.013859840393066406,
0.013845503807067871,
0.013883328437805176,
0.013972479820251465,
0.014011455535888671,
0.013864895820617677,
0.01387724781036377,
0.013855744361877441,
0.01389568042755127,
0.013830143928527832,
0.013848575592041015,
0.013824000358581542,
0.013827072143554688,
0.013848575592041015,
0.013826016426086427,
0.01396735954284668,
0.014006272315979004,
0.013966336250305175,
0.013910016059875489,
0.013925375938415528,
0.013853695869445801,
0.013724672317504882,
0.013692895889282226,
0.013722623825073242,
0.01439027214050293,
0.01396224021911621,
0.013962207794189453,
0.013920255661010742,
0.01387724781036377,
0.013705216407775878,
0.013262847900390624,
0.013410304069519043,
0.013969408035278321,
0.013987903594970702,
0.014277631759643555,
0.013765631675720215,
0.013757439613342285,
0.013868000030517578,
0.013940735816955567,
0.013904895782470703
]
},
"throughput": {
"unit": "samples/s",
"value": 71.68843401863641
},
"energy": {
"unit": "kWh",
"cpu": 1.583939658270942e-07,
"ram": 8.654881973052397e-08,
"gpu": 3.2410396298666413e-07,
"total": 5.690467485442823e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1757324.8640083945
}
}
}
}