Wow 25ms, what CPU have you got in that system, 25ms is amazing!!! With those times, just stick with the CPU. Joking aside, you've either looked at the wrong times from the logs or are passing very small and basic images to the AI - 25ms is Cuda RTX 4090 territory.
BTW for you 3050 you should...