IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
e1832f1 verified
raw
history blame
9.08 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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 708.190208,
"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.18128857421875,
"mean": 7.18128857421875,
"stdev": 0.0,
"p50": 7.18128857421875,
"p90": 7.18128857421875,
"p95": 7.18128857421875,
"p99": 7.18128857421875,
"values": [
7.18128857421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0757363504833647e-06,
"ram": 5.740977431793226e-07,
"gpu": 1.8650014920046365e-06,
"total": 3.5148355856673235e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.507008,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 73,
"total": 1.0084702425003051,
"mean": 0.013814660856168564,
"stdev": 0.00043438161193976537,
"p50": 0.01363657569885254,
"p90": 0.014245068931579589,
"p95": 0.014325555229187012,
"p99": 0.015848734664916993,
"values": [
0.01577676773071289,
0.014450688362121582,
0.013873151779174805,
0.013510656356811524,
0.013545472145080567,
0.013485055923461914,
0.014064640045166015,
0.014260255813598632,
0.014314496040344238,
0.013499391555786134,
0.013562879562377929,
0.013615103721618652,
0.01358233642578125,
0.013591551780700683,
0.013675552368164062,
0.014201855659484864,
0.013434880256652832,
0.013450240135192871,
0.013492223739624023,
0.013576191902160644,
0.013856767654418945,
0.013697024345397948,
0.014116864204406738,
0.01376153564453125,
0.01367955207824707,
0.013546496391296388,
0.01348198413848877,
0.013569024085998535,
0.013755392074584961,
0.013867008209228515,
0.014292991638183594,
0.014204928398132324,
0.01386393642425537,
0.013810688018798829,
0.013791232109069825,
0.013585439682006836,
0.013486080169677735,
0.014110719680786133,
0.01603379249572754,
0.014342144012451171,
0.013897727966308594,
0.014050304412841797,
0.014065664291381836,
0.014150655746459961,
0.014255104064941406,
0.01407590389251709,
0.013690879821777344,
0.013624320030212403,
0.013641728401184081,
0.013691904067993164,
0.01358847999572754,
0.01357420825958252,
0.01355673599243164,
0.013617152214050294,
0.013618207931518555,
0.013632512092590332,
0.013921279907226563,
0.013615103721618652,
0.013729791641235351,
0.01363657569885254,
0.013922304153442382,
0.013711359977722168,
0.013607935905456543,
0.0135731201171875,
0.013570112228393555,
0.013613056182861329,
0.013570048332214356,
0.013583423614501954,
0.013596672058105469,
0.013516799926757812,
0.013565952301025391,
0.01360588836669922,
0.01358233642578125
]
},
"throughput": {
"unit": "samples/s",
"value": 72.38686569373702
},
"energy": {
"unit": "kWh",
"cpu": 1.5801083379321629e-07,
"ram": 8.639124426173717e-08,
"gpu": 3.585225090400416e-07,
"total": 6.029245870949952e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1658582.2197402653
}
}
}
}