IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
d805f80 verified
raw
history blame
9.07 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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.358144,
"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.2087021484375,
"mean": 7.2087021484375,
"stdev": 0.0,
"p50": 7.2087021484375,
"p90": 7.2087021484375,
"p95": 7.2087021484375,
"p99": 7.2087021484375,
"values": [
7.2087021484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0990226111108905e-06,
"ram": 5.77051209203168e-07,
"gpu": 1.7744458639997601e-06,
"total": 3.4505196843138186e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 990.695424,
"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.0005381441116334,
"mean": 0.013706001974131962,
"stdev": 0.00044227647212125964,
"p50": 0.013509599685668946,
"p90": 0.014278041458129883,
"p95": 0.014611046791076658,
"p99": 0.015165194511413575,
"values": [
0.01547264003753662,
0.015045632362365722,
0.014322688102722168,
0.013935615539550781,
0.014285823822021485,
0.013625344276428223,
0.013725695610046386,
0.014866432189941407,
0.01449062442779541,
0.01349120044708252,
0.013771776199340821,
0.013596672058105469,
0.013759488105773926,
0.013503487586975099,
0.014229567527770996,
0.0134717435836792,
0.013509599685668946,
0.013426688194274903,
0.013504511833190918,
0.013737983703613281,
0.013736960411071777,
0.014087136268615724,
0.01368883228302002,
0.01370419216156006,
0.013538304328918458,
0.013532159805297851,
0.013445119857788086,
0.013708288192749024,
0.013485055923461914,
0.013648896217346192,
0.013436927795410156,
0.013705216407775878,
0.014451711654663087,
0.013774847984313965,
0.013522944450378417,
0.01348300838470459,
0.013642751693725585,
0.013360128402709961,
0.01345740795135498,
0.013297663688659669,
0.01314406394958496,
0.013577216148376465,
0.014007295608520508,
0.014133248329162598,
0.014246912002563476,
0.01399500846862793,
0.01385267162322998,
0.014126079559326172,
0.013489151954650879,
0.013478912353515626,
0.01344921588897705,
0.013435903549194337,
0.013492223739624023,
0.0133887996673584,
0.013447168350219727,
0.013429759979248047,
0.013417471885681152,
0.01343283176422119,
0.013472767829895019,
0.013096927642822265,
0.013026304244995117,
0.014791680335998534,
0.013707263946533203,
0.013475839614868163,
0.013502464294433594,
0.013462528228759766,
0.013437952041625977,
0.01346457576751709,
0.013414400100708008,
0.013406208038330078,
0.013422592163085938,
0.013405183792114257,
0.013426752090454101
]
},
"throughput": {
"unit": "samples/s",
"value": 72.96073660921333
},
"energy": {
"unit": "kWh",
"cpu": 1.5960315511110757e-07,
"ram": 8.725728750889472e-08,
"gpu": 3.785151176266659e-07,
"total": 6.253755602466682e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1599039.14314395
}
}
}
}