IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
b5d27f2 verified
raw
history blame
7.85 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",
"model": "microsoft/deberta-v3-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.03232,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0104441928863526,
"mean": 0.014434917041233609,
"stdev": 0.0011847663766733237,
"p50": 0.014269440174102782,
"p90": 0.014836230754852294,
"p95": 0.015285657644271849,
"p99": 0.020519401321411133,
"values": [
0.020625408172607423,
0.02047177505493164,
0.017039295196533202,
0.014835712432861328,
0.014485504150390625,
0.01407590389251709,
0.013957119941711426,
0.01387110424041748,
0.014381055831909179,
0.014712832450866698,
0.014723072052001953,
0.01457151985168457,
0.014660608291625977,
0.014740480422973632,
0.014690303802490234,
0.014644288063049316,
0.014636032104492188,
0.014461952209472656,
0.014537759780883789,
0.014508031845092773,
0.014849023818969726,
0.01487564754486084,
0.01460531234741211,
0.013993984222412109,
0.014070783615112305,
0.013942784309387207,
0.013864959716796875,
0.013889535903930664,
0.014840895652770997,
0.014466048240661621,
0.014484479904174804,
0.014509056091308594,
0.013971455574035644,
0.014442496299743653,
0.014294015884399413,
0.014017536163330077,
0.014028800010681153,
0.014244864463806153,
0.014518272399902344,
0.013883392333984374,
0.013936639785766602,
0.014358528137207031,
0.014515199661254884,
0.014623744010925293,
0.014748671531677245,
0.014350336074829101,
0.01562112045288086,
0.014394368171691894,
0.014077887535095215,
0.014158847808837891,
0.013942784309387207,
0.013972448348999024,
0.013944831848144532,
0.013944831848144532,
0.013933568000793458,
0.014429183959960937,
0.014041088104248046,
0.013959168434143066,
0.013930496215820312,
0.013971455574035644,
0.013915136337280273,
0.013577216148376465,
0.013417471885681152,
0.013438976287841797,
0.013485055923461914,
0.013576128005981446,
0.013480959892272949,
0.013455360412597657,
0.013408255577087403,
0.013411328315734864
]
},
"throughput": {
"unit": "samples/s",
"value": 69.27646325527756
},
"energy": {
"unit": "kWh",
"cpu": 1.6142207088771167e-07,
"ram": 8.822808896257883e-08,
"gpu": 3.342232403513545e-07,
"total": 5.838734002016451e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1712700.0470558214
}
}
}
}