
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
1e07ed2
verified
{ | |
"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": {}, | |
"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", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 977.772544, | |
"max_global_vram": 1434.976256, | |
"max_process_vram": 0.0, | |
"max_reserved": 794.820608, | |
"max_allocated": 753.607168 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 73, | |
"total": 1.0037759685516363, | |
"mean": 0.013750355733584053, | |
"stdev": 0.0005961262034134148, | |
"p50": 0.013675519943237305, | |
"p90": 0.013995622062683106, | |
"p95": 0.01482690563201903, | |
"p99": 0.01621843948364258, | |
"values": [ | |
0.01643519973754883, | |
0.016134143829345703, | |
0.01572454357147217, | |
0.015904735565185547, | |
0.013771776199340821, | |
0.013461503982543945, | |
0.013385727882385253, | |
0.013410304069519043, | |
0.013352959632873536, | |
0.01337548828125, | |
0.013340671539306641, | |
0.013339648246765137, | |
0.013347840309143067, | |
0.013407232284545899, | |
0.013336576461791993, | |
0.013376511573791505, | |
0.013376480102539062, | |
0.013364224433898926, | |
0.013334527969360351, | |
0.01335807991027832, | |
0.01333350372314453, | |
0.013574144363403321, | |
0.013389823913574218, | |
0.013342783927917481, | |
0.013339648246765137, | |
0.01336627197265625, | |
0.01338368034362793, | |
0.013367327690124511, | |
0.013399040222167969, | |
0.013477888107299805, | |
0.013419520378112794, | |
0.013369343757629394, | |
0.014133248329162598, | |
0.014113792419433594, | |
0.014228480339050293, | |
0.013965312004089356, | |
0.014003199577331543, | |
0.013834239959716797, | |
0.013806591987609864, | |
0.013832192420959472, | |
0.013710335731506347, | |
0.013811712265014648, | |
0.013707263946533203, | |
0.013729791641235351, | |
0.013660160064697266, | |
0.013936608314514161, | |
0.013806591987609864, | |
0.013774815559387208, | |
0.0136878080368042, | |
0.013651968002319336, | |
0.013711359977722168, | |
0.013659135818481445, | |
0.013685759544372558, | |
0.013700096130371094, | |
0.013715456008911133, | |
0.013661184310913087, | |
0.013675519943237305, | |
0.0136878080368042, | |
0.013627391815185547, | |
0.013723648071289063, | |
0.013731840133666993, | |
0.013694975852966309, | |
0.01365503978729248, | |
0.013674495697021484, | |
0.013731840133666993, | |
0.013669376373291015, | |
0.013730815887451172, | |
0.013675519943237305, | |
0.01375641632080078, | |
0.013700096130371094, | |
0.013743103981018067, | |
0.013722623825073242, | |
0.013747200012207032 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 72.72539120988606 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6954305679398898e-07, | |
"ram": 9.219975320970203e-08, | |
"gpu": 3.690652404788694e-07, | |
"total": 6.308080504825604e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1585268.2907819776 | |
} | |
} | |
} | |
} |