IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
5601f96 verified
raw
history blame
7.74 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 975.495168,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.607168
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.003455588340759,
"mean": 0.014542834613634191,
"stdev": 0.001093338809788534,
"p50": 0.014213120460510254,
"p90": 0.014737613105773926,
"p95": 0.01644195861816406,
"p99": 0.019802685775756827,
"values": [
0.020800512313842775,
0.019333120346069335,
0.015057920455932617,
0.01448857593536377,
0.014131199836730958,
0.014133248329162598,
0.014028800010681153,
0.014044159889221192,
0.014339072227478027,
0.014162943840026856,
0.014072832107543945,
0.01428377628326416,
0.014255104064941406,
0.014156800270080566,
0.014187520027160644,
0.014147551536560058,
0.01397766399383545,
0.014084063529968261,
0.01406668758392334,
0.01418239974975586,
0.014320639610290528,
0.014420991897583007,
0.014121983528137207,
0.014239744186401367,
0.014235648155212402,
0.01415782356262207,
0.014109696388244629,
0.01408512020111084,
0.014359552383422852,
0.014036992073059081,
0.014058496475219727,
0.014087136268615724,
0.014163968086242675,
0.014525440216064453,
0.014467071533203125,
0.014186495780944825,
0.014147616386413575,
0.014569472312927247,
0.014692352294921876,
0.014523391723632812,
0.014578687667846679,
0.01452444839477539,
0.01470464038848877,
0.014869503974914551,
0.01665126419067383,
0.0169932804107666,
0.016128000259399415,
0.014520319938659668,
0.014397439956665039,
0.014222335815429688,
0.014247936248779297,
0.014264320373535156,
0.014213120460510254,
0.014185536384582519,
0.014220288276672363,
0.014210047721862793,
0.014626815795898437,
0.01419878387451172,
0.014231552124023437,
0.014186495780944825,
0.014213120460510254,
0.014187520027160644,
0.014246912002563476,
0.014213120460510254,
0.014206975936889648,
0.01417523193359375,
0.01420902442932129,
0.014193663597106934,
0.014191616058349609
]
},
"throughput": {
"unit": "samples/s",
"value": 68.7623855023752
},
"energy": {
"unit": "kWh",
"cpu": 1.7016512297448659e-07,
"ram": 9.296225898132043e-08,
"gpu": 3.4160741614284956e-07,
"total": 6.047347980986566e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1653617.4255956404
}
}
}
}