IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
2513fbe 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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 707.530752,
"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.1752333984375,
"mean": 7.1752333984375,
"stdev": 0.0,
"p50": 7.1752333984375,
"p90": 7.1752333984375,
"p95": 7.1752333984375,
"p99": 7.1752333984375,
"values": [
7.1752333984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.064939300219218e-06,
"ram": 5.678930656017656e-07,
"gpu": 1.8180570100015392e-06,
"total": 3.4508893758225227e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.847552,
"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.001617406845093,
"mean": 0.013720786395138256,
"stdev": 0.00034602719458700726,
"p50": 0.013563839912414551,
"p90": 0.014295449638366698,
"p95": 0.01442880001068115,
"p99": 0.014790574035644532,
"values": [
0.014757887840270996,
0.014400447845458984,
0.013563839912414551,
0.013526016235351563,
0.013476863861083984,
0.01334988784790039,
0.013635583877563476,
0.013454272270202636,
0.01358131217956543,
0.01344819164276123,
0.01346457576751709,
0.013594623565673827,
0.013635583877563476,
0.013667327880859375,
0.013666303634643554,
0.013522944450378417,
0.013360128402709961,
0.013410240173339845,
0.01338368034362793,
0.013456416130065919,
0.013717503547668456,
0.013999103546142578,
0.013470720291137696,
0.013527135848999023,
0.013512703895568847,
0.01349836826324463,
0.01338368034362793,
0.013459456443786622,
0.013619199752807617,
0.013741056442260742,
0.013434880256652832,
0.013403136253356934,
0.014874624252319337,
0.014552063941955566,
0.014362624168395996,
0.014160896301269531,
0.014416895866394042,
0.014079999923706055,
0.013897727966308594,
0.014086208343505859,
0.013802495956420899,
0.013720576286315917,
0.014030847549438476,
0.014314496040344238,
0.014446656227111816,
0.014036992073059081,
0.013876223564147949,
0.014219264030456542,
0.013944831848144532,
0.013602879524230957,
0.013534208297729493,
0.013896703720092773,
0.013559807777404785,
0.013496319770812988,
0.013496319770812988,
0.013527039527893067,
0.013554688453674316,
0.013517824172973633,
0.013673439979553222,
0.013663264274597168,
0.013508607864379883,
0.013516799926757812,
0.013544447898864746,
0.013542400360107423,
0.013511679649353027,
0.0135382080078125,
0.013586432456970214,
0.013789183616638183,
0.013517855644226074,
0.013504511833190918,
0.013535231590270995,
0.013577216148376465,
0.013475839614868163
]
},
"throughput": {
"unit": "samples/s",
"value": 72.88211996029136
},
"energy": {
"unit": "kWh",
"cpu": 1.6327039473314448e-07,
"ram": 8.8888495083646e-08,
"gpu": 3.6654519430138003e-07,
"total": 6.187040841181705e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1616281.5563522337
}
}
}
}