IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
f86311a verified
raw
history blame
9.2 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.293824,
"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.592192,
"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.18907470703125,
"mean": 7.18907470703125,
"stdev": 0.0,
"p50": 7.18907470703125,
"p90": 7.18907470703125,
"p95": 7.18907470703125,
"p99": 7.18907470703125,
"values": [
7.18907470703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0946565204196507e-06,
"ram": 5.834850508120818e-07,
"gpu": 1.6983346919985723e-06,
"total": 3.376476263230305e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 989.933568,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 76,
"total": 1.00853577709198,
"mean": 0.013270207593315528,
"stdev": 0.000506099929157819,
"p50": 0.013051392078399657,
"p90": 0.01371446418762207,
"p95": 0.014106640338897705,
"p99": 0.015261208057403565,
"values": [
0.015569919586181641,
0.015158304214477539,
0.015156224250793457,
0.013361151695251466,
0.01306931209564209,
0.013009920120239257,
0.013095935821533204,
0.013049856185913086,
0.013058048248291015,
0.013022208213806152,
0.01305292797088623,
0.013032447814941407,
0.013025279998779296,
0.013007871627807617,
0.01306931209564209,
0.012930047988891602,
0.013203519821166992,
0.013210623741149903,
0.0130764799118042,
0.013034496307373047,
0.012993535995483398,
0.013035519599914551,
0.01298739242553711,
0.013012991905212403,
0.012975104331970215,
0.012980223655700684,
0.013005824089050292,
0.013101056098937988,
0.012915648460388184,
0.012902400016784669,
0.013094880104064942,
0.013044735908508302,
0.012996607780456543,
0.01304576015472412,
0.013028351783752442,
0.013007871627807617,
0.013014016151428222,
0.013005824089050292,
0.013081600189208984,
0.013433856010437012,
0.01427564811706543,
0.013590527534484862,
0.013520895957946777,
0.013039615631103516,
0.012990495681762696,
0.013089792251586914,
0.013034496307373047,
0.013009920120239257,
0.013468671798706054,
0.013950016021728516,
0.013928447723388672,
0.014050304412841797,
0.013715519905090331,
0.013587455749511718,
0.013487104415893555,
0.013517824172973633,
0.013516799926757812,
0.013713408470153808,
0.01356390380859375,
0.01350656032562256,
0.013540351867675781,
0.013466624259948731,
0.013005824089050292,
0.012950528144836425,
0.012959744453430176,
0.013002752304077148,
0.012918784141540527,
0.012967935562133789,
0.01296076774597168,
0.013009920120239257,
0.01307545566558838,
0.013023232460021973,
0.013095935821533204,
0.013006848335266113,
0.01306931209564209,
0.01306726360321045
]
},
"throughput": {
"unit": "samples/s",
"value": 75.35677139698404
},
"energy": {
"unit": "kWh",
"cpu": 1.5475631921322316e-07,
"ram": 8.457112373260101e-08,
"gpu": 3.39278770701311e-07,
"total": 5.786062136471351e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1728291.1527974936
}
}
}
}