That might be possible, but also 8GB might not be enough for a full workload.
If you keep the batch size low, it could fit without using the swap.
The CPU run will be slower than running it on the GPU. However, if you run out of your system RAM and use the swap, you will see an even bigger performance hit.