i change my pytorch model into libtorch one and runs it in VS2017. However, i  found the consumption of GPU is about 1G which is same as pytorch model run in the python. It is strange that the CPU utility has reached about 100% and never decreased until the program is over.
How should i to slove the p[roblem and decrease the pre-consumption of CPU resource?
Can anyone help me? thanks!