IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
3070be4 verified
raw
history blame
8.92 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 773.136384,
"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.41684619140625,
"mean": 7.41684619140625,
"stdev": 0.0,
"p50": 7.41684619140625,
"p90": 7.41684619140625,
"p95": 7.41684619140625,
"p99": 7.41684619140625,
"values": [
7.41684619140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.062419875695279e-06,
"ram": 5.663427974896961e-07,
"gpu": 1.7227791559992767e-06,
"total": 3.3515418291842517e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.835072,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0026451520919797,
"mean": 0.014531089160753331,
"stdev": 0.0003961955860307862,
"p50": 0.014575551986694336,
"p90": 0.015001190185546876,
"p95": 0.015074284553527832,
"p99": 0.015426600990295409,
"values": [
0.014964735984802247,
0.014999551773071289,
0.014849023818969726,
0.014641152381896973,
0.014567423820495605,
0.014877535820007325,
0.014566399574279786,
0.014624768257141114,
0.015337471961975097,
0.014741503715515136,
0.01460428810119629,
0.01528217601776123,
0.015046655654907226,
0.014693344116210937,
0.014636927604675293,
0.014771231651306152,
0.01449062442779541,
0.014520319938659668,
0.014575551986694336,
0.01459712028503418,
0.01498624038696289,
0.01497599983215332,
0.014731264114379883,
0.01477017593383789,
0.014995424270629883,
0.01481110382080078,
0.014510944366455078,
0.014691328048706055,
0.015007743835449219,
0.01448259162902832,
0.014542847633361817,
0.014674752235412598,
0.01467801570892334,
0.015092703819274902,
0.014819328308105468,
0.014762047767639161,
0.014642175674438476,
0.014599167823791503,
0.014541824340820313,
0.014493696212768555,
0.014442496299743653,
0.01450598430633545,
0.014301183700561524,
0.014419967651367188,
0.014586879730224609,
0.014532544136047364,
0.014732288360595704,
0.015616000175476074,
0.015017984390258789,
0.01420083236694336,
0.014051327705383301,
0.013997088432312012,
0.014167039871215821,
0.014051327705383301,
0.01399295997619629,
0.013951071739196777,
0.01407795238494873,
0.014031007766723632,
0.014003199577331543,
0.013903840065002442,
0.014102527618408203,
0.013946880340576171,
0.013979488372802735,
0.014054400444030762,
0.013938624382019043,
0.013972607612609864,
0.013944992065429688,
0.013952960014343261,
0.013972512245178223
]
},
"throughput": {
"unit": "samples/s",
"value": 68.8179660132343
},
"energy": {
"unit": "kWh",
"cpu": 1.6573264517747326e-07,
"ram": 9.049640667635133e-08,
"gpu": 3.6864998627777573e-07,
"total": 6.248790381316003e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1600309.7223264494
}
}
}
}